@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Philosopher:ital,wght@0,400;0,700;1,400;1,700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Sacred Crimson Palette */
  --primary-crimson: #8d0d1f;
  --crimson-light: #b81426;
  --crimson-hover: #9c0f20;
  --crimson-glow: rgba(184, 20, 38, 0.28);
  --crimson-gradient: linear-gradient(135deg, #c4182b 0%, #8d0d1f 100%);

  /* Royal Gold Palette */
  --gold-primary: #c5a059;
  --gold-bright: #d4af37;
  --gold-light: #fff8e8;
  --gold-border: rgba(212, 175, 55, 0.28);
  --gold-gradient: linear-gradient(
    135deg,
    #e5c365 0%,
    #c5a059 50%,
    #9e7a2b 100%
  );

  /* Backgrounds */
  --bg-gradient: linear-gradient(180deg, #f9efe3 0%, #faf3e8 45%, #f4e5cf 100%);
  --footer-gradient: linear-gradient(135deg, #fbf0df 0%, #fae6cb 50%, #fdecd6 100%);
  --card-bg: rgba(254, 250, 243, 0.96);
  --card-glass: rgba(254, 250, 243, 0.85);

  /* Typography */
  --text-main: #231b1c;
  --text-muted: #665b5b;
  --font-header: "Philosopher", "Cinzel", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", "Inter", "Poppins", -apple-system, sans-serif;

  /* Elevation & Borders */
  --shadow-sm: 0 4px 15px rgba(141, 13, 31, 0.05);
  --shadow-md: 0 10px 30px rgba(141, 13, 31, 0.08);
  --shadow-lg: 0 18px 45px rgba(141, 13, 31, 0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* Compatibility & Semantic Aliases */
  --primary-maroon: var(--primary-crimson);
  --primary-gradient: var(--crimson-gradient);
  --primary-hover-gradient: linear-gradient(135deg, #b81426 0%, #8d0d1f 100%);
  --accent-gold: var(--gold-bright);
  --gold-glow: rgba(212, 175, 55, 0.28);
  --maroon-glow: var(--crimson-glow);
  --card-border: var(--gold-border);
  --card-shadow: var(--shadow-md);
  --text-dark: var(--text-main);
  --font-serif: var(--font-header);
  --input-bg: #FBF4ED;
  --input-border: #dcd3c9;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-sans);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Typography Enhancements - Headers */
h1,
h2,
h3,
h4,
h5,
h6,
.welcome-text,
.card-title,
.section-title,
.modal-title,
.details-form-title,
.login-title,
.hero-title {
  font-family: var(--font-header);
  letter-spacing: -0.01em;
}

/* Auth pages viewport fitting & retain backdrop */
body.auth-page {
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-height: 700px) {
  body.auth-page {
    overflow-y: auto;
  }
}

/* Subtle ambient backdrop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(
      circle at 50% 15%,
      rgba(255, 215, 0, 0.07) 0%,
      transparent 60%
    ),
    radial-gradient(
      circle at 50% 85%,
      rgba(167, 17, 35, 0.05) 0%,
      transparent 65%
    );
  pointer-events: none;
}

/* Main Wrapper */
.main-wrapper {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  padding: 10px 16px;
}

/* Logo Outside Card */
.logo-wrapper {
  margin-bottom: 10px;
  text-align: center;
  position: relative;
}

.logo-img {
  height: 74px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(141, 11, 26, 0.2));
  transition: transform 0.3s ease;
}

.logo-wrapper:hover .logo-img {
  transform: scale(1.02);
}

/* Language Dropdown */
.lang-select-premium,
#languageSelector,
#languageSwitcher {
  background: rgba(255, 255, 255, 0.95)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 16 16'%3E%3Cpath d='M2 5l6 6 6-6' stroke='%238d0b1a' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat right 10px center / 10px !important;
  border: 1px solid rgba(212, 175, 55, 0.45) !important;
  border-radius: 16px !important;
  padding: 4px 26px 4px 10px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--primary-maroon) !important;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

#languageSelector:hover,
#languageSwitcher:hover,
#languageSelector:focus,
#languageSwitcher:focus {
  border-color: var(--primary-maroon) !important;
  box-shadow: 0 0 0 2.5px rgba(167, 17, 35, 0.12) !important;
  outline: none;
}

/* ==========================================
   COMPACT LOGIN CARD (NO SCROLL)
========================================== */
.login-card {
  width: 100%;
  max-width: 410px;
  background: var(--card-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 18px;
  padding: 20px 24px 16px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--card-border);
  position: relative;
  overflow: hidden;
}

/* Top Subtle Gold Accent Line */
.login-card::before,
.register-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  box-shadow: 0 1px 6px rgba(212, 175, 55, 0.4);
}

/* Title */
.login-title {
  text-align: center;
  color: var(--primary-crimson);
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 23px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

/* Divine Divider */
.divider {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  gap: 8px;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.6),
    transparent
  );
}

