
/*Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap');

/*CGHS Design Tokens */
:root {
  --cghs-red:          #C0272D;
  --cghs-red-light:    #FAE5E6;
  --cghs-red-dark:     #8C1A1E;
  --cghs-green:        #1B6B2F;
  --cghs-green-light:  #EAF3E2;
  --cghs-green-dark:   #145223;
  --cghs-gold:         #A07820;
  --cghs-gold-light:   #F5EDD6;
  --cghs-navy:         #1A2340;
  --cghs-surface:      #f4f6fb;
  --cghs-card-bg:      #FFFFFF;
  --cghs-card-border:  #D6E4DA;
  --cghs-text:         #1A2340;
  --cghs-muted:        #5C6B72;
}

/*  Base Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Roboto', sans-serif;
  background: var(--cghs-surface);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ═══════════════════════════════════════════════
   ANIMATED HEALTH-THEMED BACKGROUND
   ═══════════════════════════════════════════════ */
body::before {
  content: '';
  position: fied;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(27,107,47,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 75%, rgba(192,39,45,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(160,120,32,0.07) 0%, transparent 60%),
    linear-gradient(145deg, #e8f2eb 0%, #f4f6fb 40%, #eef1f8 70%, #e6edf3 100%);
  pointer-events: none;
}

/* Subtle geometric SVG pattern overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231B6B2F' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}


.navbar {
  position: relative;
  z-index: 10;
  background: #ffffff !important;
  border-bottom: 2px solid var(--cghs-green) !important;
  box-shadow: 0 2px 16px rgba(27,107,47,0.10);
  padding: 8px 0 !important;
  
}

.navbar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cghs-green) 0%, var(--cghs-gold) 50%, var(--cghs-red) 100%);
}


.navbar-brand:hover img { transform: scale(1.03); }


#slider {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-one {
  position: fixed !important;
  inset: 0;
  background: transparent !important;
  z-index: 0 !important;
}

.slider-seat-image { display: none; }

#seatBox {
  position: relative !important;
  z-index: 5;
  margin-top: 0 !important;
 
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 70px);
  padding: 24px 16px;
}


.modal-content.modal-content-bg {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
  max-width: 960px;
  margin: 0 auto;
margin-top: 10%;
}

.modal-body {
  padding: 0 !important;
  height: auto !important;
}

.row.mt-5 { margin-top: 0 !important; }

/* The actual card */
.modal-content-bg > .modal-body > .row {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(27,107,47,0.14),
    0 4px 20px rgba(0,0,0,0.08),
    0 0 0 1px rgba(27,107,47,0.08);
  min-height: 540px;
  animation: cardIn 0.7s cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(32px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ═══════════════════════════════════════════════
   LEFT PANEL — WELCOME SECTION
   ═══════════════════════════════════════════════ */
.welcomebg {
  background:
    linear-gradient(160deg, var(--cghs-green-dark) 0%, var(--cghs-green) 55%, #1e7a35 100%) !important;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  padding: 48px 36px !important;
}

/* Decorative circles */
.welcomebg::before {
  content: '';
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  top: -80px; right: -80px;
  border: 1px solid rgba(255,255,255,0.08);
}
.welcomebg::after {
  content: '';
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(160,120,32,0.15);
  bottom: -60px; left: -40px;
  border: 1px solid rgba(160,120,32,0.2);
}

/* Heartbeat line decoration */
.welcomebg .row {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Logo circle */
.welcomebg .col-12.text-center img {
  width: 90px !important;
  height: 90px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  padding: 10px;
  border: 2px solid rgba(255,255,255,0.25);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 0 0 rgba(160,120,32,0.4); }
  50%       { box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 0 12px rgba(160,120,32,0); }
}

/* Welcome heading */
.welcomebg h1.text-warning {
  font-family: 'Roboto', serif !important;
  font-size: 2rem !important;
  font-weight: 600 !important;
  color: var(--cghs-gold) !important;
  line-height: 1.25 !important;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.welcomebg h5.text-white {
  font-family: 'Roboto', sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 400 !important;
  color: rgba(255,255,255,0.82) !important;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

/* ECG / heartbeat SVG decoration */
.welcomebg .row::after {
  content: '';
  display: block;
  width: 80%;
  height: 2px;
  margin: 20px auto 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(160,120,32,0.5) 20%,
    rgba(160,120,32,0.8) 50%,
    rgba(160,120,32,0.5) 80%,
    transparent 100%);
  border-radius: 2px;
}

/* Ministry badge at bottom of left panel */
.welcomebg .row::before {
  content: 'Ministry of Health & Family Welfare · Government of India';
  display: block;
  position: absolute;
  bottom: 5px;
  left: 0; right: 0;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
  font-family: 'Roboto', sans-serif;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════
   RIGHT PANEL — LOGIN FORM
   ═══════════════════════════════════════════════ */
.col-md-12.col-xl-6:not(.welcomebg) {
  background: #ffffff;
  display: flex;
  align-items: center;
}

section.p-0.mt-5 {
  width: 100% !important;  
  padding: 20px 0 !important;
}

/* ── TABS ── */
.nav.nav-tabs {
  border: none !important;
  background: var(--cghs-surface);
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 24px !important;
}

.nav-tabs .nav-link {
  border: none !important;
  border-radius: 8px !important;
  font-family: 'Roboto', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cghs-muted) !important;
  padding: 8px 22px;
  transition: all 0.25s ease;
  background: transparent !important;
}

.nav-tabs .nav-link.active {
  background: var(--cghs-green) !important;
  color: #ffffff !important;
  box-shadow: 0 3px 10px rgba(27,107,47,0.30);
}

.nav-tabs .nav-link:not(.active):hover {
  background: var(--cghs-green-light) !important;
  color: var(--cghs-green) !important;
}

/* ── INPUT GROUPS ── */
.group {
  display: flex;
  align-items: center;
  background: #f8faf9;
  border: 1.5px solid #dde8e1;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.group:focus-within {
  border-color: var(--cghs-green);
  box-shadow: 0 0 0 3px rgba(27,107,47,0.10);
  background: #ffffff;
}

.group .icon {
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cghs-green);
  font-size: 0.9rem;
  flex-shrink: 0;
  border-right: 1.5px solid #dde8e1;
  height: 46px;
  background: rgba(27,107,47,0.04);
  transition: background 0.2s;
  margin-left: -17px;
}

.group:focus-within .icon {
  background: rgba(27,107,47,0.08);
  color: var(--cghs-green-dark);
}

.group .input {
  flex: 1;
  border: none !important;
  outline: none !important;
  background: transparent !important;  
  font-family: 'Roboto', sans-serif !important;
  font-size: 0.875rem !important;
  color: var(--cghs-text) !important;
  box-shadow: none !important;
}

.group .input::placeholder {
  color: #9aacA3;
  font-size: 0.825rem;
}

/* Row spacing */
.row.justify-content-center.mb-3 { margin-bottom: 14px !important; }

/* ── BUTTONS ── */
.btn-his,
.btn-his-outline {
  font-family: 'Roboto', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  border-radius: 9px !important;
  height: 44px !important;
  padding: 0 24px !important;
  cursor: pointer !important;
  transition: all 0.22s cubic-bezier(0.34,1.56,0.64,1) !important;
  border: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-his {
  background: linear-gradient(135deg, var(--cghs-green) 0%, var(--cghs-green-dark) 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(27,107,47,0.30) !important;
  width: 44% !important;
}

.btn-his:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(27,107,47,0.40) !important;
  background: linear-gradient(135deg, #1e7a35 0%, var(--cghs-green) 100%) !important;
}

.btn-his:active { transform: translateY(0) !important; }

.btn-his-outline {
  background: #ffffff !important;
  color: var(--cghs-navy) !important;
  border: 1.5px solid #d0ddd4 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
  width: 44% !important;
  margin-left: 8px;
}

.btn-his-outline:hover {
  border-color: var(--cghs-green) !important;
  color: var(--cghs-green) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(27,107,47,0.12) !important;
}

/* OTP / Get OTP button */
#generateButton {
  background: linear-gradient(135deg, var(--cghs-gold) 0%, #8a6518 100%) !important;
  box-shadow: 0 4px 14px rgba(160,120,32,0.30) !important;
  width: auto !important;
  padding: 0 28px !important;
}

#generateButton:hover {
  box-shadow: 0 8px 22px rgba(160,120,32,0.40) !important;
}

/* ── FORGOT PASSWORD ── */
#forgetPass {
  color: var(--cghs-green) !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
}

#forgetPass::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 1px;
  background: var(--cghs-green);
  transform: scaleX(0);
  transition: transform 0.2s ease;
  transform-origin: left;
}

#forgetPass:hover { color: var(--cghs-green-dark) !important; }
#forgetPass:hover::after { transform: scaleX(1); }

/* ── ERROR ALERTS ── */
.alert.alert-danger {
  background: var(--cghs-red-light);
  border: 1px solid var(--cghs-red);
  border-radius: 8px;
  color: var(--cghs-red-dark);
  font-size: 0.8rem;
}

/* ── TAB CONTENT ── */
.tab-content { border: none !important; }
.tab-pane.fade-tab { animation: fadeIn 0.3s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateX(8px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── MODAL BODY INNER ── */
.modal-body .modal-body {
  padding: 8px 0 24px !important;
}

/* ── mt-4 spacing tweak ── */
.mt-4 { margin-top: 14px !important; }

/* ═══════════════════════════════════════════════
   RESPONSIVE — Mobile
   ═══════════════════════════════════════════════ */
@media (max-width: 1199px) {
  .welcomebg {
    min-height: 200px !important;
    padding: 32px 24px !important;
  }
  .welcomebg h1.text-warning { font-size: 1.5rem !important; }
  .welcomebg .row::before { display: none; }
  #seatBox { padding: 16px 8px; }
  section.p-0.mt-5 { width: 96% !important; }
}

@media (max-width: 767px) {
  .modal-content-bg > .modal-body > .row {
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(27,107,47,0.14);
  }
  .welcomebg::before, .welcomebg::after { display: none; }
  .btn-his, .btn-his-outline { width: 46% !important; }
}

/* ═══════════════════════════════════════════════
   SECTION TITLE — "Sign In" label above tabs
   ═══════════════════════════════════════════════ */
.nav-tabs::before {
  display: none; /* hide any injected pseudo-content */
}

/* Add a subtle "Sign In" label above the tabs via the section element */
section.p-0.mt-5::before {
  content: 'Sign In to Your Account';
  display: block;
  font-family: 'Roboto', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cghs-navy);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--cghs-card-border);
  letter-spacing: 0.01em;
  margin-left: 22px;
}




/* ═══════════════════════════════════════════════
   SCROLLBAR STYLE
   ═══════════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cghs-surface); }
::-webkit-scrollbar-thumb { background: var(--cghs-green); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--cghs-green-dark); }


/* ═══════════════════════════════════════════════════════════════
   MEDICAL PLUS SIGNS + PULSE RINGS — BACKGROUND ONLY
   No ECG lines. No navbar interference.
   ═══════════════════════════════════════════════════════════════ */

/* ── Upgrade body::after: tiled plus-sign SVG pattern (green + red + gold) ── */
body::after {
  content: '' !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  opacity: 0.055 !important;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='51' y='38' width='18' height='44' rx='4' fill='%231B6B2F'/%3E%3Crect x='38' y='51' width='44' height='18' rx='4' fill='%231B6B2F'/%3E%3Crect x='7' y='3' width='7' height='18' rx='2' fill='%23C0272D'/%3E%3Crect x='3' y='7' width='18' height='7' rx='2' fill='%23C0272D'/%3E%3Crect x='100' y='97' width='5' height='14' rx='1.5' fill='%23A07820'/%3E%3Crect x='97' y='100' width='14' height='5' rx='1.5' fill='%23A07820'/%3E%3C/svg%3E") !important;
  background-size: 120px 120px !important;
  animation: plusDrift 30s linear infinite !important;
}

@keyframes plusDrift {
  0%   { background-position: 0 0; }
  100% { background-position: 120px 120px; }
}

/* ── Floating plus signs — 4 positions, staggered ── */

/* Top-left: large green + */
#seatBox::before {
  content: '+';
  position: fixed;
  top: 12%;
  left: 6%;
  font-size: 3rem;
  font-weight: 100;
  color: var(--cghs-green);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  animation: floatA 9s ease-in-out 0s infinite;
}

/* Top-right: medium red ✚ */
#seatBox::after {
  content: '✚';
  position: fixed;
  top: 18%;
  right: 7%;
  font-size: 1.8rem;
  color: var(--cghs-red);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  animation: floatB 11s ease-in-out 3s infinite;
}

/* Bottom-left: medium green ✚ */
.container-fluid.position-absolute.mt-5::before {
  content: '✚';
  position: fixed;
  bottom: 14%;
  left: 4%;
  font-size: 2rem;
  color: var(--cghs-green);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  animation: floatC 10s ease-in-out 1.5s infinite;
}

/* Bottom-right: large gold + */
.container-fluid.position-absolute.mt-5::after {
  content: '+';
  position: fixed;
  bottom: 18%;
  right: 5%;
  font-size: 3.5rem;
  font-weight: 100;
  color: var(--cghs-gold);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  animation: floatD 13s ease-in-out 5s infinite;
}

@keyframes floatA {
  0%   { opacity: 0;    transform: translateY(0px)   rotate(0deg); }
  20%  { opacity: 0.15; transform: translateY(-14px)  rotate(12deg); }
  80%  { opacity: 0.10; transform: translateY(-32px)  rotate(-8deg); }
  100% { opacity: 0;    transform: translateY(-50px)  rotate(4deg); }
}
@keyframes floatB {
  0%   { opacity: 0;    transform: translateY(0px)   rotate(-15deg) scale(0.8); }
  25%  { opacity: 0.13; transform: translateY(-16px)  rotate(0deg)   scale(1); }
  75%  { opacity: 0.08; transform: translateY(-34px)  rotate(10deg)  scale(0.9); }
  100% { opacity: 0;    transform: translateY(-52px)  rotate(-5deg)  scale(0.7); }
}
@keyframes floatC {
  0%   { opacity: 0;    transform: translateY(0px)  rotate(0deg); }
  30%  { opacity: 0.14; transform: translateY(-18px) rotate(18deg); }
  70%  { opacity: 0.09; transform: translateY(-38px) rotate(-12deg); }
  100% { opacity: 0;    transform: translateY(-58px) rotate(6deg); }
}
@keyframes floatD {
  0%   { opacity: 0;    transform: translateY(0px)  rotate(10deg)  scale(0.7); }
  35%  { opacity: 0.10; transform: translateY(-20px) rotate(-5deg)  scale(1); }
  65%  { opacity: 0.07; transform: translateY(-42px) rotate(15deg)  scale(0.85); }
  100% { opacity: 0;    transform: translateY(-64px) rotate(0deg)   scale(0.6); }
}

/* ── Pulse rings — 2 ambient dots that emit expanding rings ── */

/* Pulse dot — bottom-left corner of viewport */
body::before {
  /* Keep existing gradient background, add pulse via filter — can't change content */
  /* Use a separate approach: add pulse rings on .slider-one which is already fixed+inset */
}

/* Pulse ring 1 — lower-left */
#slider::before {
  content: '';
  position: fixed;
  bottom: 12%;
  left: 10%;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--cghs-green);
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
  animation: pulseRing 3.5s ease-out infinite;
}

