/* Form Styling */
#qcvt form table {
  width: 100%;
  border-collapse: collapse;
}

#qcvt form table td {
  box-sizing: border-box;
}

#qcvt form table input,
#qcvt form table select {
  width: 100%;
  box-sizing: border-box;
  padding: 6px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.85em;
}

#qcvt form table input:focus,
#qcvt form table select:focus {
  border-color: #2196f3;
  outline: none;
}

/* Toggle button styling */
#toggleResultsBtn {
  width: 100%;
  margin: 10px 0;
  padding: 8px;
  background: #2196f3;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9em;
  font-weight: 500;
}

/* Ad Space Styling */
@media (min-width: 1400px) {
  .ad-space-left,
  .ad-space-right {
    display: block !important;
  }
}

/* Marquee Styling */
#marqueeContainer {
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2px;
  overflow: hidden;
  border-bottom: 2px solid #667eea;
  position: relative;
  font-weight: 600;
  letter-spacing: 0.5px;
}

#marqueeText {
  white-space: nowrap;
  display: inline-block;
  padding-left: 100%;
  animation: scroll 120s linear infinite;
}

#marqueeText a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  display: inline-block;
  transition: all 0.3s ease;
  padding: 5px 10px;
  border-radius: 4px;
}

#marqueeText a:hover {
  background: rgba(255, 255, 255, 0.2);
  text-decoration: underline;
  transform: scale(1.05);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