.divider span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.divider span img {
  height: 18px;
  filter: drop-shadow(0 1px 3px rgba(212, 175, 55, 0.3));
}

/* Register Callout Text */
.register-text {
  text-align: center;
  font-size: 13.5px;
  margin-bottom: 14px;
  color: var(--text-muted);
}

.register-text a {
  color: var(--primary-maroon);
  text-decoration: none;
  font-weight: 700;
}

.register-text a:hover {
  text-decoration: underline;
}

/* Form Labels */
.form-label {
  font-size: 13px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.form-label i {
  color: var(--primary-maroon);
  font-size: 13px;
}

.form-label span {
  color: var(--primary-maroon);
}

/* Compact Inputs */
.custom-input,
.custom-textarea {
  border: 1px solid var(--input-border) !important;
  background: #FBF4ED !important;
  border-radius: 10px !important;
  color: #222222 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  transition: all 0.2s ease !important;
}

.custom-input {
  height: 42px;
}

.custom-textarea {
  padding: 8px 12px !important;
  font-size: 13.5px !important;
}

.custom-input::placeholder,
.custom-textarea::placeholder {
  color: #999999 !important;
  font-weight: 400;
}

.custom-input:focus,
.custom-textarea:focus {
  border-color: var(--primary-maroon) !important;
  box-shadow: 0 0 0 2.5px var(--maroon-glow) !important;
  background: #FBF4ED !important;
}

/* Input Groups for Phone/Password/Country Code */
.input-group.custom-input {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--input-border);
  background: #FBF4ED;
  transition: all 0.2s ease;
  height: 42px;
}

.input-group.custom-input .form-control {
  border: none !important;
  height: 100% !important;
  background: transparent !important;
  font-size: 14px !important;
  padding-left: 10px;
}

.input-group.custom-input .input-group-text {
  border: none !important;
  background: transparent !important;
  height: 100% !important;
}

.input-group.custom-input:focus-within {
  border-color: var(--primary-maroon) !important;
  box-shadow: 0 0 0 2.5px var(--maroon-glow) !important;
}

.input-group.custom-input.input-error {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.15) !important;
}

/* Country Code Prefix */
.country-code {
  color: #555555 !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  border-right: 1px solid #e2dad1 !important;
  padding-inline: 10px !important;
}

/* Eye Icon */
.eye-icon {
  background: transparent !important;
  cursor: pointer;
  color: #777777 !important;
  padding-right: 12px !important;
  transition: color 0.2s ease;
}

.eye-icon:hover {
  color: var(--primary-maroon) !important;
}

/* MPIN Input Boxes */
.mpin-box {
  width: 44px;
  height: 44px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  border-radius: 10px !important;
  border: 1px solid var(--input-border) !important;
  background: #FBF4ED !important;
  color: var(--primary-maroon) !important;
  transition: all 0.2s ease;
}

.mpin-box:focus {
  border-color: var(--primary-maroon) !important;
  box-shadow: 0 0 0 2.5px var(--maroon-glow) !important;
  transform: translateY(-1px);
}