/* Pulse ring 2 — upper-right, red, offset */
#slider::after {
  content: '';
  position: fixed;
  top: 14%;
  right: 12%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cghs-red);
  opacity: 0.45;
  z-index: 1;
  pointer-events: none;
  animation: pulseRing 4s ease-out 1.8s infinite;
}

@keyframes pulseRing {
  0%   { box-shadow: 0 0 0   0px rgba(255,255,255,0.0); transform: scale(1); opacity: 0.5; }
  40%  { box-shadow: 0 0 0  20px rgba(255,255,255,0.0); }
  50%  { transform: scale(1); opacity: 0.5;
         box-shadow: 0 0 0  0px currentColor; }
  /* The actual ring grows via pseudo-element trick on the dot */
  100% { box-shadow: 0 0 0 50px rgba(255,255,255,0.0); transform: scale(1); opacity: 0.5; }
}

/* Better pulse ring using outline animation */
#slider::before {
  animation: pulseExpand 3.5s ease-out infinite !important;
}
#slider::after {
  animation: pulseExpand 4s ease-out 1.8s infinite !important;
}

@keyframes pulseExpand {
  0%   { box-shadow: 0 0 0  0   rgba(27,107,47,0.6),  0 0 0  0   rgba(27,107,47,0.3); opacity: 0.7; }
  70%  { box-shadow: 0 0 0 24px rgba(27,107,47,0.0),  0 0 0 48px rgba(27,107,47,0.0); opacity: 0.7; }
  100% { box-shadow: 0 0 0  0   rgba(27,107,47,0.0),  0 0 0  0   rgba(27,107,47,0.0); opacity: 0.7; }
}

