.auth-title {
   margin: 0px !important;  
   font-family: lexend !important;
   font-size: 26px !important;
   text-align: center;
}
.info-subtitle {  
   font-family: lexend !important;
}
.auth-subtitle {
   margin: 0px !important;
   margin-bottom: 20px !important;
   font-family: lexend !important;
   font-weight: 400 !important;
   text-align: center !important;
}
.email-title {
 margin: 0px !important;  
   font-family: lexend !important;
   font-size: 26px !important;
   text-align: center;
   margin-bottom: 20px !important;
}
/* Modal overlay */
#authModal {
    display: none; /* hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 99999;
    overflow-y: auto;
}

/* Modal dialog */
#authModal .modal-dialog {
    margin: 50px auto;
    max-width: 450px;
}

/* Modal content */
#authModal .modal-content {
    border-radius: 14px;
    padding: 24px;
    background: #fff;
    position: relative;
}

/* Back arrow */
#authModal .back-arrow {
    position: absolute;
    top: 15px;
    left: 15px;
    cursor: pointer;
    font-size: 22px;
    color: #0A8CA6;
    display: none;
}

#authModal .back-arrow-logged-in {
    position: absolute;
    top: 15px;
    left: 15px;
    cursor: pointer;
    font-size: 22px;
    color: #0A8CA6;
    display: none;
}

/* Logo */
.auth-logo .logo { height:70px; }