/* Password Toggle Box Wrapper */
.password-box {
  border: 1px solid var(--input-border) !important;
  border-radius: 10px !important;
  overflow: hidden;
  background: #FBF4ED;
  height: 42px;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.password-box .form-control {
  border: none !important;
  height: 100% !important;
  box-shadow: none !important;
  padding-left: 12px;
  font-size: 14px;
}

.password-box:focus-within {
  border-color: var(--primary-maroon) !important;
  box-shadow: 0 0 0 2.5px var(--maroon-glow) !important;
}

/* Switch Links (e.g. MPIN <-> Password) */
.login-switch-link {
  color: var(--primary-maroon);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.login-switch-link:hover {
  color: #b5122b;
  text-decoration: underline;
}

/* Forgot Link */
.forgot-link {
  color: var(--primary-maroon);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.forgot-link:hover {
  color: #b5122b;
  text-decoration: underline;
}

/* Action Buttons */
.login-btn,
.continue-btn {
  background: var(--crimson-gradient) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 215, 0, 0.35) !important;
  height: 44px !important;
  border-radius: 12px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  box-shadow: 0 6px 18px var(--crimson-glow) !important;
  transition: all 0.25s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.login-btn:hover,
.continue-btn:hover {
  background: linear-gradient(135deg, #d41b2f 0%, #9c0f20 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(184, 20, 38, 0.38) !important;
  border-color: rgba(255, 215, 0, 0.6) !important;
}

.login-btn:active,
.continue-btn:active {
  transform: translateY(0) !important;
}

/* Terms Footer */
.terms-text {
  text-align: center;
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.4;
}

.terms-text a {
  color: var(--primary-maroon);
  text-decoration: none;
  font-weight: 700;
}

.terms-text a:hover {
  text-decoration: underline;
}

/* ==========================================
   TEMPLE BELLS & SWING ANIMATION
========================================== */
.bells-wrapper {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1050px;
  height: 0;
  pointer-events: none;
  z-index: 1;
}

.bell-item {
  position: absolute;
  top: 0;
  width: 110px;
  height: auto;
  max-height: 380px;
  transform-origin: top center;
  pointer-events: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
  transition: transform 0.2s ease;
}

.bell-left {
  left: 15px;
  animation: templeBellSwingLeft 3.8s ease-in-out infinite alternate;
}

.bell-right {
  right: 15px;
  animation: templeBellSwingRight 4.2s ease-in-out infinite alternate;
}

.bell-item:hover {
  animation: bellJiggle 0.6s ease-in-out infinite !important;
  cursor: pointer;
}

@keyframes templeBellSwingLeft {
  0% {
    transform: rotate(3deg) translate(3px, 0);
  }
  25% {
    transform: rotate(1deg) translate(1px, 2px);
  }
  50% {
    transform: rotate(-3deg) translate(-3px, 0);
  }
  75% {
    transform: rotate(-1deg) translate(-1px, 2px);
  }
  100% {
    transform: rotate(3deg) translate(3px, 0);
  }
}

@keyframes templeBellSwingRight {
  0% {
    transform: rotate(-3deg) translate(-3px, 0);
  }
  25% {
    transform: rotate(-1deg) translate(-1px, 2px);
  }
  50% {
    transform: rotate(3deg) translate(3px, 0);
  }
  75% {
    transform: rotate(1deg) translate(1px, 2px);
  }
  100% {
    transform: rotate(-3deg) translate(-3px, 0);
  }
}

@keyframes bellJiggle {
  0%,
  100% {
    transform: rotate(0deg) translate(0, 0);
  }
  20% {
    transform: rotate(6deg) translate(4px, -2px);
  }
  40% {
    transform: rotate(-6deg) translate(-4px, 2px);
  }
  60% {
    transform: rotate(4deg) translate(2px, -1px);
  }
  80% {
    transform: rotate(-4deg) translate(-2px, 1px);
  }
}

/* ==========================================
   COMPACT MULTI-STEP REGISTER CARD (NO SCROLL)
========================================== */
.register-card {
  width: 100%;
  max-width: 520px;
  background: var(--card-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 18px;
  padding: 20px 26px 16px;
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.register-title {
  text-align: center;
  font-family: "Lato", sans-serif;
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary-maroon);
}

.register-card-subtitle {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-maroon);
  letter-spacing: 0.2px;
}

/* Step Progress Indicator Bar */
.step-progress-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 0 4px;
  position: relative;
}

.step-indicator-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
}

.step-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1ede7;
  color: #777;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e0d8ce;
  transition: all 0.3s ease;
}

.step-indicator-item.active .step-circle {
  background: var(--primary-maroon);
  color: #fff;
  border-color: var(--primary-maroon);
  box-shadow: 0 0 0 3px rgba(141, 11, 26, 0.18);
}

.step-indicator-item.completed .step-circle {
  background: #28a745;
  color: #fff;
  border-color: #28a745;
}

.step-indicator-label {
  font-size: 11px;
  font-weight: 700;
  color: #888;
  margin-top: 4px;
  text-align: center;
}

.step-indicator-item.active .step-indicator-label {
  color: var(--primary-maroon);
}

.step-indicator-item.completed .step-indicator-label {
  color: #28a745;
}

.step-progress-line {
  position: absolute;
  top: 14px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: #e0d8ce;
  z-index: 1;
}

.step-progress-fill {
  height: 100%;
  background: var(--primary-maroon);
  transition: width 0.3s ease;
  width: 0%;
}

/* Step Footer Navigation */
.step-nav-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.step-back-btn {
  color: var(--primary-maroon) !important;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.step-back-btn:hover {
  color: #b5122b !important;
}

.step-badge {
  color: var(--primary-maroon);
  font-size: 13px;
  font-weight: 700;
}

/* Secure Badge */
.secure-text {
  text-align: center;
  margin-top: 10px;
  font-size: 11.5px;
  color: #666666;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.secure-text i {
  color: var(--accent-gold);
  font-size: 12.5px;
}

/* Form check radio & checkbox styling */
.form-check-input {
  cursor: pointer;
  border-color: #cfc6bd;
}

.form-check-input:checked {
  background-color: var(--primary-maroon);
  border-color: var(--primary-maroon);
}

.form-check-label {
  cursor: pointer;
  font-size: 12.5px;
  color: #444444;
  font-weight: 500;
}

/* =================== HOME PAGE================= */

.divider-home {
  display: flex;
  align-items: center;
  text-align: center;
  margin-bottom: 15px;
}

.divider-home::before,
.divider-home::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #c3162c;
}

.divider-home span {
  font-size: 16px;
  margin: 0 15px;
}
.divider-home span img {
  filter: brightness(0) saturate(100%) invert(18%) sepia(88%) saturate(2860%)
    hue-rotate(341deg) brightness(88%) contrast(91%);
  width: 38px;
  height: 32px;
  object-fit: contain;
}

/* ====================== SACRED PREMIUM SIDEBAR ========================= */

.sidebar {
  width: 235px;
  min-height: 100vh;
  height: 100vh;

  background: linear-gradient(180deg, #FFFDFB 0%, #FAF2E8 45%, #F5E5D2 100%);
  border-right: 1.5px solid #EFE4D6;
  box-shadow: 4px 0 30px rgba(141, 13, 31, 0.06);

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: 24px 16px 20px 16px;

  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 100;

  overflow-y: auto;
  scrollbar-width: none;
}

.sidebar::-webkit-scrollbar {
  display: none;
}

/* Sacred Crest Logo Section */
.logo-section {
  text-align: center;
  padding: 10px 8px 18px 8px;
  margin-bottom: 6px;
  position: relative;
}

.logo-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.45), transparent);
}