/* Red version for the second ring */
#slider::after {
  animation: pulseExpandRed 4s ease-out 1.8s infinite !important;
}
@keyframes pulseExpandRed {
  0%   { box-shadow: 0 0 0  0   rgba(192,39,45,0.6),  0 0 0  0   rgba(192,39,45,0.3); opacity: 0.7; }
  70%  { box-shadow: 0 0 0 20px rgba(192,39,45,0.0),  0 0 0 42px rgba(192,39,45,0.0); opacity: 0.7; }
  100% { box-shadow: 0 0 0  0   rgba(192,39,45,0.0),  0 0 0  0   rgba(192,39,45,0.0); opacity: 0.7; }
}

/* ── Pulsing glow on left panel decorative circle (keeps existing styles) ── */
.welcomebg::before {
  animation: panelCircleGlow 4s ease-in-out infinite !important;
}
@keyframes panelCircleGlow {
  0%, 100% { box-shadow: none; }
  50%       { box-shadow: 0 0 50px 15px rgba(160,120,32,0.10), inset 0 0 30px 8px rgba(255,255,255,0.03); }
}
#slider{
	height: 80vh !important;
}
.form{
	gap:0px;
	padding-top: 0;
}
#divElementErrorsId{
	margin-top:12px;
}

/* ═══════════════════════════════════════════════════════════════
   ROLE SELECTION PAGE STYLES
   ═══════════════════════════════════════════════════════════════ */

