/* ==========================================================
   style-pr.css  —  Sanavya Auth Pages Combined CSS
   Pages: Login | Register | Forgot Password
   ========================================================== */

/* ===== CSS VARIABLES ===== */
:root {
  --primary-color: #004c62;
  --secondary-color: #f25c5f;
  --text-color: #000000;
  --white-color: #ffffff;
  --border-color: #e5e5e5;
  --shadow-color: rgba(0, 0, 0, 0.08);
}


/* ============================================================
   SECTION 1 — SHARED / COMMON STYLES
   ============================================================ */

body {
  font-family: "Poppins", sans-serif;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

a { text-decoration: none; }

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: #333;
  margin-bottom: 6px;
  display: block;
}

.form-control {
  border-radius: 10px;
  border: 1.5px solid var(--border-color);
  padding: 11px 16px;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  transition: border-color 0.3s;
  background: #fff;
}

.form-control:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px rgba(0, 76, 98, 0.12) !important;
  outline: none;
}

.input-group .form-control {
  border-right: none;
  border-radius: 10px 0 0 10px !important;
}

.input-group .form-control.with-toggle {
  border-radius: 10px 0 0 10px !important;
  border-right: none;
}

.btn-eye {
  border: 1.5px solid var(--border-color);
  border-left: none;
  border-radius: 0 10px 10px 0 !important;
  background: #fff;
  color: #999;
  padding: 0 14px;
  cursor: pointer;
  transition: color 0.2s;
}

.btn-eye:hover { color: var(--primary-color); }

.btn-primary-custom {
  background: var(--secondary-color);
  border: none;
  color: #fff;
  padding: 13px 22px;
  font-weight: 600;
  border-radius: 10px !important;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  width: 100%;
  transition: all 0.3s;
  display: block;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  margin-top: 6px;
}

.btn-primary-custom:hover {
  background: #d94b4e;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(242, 92, 95, 0.35);
  color: #fff;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: #bbb;
  font-size: 13px;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-color);
}


.auth-footer-txt {
  text-align: center;
  font-size: 13px;
  color: #777;
  margin-top: 22px;
}

.auth-footer-txt a {
  color: var(--secondary-color);
  font-weight: 600;
  text-decoration: none;
}

.auth-footer-txt a:hover { text-decoration: underline; }

.mobile-logo {
  text-align: center;
  margin-bottom: 20px;
}

.mobile-logo img {
  width: 100px;
  border-radius: 10px;
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check-label { font-size: 13px; }


/* ============================================================
   SECTION 2 — LOGIN & REGISTER SPLIT LAYOUT
   ============================================================ */

body.page-login,
body.page-register {
  display: flex;
  align-items: stretch;
}


.auth-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 40px;
}

.auth-card {
  background: #fff;
  border-radius: 20px;
  padding: 44px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);
}
.page-register .auth-card {
    max-width: 700px;
}
.card-head { 
  margin-bottom: 28px; 
  text-align: center;
}

.card-head h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.card-head p {
  font-size: 14px;
  color: #777;
}


/* ============================================================
   SECTION 3 — LOGIN PAGE SPECIFIC
   ============================================================ */

.remember-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  margin-top: 4px;
}

.forgot-link {
  font-size: 13px;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
}

.forgot-link:hover { text-decoration: underline; }


/* ============================================================
   SECTION 4 — REGISTER PAGE SPECIFIC
   ============================================================ */


.input-group-text {
  border-radius: 10px 0 0 10px !important;
  border: 1.5px solid var(--border-color);
  border-right: none;
  background: #f9f9f9;
  font-size: 13px;
  font-family: "Poppins", sans-serif;
  color: #555;
}

.input-group .form-control.phone-input {
  border-radius: 0 10px 10px 0 !important;
  border-left: none;
}

.password-strength {
  height: 4px;
  border-radius: 10px;
  background: #eee;
  margin-top: 8px;
  overflow: hidden;
}

.strength-bar {
  height: 100%;
  border-radius: 10px;
  width: 0;
  transition: width 0.4s ease, background 0.4s ease;
}

.strength-text {
  font-size: 11px;
  color: #999;
  margin-top: 4px;
}

.terms-link {
  color: var(--secondary-color);
  font-weight: 600;
  text-decoration: none;
}

.terms-link:hover { text-decoration: underline; }


/* ============================================================
   SECTION 5 — FORGOT PASSWORD PAGE SPECIFIC
   ============================================================ */

body.page-forgot,
body.page-login,
body.page-register {
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

body.page-forgot::before,
body.page-login::before,
body.page-register::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 100px solid rgba(255, 255, 255, 0.03);
  top: -200px;
  right: -200px;
}

body.page-forgot::after,
body.page-login::after,
body.page-register::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 70px solid rgba(255, 255, 255, 0.05);
  bottom: -120px;
  left: -120px;
}