.sidebar-logo-img {
  width: 148px !important;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(141, 13, 31, 0.08));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-section:hover .sidebar-logo-img {
  transform: scale(1.04);
}

/* Sidebar Menu */
.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-menu li {
  margin-bottom: 0;
}

.sidebar-menu li a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-radius: 14px;
  color: #524442;
  font-size: 14.5px;
  font-weight: 600;
  font-family: var(--font-sans);
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.sidebar-menu li a i {
  font-size: 19px;
  color: #8B1324;
  width: 24px;
  text-align: center;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.sidebar-menu li a:hover:not(.active) {
  background: #FFF5EC;
  color: #8B1324;
  border-color: rgba(229, 195, 101, 0.4);
  transform: translateX(3px);
  box-shadow: 0 4px 14px rgba(141, 13, 31, 0.05);
}

.sidebar-menu li a:hover:not(.active) i {
  transform: scale(1.12);
  color: #A71123;
}

.sidebar-menu li.active a,
.sidebar-menu li a.active {
  background: linear-gradient(135deg, #9E1022 0%, #7B0A19 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 18px rgba(139, 19, 36, 0.32);
  border: 1px solid rgba(255, 215, 0, 0.45) !important;
}

.sidebar-menu li.active a i,
.sidebar-menu li a.active i {
  color: #FFFFFF !important;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.25));
}

.sidebar-menu li.active a img {
  filter: brightness(0) invert(1);
}

.sidebar-menu li a:hover img {
  filter: brightness(0) saturate(100%) invert(13%) sepia(93%) saturate(3923%)
    hue-rotate(344deg) brightness(88%) contrast(94%);
}

/* Logout Button */
.logout-btn {
  margin-top: auto;
  padding-top: 18px;
  position: relative;
}

.logout-btn::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229, 195, 101, 0.4), transparent);
}

.logout-btn button {
  width: 100%;
  height: 44px;
  border: 1.5px solid #E5DDD0;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  color: #8B1324;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
}

.logout-btn button i {
  font-size: 16px;
  color: #8B1324;
  transition: transform 0.2s ease;
}

.logout-btn button:hover {
  background: linear-gradient(135deg, #A71123 0%, #850A1B 100%);
  color: #FFFFFF;
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow: 0 6px 18px rgba(139, 19, 36, 0.28);
  transform: translateY(-2px);
}

.logout-btn button:hover i {
  color: #FFFFFF;
  transform: translateX(2px);
}

/* ================= MAIN ================= */

.main-content {
  flex: 1;
  margin-left: 235px;
  min-height: 100vh;
  height: auto;
  padding: 25px 30px 40px 30px;
  position: relative;
  background: transparent;
  width: calc(100% - 235px);
}

/* Header */
.top-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.welcome-text {
  color: var(--primary-crimson);
  font-family: var(--font-header);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.sub-text {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
}

.profile-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-crimson);
  font-size: 22px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}

/* ================= Language Dropdown ================= */

.top-header {
  overflow: visible;
}

.main-content {
  overflow-x: hidden;
  overflow-y: auto;
}

.d-flex.align-items-center.gap-3 {
  overflow: visible;
}

/* Language Selector */
.language-selector {
  width: 90px !important;
  height: 42px;

  color: #bf1028 !important;
  font-weight: 700;
  font-size: 16px;

  border: 2px solid #bf1028;
  border-radius: 10px;

  background-color: transparent !important;

  /* Arrow */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath d='M2 5l6 6 6-6' stroke='%23bf1028' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 12px;

  /* IMPORTANT */
  padding-left: 12px !important;
  padding-right: 10px !important;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  box-shadow: none !important;
}

.language-selector:focus {
  border-color: #bf1028;
  box-shadow: none !important;
}

.language-selector option {
  background: #ffffff;
  color: #333333;
  font-weight: 500;
}

/* Profile */

.profile-icon {
  z-index: 1;
}

/* Remove Bootstrap focus effect */

.form-select.language-selector {
  background-color: transparent !important;
}

/* Optional Glass Effect */