/* Form styles */
input.form-control { border-radius: 8px; border: 1px solid #ccc; }
button.btn { border-radius: 8px; font-weight:500; }
button.forgot-submit{
    border-radius: 8px;
    border: none;
    background: #01556F;
    color: white;
    font-family: 'Lexend';
    padding-top: 6px;
    padding-bottom: 6px;
}
button.email-btn {    
    border-radius: 8px;
    border: none;
    background: #01556F;
    color: white;
    font-family: 'Lexend';
    padding-top: 6px;
    padding-bottom: 6px;
}
button.continue-email {
    border-radius: 8px;
    border: none;
    background: #01556F;
    color: white;
    font-family: 'Lexend';
    padding-top: 6px;
    padding-bottom: 6px;
}

button.resend-verification {    
    border-radius: 8px;
    border: none;
    background: #01556F;
    color: white;
    font-family: 'Lexend';
    padding-top: 6px;
    padding-bottom: 6px;
    width: 100% !important;
}
.resend-msg {
    margin: 0px;
    font-size: 14px;
    font-family: 'Lexend';
    font-weight: 500;
}

.msg-text {
    font-family: 'Lexend';
    font-size: 12px;
    font-weight: 600;
}
button.reset-password-btn {
    border-radius: 8px;
    border: none;
    background: #01556F;
    color: white;
    font-family: 'Lexend';
    padding-top: 6px;
    padding-bottom: 6px;
    width: 100% !important;
}

}
/* Password rules */
.password-rules li { margin-bottom:5px; color:#666; }
.password-rules li.valid { color:green; }

/* Step handling */
.auth-step { display: none; transition: all 0.4s ease; }
.auth-step.active { display: block; opacity:1; }

.auth-step.step-unverified img {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 12px;
    width: 100px !important;
    height: 100px !important;
}

.terms-condition {
   margin-bottom: 0px !important;
   font-family: lexend;
   font-size: 14px;
}

.terms-condition a {
    color: #01556F;
    text-decoration: underline;
    font-weight: 700;
}
.toggle-signin-link {
    margin-bottom: 20px !important;
}

input::-webkit-input-placeholder { /* Chrome/Edge/Safari */
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
}

input::-moz-placeholder { /* Firefox 19+ */
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
}

input:-ms-input-placeholder { /* IE 10+ */
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
}

input:-moz-placeholder { /* Firefox 18- */
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
}

.forgot-password {
    margin-bottom: 0px !important;
    font-family: 'Lexend';
    font-weight: 600;
}

.role-selection{
    display:flex;
    gap:16px;
}
.backlogin{
   margin-bottom: 0px !important;
   font-family: 'lexend';
}

.role-box{
    flex:1;
    border:2px solid #ddd;
    border-radius:10px;
    padding:20px;
    text-align:center;
    cursor:pointer;
    transition:all 0.2s ease;
}




.role-box {
    transition: all 0.3s ease; /* smooth hover effect */
}

/* Hover effect */
.role-box:hover {
    background-color: #03526E;
    border-color: #BBEDED;
    color: #ffffff;
}

/* Active state effect */
.role-box.selected {
    background-color: #03526E;
    border-color: #BBEDED;
    color: #ffffff;
}

/* Ensure text inside (headings & paragraphs) also turns white */
.role-box:hover h5,
.role-box:hover p,
.role-box.selected h5,
.role-box.selected p {
    color: #ffffff !important;
}


.role-icon{
    font-size:32px;
}


/* ================================
   Role & Username Screens (Addon)
================================ */

/* Role selection spacing consistency */
.auth-step.step-role .auth-subtitle,
.auth-step.step-username .auth-subtitle {
    margin-bottom: 24px !important;
}

/* Role box title */
.role-box h5 {
    font-family: 'Lexend';
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

/* Role box description */
.role-box p {
    font-family: 'Lexend';
    font-size: 13px;
    margin: 0;
}

/* Disabled buttons (Next / Complete Setup) */
.next-role:disabled,
.complete-setup:disabled {
    background: #ccc !important;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Username input spacing */
.auth-step.step-username input.form-control {
    margin-bottom: 8px;
}

/* Complete setup button style (same theme) */
.complete-setup {
    border-radius: 8px;
    border: none;
    background: #01556F;
    color: #fff;
    font-family: 'Lexend';
    padding-top: 6px;
    padding-bottom: 6px;
}
.next-to-role {
    border-radius: 8px;
    border: none;
    background: #01556F;
    color: #fff;
    font-family: 'Lexend';
    padding-top: 6px;
    padding-bottom: 6px;
}

.contiune-role {
    border-radius: 8px;
    border: none;
    background: #01556F;
    color: #fff;
    font-family: 'Lexend';
    padding-top: 6px;
    padding-bottom: 6px;
}

.btn-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.text-success {
    color: green;
}



/* Back arrow visibility for onboarding steps */
.auth-step.step-role ~ .back-arrow,
.auth-step.step-username ~ .back-arrow {
    display: block;
}


/* Mobile Fullscreen */
@media (max-width:767px){
  #authModal .modal-dialog { margin:0; max-width:100%; height:100%; }
  #authModal .auth-card { height:100vh; border-radius:0; padding:20px; display:flex; flex-direction:column; justify-content:center;}
}


.role-desc {
    margin-bottom: 0px !important;
}
.user-role {
    margin-top: 0px !important;
}


/* Parent container width full */
.google-login .nsl-container-buttons {
    width: 100%;
}

/* Anchor tag ko full width do */
.google-login .nsl-container-buttons a {
    display: block;
    width: 100%;
    margin: 0px !important;
}

/* Actual button styling */
.google-login .nsl-container-buttons a .nsl-button {
    width: 100%;
    border-radius: 8px;   /* 👈 yahan radius adjust kar lo */
}

.google-login .nsl-container-buttons  {
    padding: 0px !important;
}


.cutom-dropdown + .select2-container--default 
.select2-selection {
    min-height: 42px;
    border-radius: 6px;
    display: flex;
    align-items: center;
}

span.select2-dropdown.select2-dropdown--below {
	margin-top: 0px !important;
}

a.toggle-signin {
    font-weight: bold !important;
    color: #0A8CA6 !important;
}





/* Auth Modal positioning fix */
#authModal .modal-content {
    position: relative; /* 🔑 reference for absolute elements */
}

/* Close button – mobile only */
#authModal .btn-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 20;
}

/* Back arrow – already fine, but ensure consistency */
#authModal .back-arrow,
#authModal .back-arrow-logged-in {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 20;
}

/* Optional: hide close button on desktop */
@media (min-width: 768px) {
    #authModal .btn-close {
        display: none;
    }
}


 