.fp-card {
  background: #fff;
  border-radius: 24px;
  padding: 48px 44px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
  position: relative;
  z-index: 1;
  text-align: center;
}

.fp-card .logo-wrap,
.auth-card .logo-wrap{ 
  margin-bottom: 24px;
  text-align: center;
}

.fp-card .logo-wrap img,
.auth-card .logo-wrap img {
  width: 120px;
  border-radius: 10px;
}

.step-indicator {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  transition: all 0.3s ease;
}

.step-dot.active {
  background: var(--secondary-color);
  width: 28px;
  border-radius: 5px;
}

.fp-icon-wrap {
  width: 76px;
  height: 76px;
  background: linear-gradient(135deg, var(--primary-color), #006880);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 10px 28px rgba(0, 76, 98, 0.3);
}

.fp-icon-wrap i { font-size: 34px; color: #fff; }
.fp-icon-wrap.danger { background: linear-gradient(135deg, #f25c5f, #d94b4e); }
.fp-icon-wrap.key { background: linear-gradient(135deg, #006880, var(--primary-color)); }

.fp-icon-wrap.success {
  background: linear-gradient(135deg, #198754, #12653f);
  width: 90px;
  height: 90px;
  border-radius: 50%;
}

.fp-icon-wrap.success i { font-size: 44px; }

.fp-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.fp-card h3.success-title { color: #198754; }

.fp-card .subtitle {
  font-size: 14px;
  color: #777;
  line-height: 1.6;
  margin-bottom: 28px;
}

.text-start-wrap {
  text-align: left;
  margin-bottom: 16px;
}

.pw-group .form-control {
  border-radius: 10px 0 0 10px !important;
  border-right: none;
}

.otp-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 10px;
}

.otp-inputs input {
  width: 50px;
  height: 54px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  transition: border-color 0.2s;
  outline: none;
  color: var(--primary-color);
}

.otp-inputs input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 76, 98, 0.1);
}

.resend-txt {
  font-size: 13px;
  color: #999;
  margin-bottom: 24px;
}

.resend-txt a {
  color: var(--secondary-color);
  font-weight: 600;
  text-decoration: none;
}

.resend-txt a:hover { text-decoration: underline; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  margin-top: 20px;
  transition: gap 0.2s, color 0.2s;
}

.back-link:hover { gap: 12px; color: var(--secondary-color); }

.step { display: none; }
.step.active { display: block; }


/* ============================================================
   SECTION 6 — RESPONSIVE
   ============================================================ */

@media (max-width: 991px) {
  .auth-left { display: none !important; }

  .auth-card { border-radius: 20px; }
}
@media (max-width: 767px){
  body.page-forgot::before, body.page-login::before, body.page-register::before,
  body.page-forgot::after, body.page-login::after, body.page-register::after{
    content: unset;
  }
}
@media (max-width: 576px) {
  .auth-card { padding: 28px 20px; }
  .fp-card { padding: 36px 22px; }
  .fp-card h3 { font-size: 20px; }
  .otp-inputs input { width: 42px; height: 48px; font-size: 18px; }
}


/* ============================================================
   SECTION 7 — FAQ PAGE
   ============================================================ */

/* ---- Page Banner (shared: FAQ & Contact) ---- */
.page-banner {
  background: var(--primary-color);
  padding: 48px 0 36px;
}
.page-banner h1 {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
}
.page-banner .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}
.page-banner .breadcrumb-item.active {
  color: var(--secondary-color);
}
.page-banner .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* ---- FAQ Main Section ---- */
.faq-section {
  padding: 60px 0;
  background: #f8f9fa;
}

/* ---- FAQ Search Bar ---- */
.faq-search-wrap {
  max-width: 560px;
  margin: 0 auto 48px;
}
.faq-search-wrap .form-control {
  border-radius: 30px 0 0 30px !important;
  padding: 12px 20px;
  border-color: var(--border-color);
  border-right: none;
}
.faq-search-wrap .btn {
  border-radius: 0 30px 30px 0 !important;
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #fff;
  padding: 12px 24px !important;
}
.faq-search-wrap .btn:hover {
  background: #d94a4d;
}

/* ---- FAQ Category Title ---- */
.faq-category-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary-color);
  margin-bottom: 20px;
}

/* ---- Accordion ---- */
.faq-section .accordion-item {
  border: none;
  border-radius: 8px !important;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px var(--shadow-color);
  overflow: hidden;
}
.faq-section .accordion-button {
  font-weight: 500;
  color: var(--primary-color);
  background: #fff;
  font-size: 0.95rem;
  padding: 16px 20px;
}
.faq-section .accordion-button:not(.collapsed) {
  color: #fff;
  background: var(--primary-color);
  box-shadow: none;
}
.faq-section .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}
.faq-section .accordion-body {
  background: #fff;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.7;
  padding: 16px 20px;
}

/* ---- FAQ CTA Section ---- */
.faq-cta {
  background: var(--primary-color);
  padding: 48px 0;
  text-align: center;
}
.faq-cta h3 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 8px;
}
.faq-cta p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}
.faq-cta .btn-contact {
  background: var(--secondary-color);
  color: #fff;
  border: none;
  padding: 12px 36px !important;
  border-radius: 30px !important;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}