.language-selector {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.login-btn:disabled {
  background: #b81426 !important;
  color: #ffffff !important;
  opacity: 1 !important;
  cursor: not-allowed;
}

.login-btn .spinner-border {
  width: 18px;
  height: 18px;
  border-width: 2px;
  vertical-align: middle;
}

.back-icon {
  font-size: 28px;
  color: #bf1028;
  cursor: pointer;
  transition: 0.3s;
}

.back-icon:hover {
  transform: translateX(-3px);
  color: #9e0d21;
}

/* Mobile Sidebar Drawer Base Styles */
.mobile-menu-btn {
  display: none !important;
}

.sidebar-close-btn {
  display: none !important;
}

.sidebar-overlay {
  display: none !important;
}

@media (max-width: 991px) {
  .dashboard-wrapper,
  .puja-wrapper,
  .wallet-wrapper,
  .support-wrapper,
  .checkout-wrapper,
  .booking-wrapper {
    display: block !important;
  }

  .sidebar {
    display: none !important;
  }

  .sidebar-logo-img {
    width: 165px !important;
  }

  .sidebar-menu {
    display: block !important;
    margin-top: 30px !important;
    white-space: normal !important;
    overflow: visible !important;
  }

  .sidebar-menu li {
    flex-shrink: 1 !important;
    margin-bottom: 12px !important;
  }

  .sidebar-menu li a {
    padding: 12px 16px !important;
    font-size: 15px !important;
  }

  .logout-btn {
    display: block !important;
    margin-top: auto !important;
    padding-top: 20px !important;
  }

  .sidebar-close-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 34px;
    height: 34px;
    background: #f4e8ea;
    color: #bf1028;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
  }

  .sidebar-close-btn:hover {
    background: #bf1028;
    color: #ffffff;
  }

  .mobile-menu-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #FBF4ED;
    color: #bf1028;
    border: 1px solid var(--gold-border, #E5C365);
    border-radius: 12px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(139, 19, 36, 0.08);
    transition: 0.2s;
    margin-right: 12px;
    flex-shrink: 0;
    order: -999 !important;
  }

  .mobile-menu-btn:hover {
    background: #bf1028;
    color: #ffffff;
    border-color: #bf1028;
  }

  .sidebar-overlay {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(2px) !important;
    z-index: 1040 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease !important;
  }

  .sidebar-overlay.active,
  .sidebar-overlay.show {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .main-content {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    padding: 20px 15px !important;
  }

  .top-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 18px;
  }

  .top-header > .d-flex {
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .top-header .mobile-menu-btn {
    margin-right: 12px;
    order: -999;
  }

  .welcome-text {
    font-size: 20px;
  }

  .sub-text {
    font-size: 14px;
  }
}

/* ================= SUCCESS MODAL ================= */

.success-modal .modal-dialog {
  max-width: 550px;
}

.success-modal-content {
  border: none;
  border-radius: 28px;

  background: #fef7ef;

  overflow: hidden;

  position: relative;

  padding: 45px 35px;
}

/* Decoration */

.success-decoration {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;

  pointer-events: none;
}

/* Success Icon */

.success-icon {
  width: 90px;
  height: 90px;

  margin: 0 auto 25px;

  border-radius: 50%;

  background: rgba(25, 135, 84, 0.1);

  display: flex;
  align-items: center;
  justify-content: center;

  color: #198754;

  font-size: 50px;
}

/* Heading */

.success-modal-content h2 {
  font-size: 28px;
  font-weight: 700;

  color: #000;

  margin-bottom: 12px;
}

/* Description */

.success-modal-content p {
  font-size: 15px;

  color: #666;

  margin-bottom: 25px;
}

/* Devotee ID Box */

.devotee-id-box {
  background: #FBF4ED;

  border: 2px dashed #be1025;

  border-radius: 16px;

  padding: 18px;

  margin-bottom: 30px;
}

.devotee-id-box h5 {
  color: #be1025;

  font-size: 14px;

  margin-bottom: 10px;

  font-weight: 600;
}

.devotee-id-box h3 {
  margin: 0;

  font-size: 24px;

  font-weight: 700;

  color: #000;

  letter-spacing: 1px;
}

/* Button */

.success-btn {
  width: 220px;
  height: 50px;

  border: none;

  border-radius: 16px;

  background: #be1025;

  color: #fff;

  font-size: 16px;

  font-weight: 700;

  transition: 0.3s;
}

.success-btn:hover {
  transform: translateY(-2px);

  background: #a90d20;
}

/* Responsive */

@media (max-width: 576px) {
  .success-modal-content {
    padding: 35px 20px;
  }

  .success-icon {
    width: 70px;
    height: 70px;

    font-size: 40px;
  }

  .success-modal-content h2 {
    font-size: 22px;
  }

  .devotee-id-box h3 {
    font-size: 18px;
  }

  .success-btn {
    width: 100%;
  }
}

#snackbar {
  visibility: hidden;

  min-width: 300px;
  max-width: 400px;

  background: #be1025;
  color: #fff;

  padding: 14px 18px;

  border-radius: 12px;

  position: fixed;

  top: 20px;
  right: 20px;

  z-index: 99999;

  font-size: 14px;
  font-weight: 500;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);

  opacity: 0;

  transform: translateX(100%);

  transition: all 0.3s ease;
}