/* ── Card container ── */
.bg-white {
  background: #ffffff !important;
 
  box-shadow:
    0 20px 60px rgba(27,107,47,0.13),
    0 4px 20px rgba(0,0,0,0.07),
    0 0 0 1px rgba(27,107,47,0.07) !important;
  animation: cardIn 0.7s cubic-bezier(0.22,1,0.36,1) both;
  overflow: hidden;
  padding-bottom: 8px;
}

/* ── Logo ── */
.bg-white .col-12.text-center img {
  width: 80px !important;
  border-radius: 50%;
  padding: 8px;
  background: rgba(27,107,47,0.06);
  border: 2px solid rgba(27,107,47,0.15);
  box-shadow: 0 4px 16px rgba(27,107,47,0.15);
  animation: logoPulse 3s ease-in-out infinite;
}

/* ── Welcome heading ── */
h5.text-primary {
  font-family: 'Roboto', sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: var(--cghs-green) !important;
  letter-spacing: 0.01em;
  padding: 4px 20px;
}

/* ── Current role badge ── */
p.text-success.fw-bold {
  display: inline-block !important;
  background: var(--cghs-green-light) !important;
  color: var(--cghs-green-dark) !important;
  border: 1.5px solid rgba(27,107,47,0.25) !important;
  border-radius: 30px !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  padding: 6px 18px !important;
  letter-spacing: 0.02em;
  width: auto !important;
  position: relative;
  padding-left: 30px !important;
}