.faq-cta .btn-contact:hover {
  background: #d94a4d;
  color: #fff;
}


/* ============================================================
   SECTION 8 — CONTACT PAGE
   ============================================================ */

/* ---- Contact Info Cards Strip ---- */
.contact-info-section {
  background: var(--primary-color);
  padding: 0 0 60px;
}
.contact-info-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  height: 100%;
  transition: transform 0.2s;
}
.contact-info-card:hover {
  transform: translateY(-4px);
}
.contact-info-card .icon-circle {
  width: 60px;
  height: 60px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
  color: #fff;
}
.contact-info-card h6 {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 8px;
  font-size: 1rem;
}
.contact-info-card p,
.contact-info-card a {
  color: #666;
  font-size: 0.9rem;
  text-decoration: none;
  margin: 0;
}
.contact-info-card a:hover {
  color: var(--secondary-color);
}

/* ---- Contact Main Section ---- */
.contact-main-section {
  padding: 60px 0;
  background: #f8f9fa;
}

/* ---- Contact Form Card ---- */
.contact-form-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px 36px;
  box-shadow: 0 4px 20px var(--shadow-color);
}
.contact-form-card h3 {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 6px;
}
.contact-form-card .sub {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 28px;
}
.contact-form-card .form-label {
  font-weight: 500;
  font-size: 0.9rem;
  color: #444;
}
.contact-form-card .form-control,
.contact-form-card .form-select {
  border-radius: 8px !important;
  padding: 11px 16px;
  font-size: 0.9rem;
  border-color: var(--border-color);
}
.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  border-color: var(--primary-color) !important;
  box-shadow: none !important;
}
.btn-submit {
  background: var(--secondary-color);
  color: #fff;
  border: none;
  padding: 13px 36px !important;
  font-weight: 600;
  border-radius: 8px !important;
  width: 100%;
  font-size: 1rem;
  transition: background 0.2s;
  cursor: pointer;
}
.btn-submit:hover {
  background: #d94a4d;
  color: #fff;
}

/* ---- Map Card ---- */
.map-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-color);
  height: auto;
}
.map-card iframe {
  width: 100%;
  height: 320px;
  border: none;
  display: block;
}
.map-card .map-details {
  padding: 20px 24px;
}
.map-card .map-details h6 {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 8px;
}
.map-card .map-details p {
  font-size: 0.88rem;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

/* ---- Hours Card ---- */
.hours-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px var(--shadow-color);
  margin-top: 20px;
}
.hours-card h6 {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 14px;
}
.hours-table {
  width: 100%;
  font-size: 0.88rem;
}
.hours-table tr td {
  padding: 5px 0;
  color: #555;
}
.hours-table tr td:last-child {
  text-align: right;
  font-weight: 500;
}
.hours-table tr.closed td {
  color: #bbb;
}
.badge-open {
  background: #d4edda;
  color: #155724;
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* ---- Success Toast ---- */
#successToast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  background: var(--primary-color);
  color: #fff;
  padding: 14px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}
#successToast.show {
  display: flex;
}


/* ============================================================
   SECTION 9 — FAQ & CONTACT RESPONSIVE
   ============================================================ */

@media (max-width: 991px) {
  .contact-form-card { padding: 28px 20px; }
  .map-card iframe { height: 260px; }
}
@media (max-width: 767px) {
  .page-banner h1 { font-size: 1.5rem; }
  .faq-search-wrap { max-width: 100%; }
  .contact-info-card { padding: 24px 16px; }
}
@media (max-width: 576px) {
  .faq-cta { padding: 36px 0; }
  .faq-cta h3 { font-size: 1.3rem; }
  .contact-form-card { padding: 22px 14px; }
  .hours-table tr td:last-child { font-size: 0.78rem; }
}

/* ---- Contact Info Icon (sidebar list) ---- */
.contact-info-icon {
  width: 36px;
  height: 36px;
  background: rgba(0, 76, 98, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ---- Contact form label/control override ---- */
.contact-form-card .form-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #444;
  margin-bottom: 6px;
  display: block;
}
.contact-form-card .form-control,
.contact-form-card .form-select {
  border-radius: 8px !important;
  padding: 11px 16px;
  font-size: 0.9rem;
  border: 1.5px solid var(--border-color);
}
.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px rgba(0, 76, 98, 0.1) !important;
}