#snackbar.show {
  visibility: visible;

  opacity: 1;

  transform: translateX(0);
}

#snackbar.success {
  background: #198754;
}

#snackbar.error {
  background: #dc3545;
}

#snackbar.warning {
  background: #fd7e14;
}

@media (max-width: 576px) {
  #snackbar {
    top: 15px;
    right: 15px;
    left: 15px;

    min-width: auto;
    max-width: none;
  }
}

.field-error {
  display: block;
  color: #dc3545;
  font-size: 12px;
  margin-top: 4px;
  min-height: 18px;
}

.input-error {
  border: 1px solid #dc3545 !important;
}

.form-check-label {
  font-size: 14px;
  color: #666;
  cursor: pointer;
}

.form-check-input {
  cursor: pointer;
}

.required-label::after {
  content: " *";
  color: #dc3545;
  font-weight: 700;
}

/* Logout Modal */

.logout-dialog {
  max-width: 420px;
}

.logout-content {
  border: none;
  border-radius: 24px;
  overflow: hidden;
  background: #fef7ef;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.logout-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.logout-content .modal-body {
  padding: 40px 30px;
}

.logout-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(216, 164, 90, 0.12);

  display: flex;
  align-items: center;
  justify-content: center;
}

.logout-icon i {
  font-size: 42px;
  color: #d8a45a;
}

.logout-title {
  color: #bf1028;
  font-weight: 700;
  margin-bottom: 12px;
}

.logout-text {
  color: #666;
  font-size: 16px;
  margin-bottom: 30px;
}

.logout-actions {
  display: flex;
  gap: 12px;
}

.cancel-btn {
  flex: 1;
  height: 50px;
  border-radius: 12px;
  border: 1px solid #bf1028;
  background: transparent;
  color: #bf1028;
  font-weight: 600;
}

.confirm-logout-btn {
  flex: 1;
  height: 50px;
  border-radius: 12px;
  border: none;
  background: #bf1028;
  color: #fff;
  font-weight: 600;
}

.confirm-logout-btn:hover {
  background: #a00f22;
}

.cancel-btn:hover {
  background: rgba(191, 16, 40, 0.08);
}

/* ================= PAGE LOADER ================= */

.page-loader {
  position: fixed;
  inset: 0;
  background: #fef7ef;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: 0.5s ease;
}

.page-loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  width: 120px;
  margin-bottom: 20px;
}

.loader-ring {
  width: 70px;
  height: 70px;

  border: 4px solid #f3d6b0;
  border-top: 4px solid #bf1028;

  border-radius: 50%;

  margin: 0 auto 20px;

  animation: spin 1s linear infinite;
}

.loader-content h4 {
  color: #bf1028;
  font-weight: 700;
  margin-bottom: 8px;
}

.loader-content p {
  color: #777;
  font-size: 15px;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fef7ef;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: 0.5s ease;
}

.page-loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  width: 120px;
  margin-bottom: 20px;
}

.loader-ring {
  width: 70px;
  height: 70px;

  border: 4px solid #f4dcc0;
  border-top: 4px solid #bf1028;

  border-radius: 50%;

  margin: 0 auto 20px;

  animation: spin 1s linear infinite;
}

.loader-content h4 {
  color: #bf1028;
  font-weight: 700;
}