/* Green dot before current role */
p.text-success.fw-bold::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cghs-green);
  animation: activeDot 2s ease-in-out infinite;
}

@keyframes activeDot {
  0%, 100% { box-shadow: 0 0 0 0   rgba(27,107,47,0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(27,107,47,0.0); }
}

/* Center-wrap the role badge */
.col-12:has(p.text-success) {
  display: flex;
  justify-content: center;
  padding: 4px 20px 8px;
}

/* ── Role selection section ── */
.col-12.p-5 {
  padding: 24px 32px !important;
}

h6.text-dark {
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: var(--cghs-muted) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px !important;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 14px; 
  margin-bottom: 10px !important;
  border-radius: 12px;  
  background: var(--cghs-surface);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.form-check::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: transparent;
  border-radius: 12px 0 0 12px;
  transition: background 0.2s;
}

.form-check:hover {
  border-color: var(--cghs-green);
  background: var(--cghs-green-light);
  transform: translateX(3px);
  box-shadow: 0 4px 14px rgba(27,107,47,0.10);
}

.form-check:hover::before {
  background: var(--cghs-green);
}

/* ── Hide native radio, replace with custom ── */
.form-check-input[type="radio"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px;
  border-radius: 50% !important;
  border: 2px solid #c5d5ca !important;
  background: #ffffff !important;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  position: relative;
  margin: 0 !important;
  box-shadow: none !important;
}

.form-check-input[type="radio"]:checked {
  border-color: var(--cghs-green) !important;
  background: var(--cghs-green) !important;
  box-shadow: 0 0 0 3px rgba(27,107,47,0.15) !important;
}

/* White dot inside checked radio */
.form-check-input[type="radio"]:checked::after {
  content: '';
  display: block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ffffff;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

/* ── Checked row highlight ── */
.form-check:has(.form-check-input:checked) {
  border-color: var(--cghs-green) !important;
  background: var(--cghs-green-light) !important;
  box-shadow: 0 4px 18px rgba(27,107,47,0.14) !important;
  transform: translateX(4px);
}

.form-check:has(.form-check-input:checked)::before {
  background: var(--cghs-green) !important;
}

/* ── Label text ── */
.form-check-label {
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  color: var(--cghs-text) !important;
  cursor: pointer;
  line-height: 1.4;
  transition: color 0.2s;
}

.form-check:has(.form-check-input:checked) .form-check-label {
  color: var(--cghs-green-dark) !important;
  font-weight: 600 !important;
}

/* ── Buttons row ── */
.col-12.text-center.mb-3 {
  display: flex !important;
  justify-content: center !important;
  gap: 12px !important;
  padding: 8px 32px 16px !important;
}

/* Override btn widths for this page — full stretch */
.col-12.text-center.mb-3 .btn-his {
  flex: 1 !important;
  width: auto !important;
  max-width: 320px;
  height: 48px !important;
  font-size: 0.9rem !important;
}

.col-12.text-center.mb-3 .btn-his-outline {
  flex: 1 !important;
  width: auto !important;
  max-width: 200px;
  height: 48px !important;
  font-size: 0.9rem !important;
  margin-left: 0 !important;
}

/* ── seatBox positioning for this page ── */
#seatBox {
  padding-top: 24px !important;
}

/* ── Ensure the col-12 with welcome text is centered ── */
/* .row > .col-12:first-child {
  display: flex;
  justify-content: center;
}
 */

/* ── Current role badge ── */
p.text-success.fw-bold {
  display: inline-block !important;
  background: var(--cghs-green-light) !important;
  color: var(--cghs-green-dark) !important;
  border: 1.5px solid rgba(27,107,47,0.25) !important;
  border-radius: 30px !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  padding: 6px 18px !important;
  letter-spacing: 0.02em;
  width: auto !important;
  position: relative;
  padding-left: 30px !important;
}

/* Green dot before current role */
p.text-success.fw-bold::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cghs-green);
  animation: activeDot 2s ease-in-out infinite;
}

