/* AVIM portal — v7 Radiant LIGHT customizations */

.form-input {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.7rem 0.9rem;
  background: #FFFFFF;
  border: 1px solid #E5E5EB;
  border-radius: 0.6rem;
  font-size: 0.95rem;
  color: #08080F;
  transition: border-color 150ms cubic-bezier(0.16, 1, 0.3, 1);
}
.form-input:focus {
  outline: none;
  border-color: #5847CC;
  box-shadow: 0 0 0 3px rgba(88, 71, 204, 0.12);
}
.form-input::placeholder {
  color: #9999A3;
}

textarea.form-input { min-height: 5.5rem; resize: vertical; }
select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236A6A75' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 0.75rem;
  padding-right: 2.25rem;
}

/* Tailwind typography theme overrides for the contract preview */
.prose h1, .prose h2, .prose h3 { color: #08080F; letter-spacing: -0.01em; }
.prose h2 { color: #5847CC; }
.prose strong { color: #08080F; }
.prose a { color: #5847CC; }
.prose table { font-size: 0.9rem; }
.prose th { color: #6A6A75; font-weight: 600; }
.prose td, .prose th { border-color: #E5E5EB; }

/* Hide scrollbar visually noise but keep functional */
#contract-scroll {
  scroll-behavior: smooth;
}
#contract-scroll::-webkit-scrollbar { width: 6px; }
#contract-scroll::-webkit-scrollbar-thumb { background: #E5E5EB; border-radius: 3px; }
#contract-scroll::-webkit-scrollbar-thumb:hover { background: #6A6A75; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