.loader-content p {
  color: #777;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* ==========================================
   STATUS MODALS (SUCCESS / ERROR)
========================================== */

.status-modal-dialog {
  max-width: 500px;
}

.status-modal-content {
  border: none;
  border-radius: 24px;
  overflow: hidden;
  background: #fef7ef;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.status-modal-content .modal-body {
  padding: 40px 30px;
}

/* ==========================================
   ICON
========================================== */

.status-icon {
  width: 90px;
  height: 90px;

  margin: 0 auto 20px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;
}

.status-icon i {
  font-size: 48px;
}

/* ==========================================
   TITLE
========================================== */

.status-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* ==========================================
   MESSAGE
========================================== */

.status-message {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* ==========================================
   BUTTON
========================================== */

.status-btn {
  min-width: 180px;
  height: 50px;

  border: none;
  border-radius: 12px;

  font-size: 16px;
  font-weight: 600;

  transition: 0.3s;
}

/* ==========================================
   SUCCESS
========================================== */

.success-icon {
  background: rgba(34, 197, 94, 0.12);
}

.success-icon i {
  color: #22c55e;
}

.success-title {
  color: #22c55e;
}

.success-btn {
  background: linear-gradient(135deg, #22c55e, #16a34a);

  color: #fff;

  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.25);
}

.success-btn:hover {
  transform: translateY(-2px);

  box-shadow: 0 15px 35px rgba(34, 197, 94, 0.35);
}

/* ==========================================
   ERROR
========================================== */

.error-icon {
  background: rgba(239, 68, 68, 0.12);
}

.error-icon i {
  color: #ef4444;
}

.error-title {
  color: #ef4444;
}

.error-btn {
  background: linear-gradient(135deg, #ef4444, #dc2626);

  color: #fff;

  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.25);
}

.error-btn:hover {
  transform: translateY(-2px);

  box-shadow: 0 15px 35px rgba(239, 68, 68, 0.35);
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 576px) {
  .status-modal-content .modal-body {
    padding: 30px 20px;
  }

  .status-icon {
    width: 75px;
    height: 75px;
  }

  .status-icon i {
    font-size: 40px;
  }

  .status-title {
    font-size: 26px;
  }

  .status-btn {
    width: 100%;
  }
}

/* ==========================================
   TABLET & MOBILE RESPONSIVE STYLES FOR AUTH PAGES
========================================== */

@media (max-width: 991px) {
  .main-wrapper {
    padding: 20px 15px;
  }

  .logo-img {
    height: 150px;
  }

  .bells-wrapper {
    max-width: 95%;
  }

  .bell-item {
    width: 95px;
  }
}

@media (max-width: 576px) {
  .main-wrapper {
    padding: 15px 12px;
    justify-content: flex-start;
    padding-top: 20px;
    padding-bottom: 25px;
  }

  .logo-wrapper {
    margin-bottom: 12px;
  }

  .logo-img {
    height: 125px;
  }

  .login-card {
    padding: 24px 18px 20px;
    border-radius: 18px;
  }

  .login-title {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .register-card {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .register-title {
    font-size: 22px;
    margin-bottom: 18px;
  }

  .bells-wrapper {
    max-width: 100%;
    opacity: 0.4;
  }

  .bell-item {
    width: 70px;
  }

  .bell-left {
    left: 0;
  }

  .bell-right {
    right: 0;
  }
}

/* ==========================================
   DOB INPUT GROUP STYLING
========================================== */

.dob-input-group {
  border: 1px solid #d6d6d6;
  border-radius: 8px;
  overflow: hidden;
  background: #FBF4ED;
  height: 46px;
  display: flex;
  align-items: center;
  transition: border-color 0.2s ease;
}

.dob-input-group:focus-within {
  border-color: #c3162c !important;
}

.dob-input-group.input-error {
  border-color: #dc3545 !important;
}

.dob-input-group .dob-picker {
  border: none !important;
  box-shadow: none !important;
  height: 100% !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  padding-left: 14px !important;
  font-size: 15px;
  color: #444;
  flex: 1;
}

.dob-input-group .input-group-text {
  border: none !important;
  background: transparent !important;
  height: 100% !important;
  border-radius: 0 !important;
  padding: 0 14px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================
   FLATPICKR CUSTOM THEME (EK SANATAN)
========================================== */

.flatpickr-calendar {
  background: #FFFDF9 !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid var(--gold-border) !important;
  font-family: inherit !important;
  width: 320px !important;
  padding: 14px !important;
  z-index: 99999 !important;
  box-sizing: border-box !important;
}

.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after {
  border-bottom-color: #ffffff !important;
}

.flatpickr-months {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: relative !important;
  background: #fdf5f5 !important;
  border-radius: 12px !important;
  padding: 6px 8px !important;
  margin-bottom: 12px !important;
  height: 48px !important;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  position: relative !important;
  top: auto !important;
  bottom: auto !important;
  height: 34px !important;
  width: 34px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border-radius: 8px !important;
  color: #bf1028 !important;
  fill: #bf1028 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  z-index: 10 !important;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
  background: #f8dede !important;
}

.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
  width: 14px !important;
  height: 14px !important;
  stroke: #bf1028 !important;
  fill: #bf1028 !important;
}

.flatpickr-months .flatpickr-month {
  height: 100% !important;
  overflow: visible !important;
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.flatpickr-current-month {
  position: static !important;
  width: auto !important;
  height: 100% !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  color: #bf1028 !important;
  font-weight: 700 !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-year-dropdown {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background: #FBF4ED
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 16 16'%3E%3Cpath d='M2 5l6 6 6-6' stroke='%23bf1028' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat right 8px center / 10px !important;
  color: #bf1028 !important;
  border: 1.5px solid #e2a8af !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 4px 24px 4px 10px !important;
  cursor: pointer !important;
  outline: none !important;
  height: 34px !important;
  line-height: 24px !important;
  box-shadow: none !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months:hover,
.flatpickr-year-dropdown:hover,
.flatpickr-current-month .flatpickr-monthDropdown-months:focus,
.flatpickr-year-dropdown:focus {
  border-color: #bf1028 !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(191, 16, 40, 0.15) !important;
}

/* Weekdays & Days Grid Alignment */
.flatpickr-innerContainer {
  width: 100% !important;
  display: block !important;
}

.flatpickr-rContainer {
  width: 100% !important;
  display: block !important;
}

.flatpickr-weekdays {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  margin-bottom: 8px !important;
  height: auto !important;
  padding: 0 !important;
}

.flatpickr-weekdaycontainer {
  display: contents !important;
}

span.flatpickr-weekday {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #a00f22 !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  width: 100% !important;
  text-align: center !important;
  padding: 0 !important;
  margin: 0 !important;
}

.flatpickr-days {
  width: 100% !important;
}

.dayContainer {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  justify-items: center !important;
  align-items: center !important;
  padding: 0 !important;
  gap: 4px 0 !important;
}

.flatpickr-day {
  width: 36px !important;
  height: 36px !important;
  line-height: 36px !important;
  max-width: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 10px !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  color: #333 !important;
  margin: 0 !important;
  border: 1px solid transparent !important;
  transition: all 0.15s ease !important;
}

.flatpickr-day:hover {
  background: #fdf0f1 !important;
  color: #bf1028 !important;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: #bf1028 !important;
  border-color: #bf1028 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 10px rgba(191, 16, 40, 0.3) !important;
}

.flatpickr-day.today {
  border-color: #e2a8af !important;
  color: #bf1028 !important;
  font-weight: 700 !important;
}

.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  color: #bbb !important;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
  color: #ddd !important;
  cursor: not-allowed !important;
}

.dob-picker {
  cursor: pointer !important;
  background-color: transparent !important;
}

/* ==========================================
   SPIRITUAL DESIGN SYSTEM COMPONENTS
========================================== */

/* Divine Badge */
.divine-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 248, 235, 0.95);
  border: 1px solid var(--gold-border);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

.divine-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: #ff9800;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.7);
  animation: pulseDot 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 152, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 152, 0, 0);
  }
}

.divine-badge-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-crimson);
  letter-spacing: 0.5px;
}