@keyframes activeDot {
  0%, 100% { box-shadow: 0 0 0 0   rgba(27,107,47,0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(27,107,47,0.0); }
}

/* Center-wrap the role badge */
.col-12:has(p.text-success) {
  display: flex;
  justify-content: center;
  padding: 4px 20px 8px;
}

/* ── Role selection section ── */
.col-12.p-5 {
  padding: 24px 32px !important;
}

h6.text-dark {
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: var(--cghs-muted) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px !important;
}

/*  Buttons row */
.col-12.text-center.mb-3 {
  display: flex !important;
  justify-content: center !important;
  gap: 12px !important;
  padding: 8px 32px 16px !important;
}

/* Override btn widths for this page full stretch */
.col-12.text-center.mb-3 .btn-his {
  flex: 1 !important;
  width: auto !important;
  max-width: 320px;
  height: 48px !important;
  font-size: 0.9rem !important;
}

.col-12.text-center.mb-3 .btn-his-outline {
  flex: 1 !important;
  width: auto !important;
  max-width: 200px;
  height: 48px !important;
  font-size: 0.9rem !important;
  margin-left: 0 !important;
}

/* seatBox positioning for this page */
#seatBox {
  padding-top: 24px !important;
}
.role-list{
	overflow: auto;
	width: 100%;
	padding: 10px;
}

/* Scrollbar width */
.role-list::-webkit-scrollbar {
    width: 8px;
}

/* Scrollbar track (background) */
.role-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

/* Scrollbar thumb (the draggable part) */
.role-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

/* Hover effect on thumb */
.role-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

@media (max-width: 768px) {
  .navbar {
  	position: relative !important;
    top: 0px !important;
    right: 0 !important;
    margin-bottom: 80px !important;
  }
}