/* ════════════════════════════════════════════════════════════════
   OTP MODALS  (theme: green)
   Two separate modals with distinct class/id prefixes:
     osav-  →  Schedule A Visit form
     oenq-  →  Enquire Now form
   Rules are grouped so both prefixes stay independent but consistent.
   ════════════════════════════════════════════════════════════════ */

/* overlay */
.osav-overlay, .oenq-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(18, 28, 20, 0.55);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.osav-overlay.open, .oenq-overlay.open { opacity: 1; visibility: visible; }

/* card */
.osav-card, .oenq-card {
  position: relative; background: #fff; width: 100%; max-width: 420px;
  border-radius: 16px; padding: 42px 34px 30px; text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.3s ease;
  font-family: 'Roboto', sans-serif;
}
.osav-overlay.open .osav-card,
.oenq-overlay.open .oenq-card { transform: translateY(0) scale(1); }

/* close button */
.osav-close, .oenq-close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: none; font-size: 24px; line-height: 1;
  color: #9a9a92; cursor: pointer; transition: color 0.2s ease;
}
.osav-close:hover, .oenq-close:hover { color: #1f5e34; }

/* phone icon */
.osav-icon, .oenq-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: #e8f1ec; display: flex; align-items: center; justify-content: center;
  margin: 4px auto 18px;
}
.osav-icon svg, .oenq-icon svg {
  width: 28px; height: 28px; stroke: #0d6b3b; fill: none;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

/* heading + subtitle */
.osav-title, .oenq-title {
  font-family: "Source Serif 4", serif; font-size: 26px; font-weight: 700;
  color: #1a2b20; margin-bottom: 8px;
}
.osav-sub, .oenq-sub { color: #9a9a92; font-size: 14px; margin-bottom: 26px; }

/* otp boxes */
.osav-boxes, .oenq-boxes {
  display: flex; justify-content: center; gap: 14px; margin-bottom: 26px;
}
.osav-boxes input, .oenq-boxes input {
  width: 60px; height: 60px; border: 1.5px solid #e2dccf; border-radius: 10px;
  background: #faf7f2; text-align: center; font-size: 24px; font-weight: 600;
  color: #1a2b20; outline: none; font-family: 'Roboto', sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.osav-boxes input:focus, .oenq-boxes input:focus,
.osav-boxes input.filled, .oenq-boxes input.filled {
  border-color: #1f5e34; background: #fff;
  box-shadow: 0 0 0 3px rgba(31, 94, 52, 0.12);
}

/* verify button */
.osav-verify, .oenq-verify {
  width: 100%; background: #1f5e34; color: #fff; border: none; border-radius: 8px;
  font-weight: 700; font-size: 16px; padding: 16px; cursor: pointer; margin-bottom: 18px;
  font-family: 'Roboto', sans-serif; transition: background 0.2s ease;
}
.osav-verify:hover, .oenq-verify:hover { background: #133f23; }

/* resend + timer */
/* .osav-resend, .oenq-resend {
  background: none; border: none; color: #1f5e34; font-weight: 600; font-size: 14px;
  cursor: pointer; opacity: 0.45; pointer-events: none; font-family: 'Roboto', sans-serif;
} */
.osav-resend, .oenq-resend{
    background:none; border:none; color:#1f5e34; font-weight:600; font-size:14px;
    cursor:pointer; font-family:'Roboto',sans-serif;    transition:.25s;
}
.osav-resend.active, .oenq-resend.active { opacity: 1; pointer-events: auto; text-decoration: underline; }
.osav-resend:disabled, .oenq-resend:disabled{ opacity:.45; cursor:not-allowed;}
.osav-resend:not(:disabled),.oenq-resend:not(:disabled){ opacity:1;    text-decoration:underline;}
.osav-timer, .oenq-timer { color: #9a9a92; font-size: 13px; margin-top: 10px; }
.osav-timer b, .oenq-timer b { color: #1f5e34; font-weight: 700; }

/* responsive */
@media (max-width: 767px) {
  .osav-card, .oenq-card { padding: 34px 22px 26px; }
  .osav-title, .oenq-title { font-size: 23px; }
  .osav-boxes input, .oenq-boxes input { width: 54px; height: 54px; font-size: 22px; }
}