/* Red / Gold Dividers */
.divider-red {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 24px;
}

.divider-red span {
  width: 110px;
  height: 2px;
  background: linear-gradient(90deg, #b81426, rgba(184, 20, 38, 0.2));
  display: block;
  border-radius: 2px;
}

.divider-red span:last-child {
  background: linear-gradient(270deg, #b81426, rgba(184, 20, 38, 0.2));
}

.divider-red img {
  width: 44px;
  height: auto;
  filter: drop-shadow(0 2px 5px rgba(184, 20, 38, 0.3));
}

/* Diya Loader & Spinner */
.loader-spinner-wrap,
.spinner-wrapper {
  position: relative;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-spinner-wrap .spinner,
.spinner-wrapper .spinner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}

.loader-spinner-wrap .diya-loader,
.spinner-wrapper .diya-loader {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.diya-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: diyaPulse 1.4s ease-in-out infinite alternate;
}

.diya-loader img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}

@keyframes diyaPulse {
  0% {
    transform: scale(0.92);
    filter: drop-shadow(0 0 3px rgba(255, 170, 0, 0.4));
  }
  100% {
    transform: scale(1.06);
    filter: drop-shadow(0 0 10px rgba(255, 119, 0, 0.75));
  }
}

.spiritual-card {
  background: var(--card-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.spiritual-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: var(--shadow-md);
}

/* =======================================================
   UNIFIED MOBILE BOTTOM NAVIGATION (ALL PAGES)
======================================================= */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 68px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1.5px solid #EFE8DE;
  z-index: 1050;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #78716C;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.2s ease;
  position: relative;
  padding: 6px 4px;
  flex: 1;
  text-align: center;
}

.mobile-nav-item i {
  font-size: 19px;
  margin-bottom: 2px;
  color: #78716C;
  transition: color 0.2s ease;
}

.mobile-nav-item.active {
  color: #8B1324;
}

.mobile-nav-item.active i {
  color: #8B1324;
}

.mobile-nav-item.active::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #DF9B1A;
  position: absolute;
  bottom: 2px;
}

.mobile-nav-center {
  position: relative;
  top: -14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  flex: 1;
}

.mobile-nav-center-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #A71123 0%, #750817 100%);
  border: 3px solid #FFF8EE;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(139, 19, 36, 0.4), 0 0 0 2px #E5C365;
  transition: transform 0.2s ease;
}

.mobile-nav-center-btn img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.mobile-nav-center-btn:active {
  transform: scale(0.94);
}

.mobile-nav-center-label {
  font-size: 11px;
  font-weight: 700;
  color: #8B1324;
  margin-top: 3px;
}

@media (max-width: 991px) {
  .mobile-bottom-nav {
    display: flex;
  }

  body {
    padding-bottom: 80px;
  }

  .sidebar {
    display: none !important;
  }

  .main-content {
    margin-left: 0 !important;
    padding: 16px 14px 40px 14px !important;
  }
}

