.authincation-content {
    background: #fff !important;
    box-shadow: 0 0 35px 0 rgba(154, 161, 171, 0.15);
    border-radius: 5px;
}

.authincation-content .auth-form h4,
.authincation-content .auth-form label,
.authincation-content .auth-form p,
.authincation-content .auth-form a {
    color: #333 !important;
}

/* Login page customization */
.card .sign.text-center {
    display: none !important;
}

/* Center the card vertically and horizontally */
.authincation.container.h-100 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 0rem 0;
}

.authincation .row.h-100 {
    width: 100%;
    margin: 0;
}

.card {
    margin: 0 auto;
    max-width: 500px;
}

.card .col-xl-6.col-md-6:last-child {
    flex: 0 0 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
}

.sign-in-your {
    max-width: 400px;
    margin: 0 auto;
}

/* Login form specific styles */
.sign-in-your .text-center img {
    width: 100px;
    height: auto;
    margin-bottom: 0px;
}

.sign-in-your > span,
.sign-in-your .login-social {
    display: none !important;
}

/* Make labels visible inside the login form and ensure checkbox label shows */
.sign-in-your form label {
    display: inline-block !important;
    color: #495057 !important;
    font-size: 0.95rem;
}

.sign-in-your h4.fs-20 {
    margin-bottom: 2rem;
    font-size: 1.5rem !important;
    text-align: center;
    font-weight: 600;
}

.sign-in-your .form-control {
    padding: 0.75rem 1rem;
}

/* Modernized login styles */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(18, 38, 63, 0.08);
    overflow: hidden;
}

/* Ensure consistent top margin on laptop screens (e.g., 1024px wide) */
.sign-in-your {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    width: 100%;
}

.sign-in-your .form-control {
    border-radius: 8px;
    border: 1px solid rgba(30, 41, 59, 0.08);
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(30, 41, 59, 0.02);
    padding: 2rem 2rem; /* larger input height */
    font-size: 1rem;
    height: calc(1.5rem + 1.75rem); /* consistent taller control */
}

/* Give more vertical space between form rows so fields aren't jammed */
.sign-in-your form .mb-3 {
    margin-bottom: 1.25rem; /* increased from default */
}

.sign-in-your .form-group {
    margin-bottom: 1.25rem;
}

/* Add spacing between the checkbox and submit button */
.sign-in-your .form-check.custom-checkbox {
    margin-bottom: .75rem;
}

.sign-in-your .modern-login-btn {
    margin-top: .5rem;
}

.btn.modern-login-btn {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.2px;
    box-shadow: 0 6px 18px rgba(44,115,2,0.18);
    transition: all 150ms ease-in-out;
    background-color: #2C7302;
    border-color: #2C7302;
    color: white;
    margin-bottom: 20px;
    margin-top: 45px;
}
.btn.modern-login-btn:hover{
    transform: translateY(-2px);
    filter: brightness(.98);
}

/* Add space between the login button and signup line */
.modern-signup-row {
    margin-top: 1.25rem; /* ~20px spacing */
    padding-bottom: 1rem;
}

/* Apply primary color to common link/button styles */
a.text-primary, .text-primary {
    color: #2C7302 !important;
}

/* secondary color usage example - badges or accents */
.accent-secondary {
    color: #fff;
    background: var(--secondary-color);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* Forgot password link styling */
.forgot-password-link {
    color: #F0BA58; /* primary color */
    background: transparent;
    padding: 0;
    border-radius: 0;
    display: inline;
    font-weight: 400;
    margin-top: .25rem;
    text-decoration: none;
}
.forgot-password-link:hover{ text-decoration: underline; color: #2C7302; }

/* Divider with 'or' for login page */
.divider-or {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
}
.divider-line {
    flex: 1;
    border: none;
    border-top: 2px solid #222;
    margin: 0 8px;
}
.divider-text {
    padding: 0 12px;
    color: #222;
    font-weight: 500;
    background: #fff;
    font-size: 15px;
}

/* Responsive tweaks to keep things centered */
@media (max-width: 767px){
    .sign-in-your { max-width: 100%; padding: 1.5rem; }
    .sign.text-center { display: none !important; }
}
.google-logo {
    width: 24px !important;
    padding-right: 9px !important;
}
.google-login-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #000 !important;
    background: #fff;
    color: #444;
    font-weight: 600;
    padding: 15px 0 !important;
    border-radius: 4px;
    width: 100%;
    box-shadow: 0 1px 2px rgba(60, 64, 67, .08);
    transition: box-shadow .2s;
    text-decoration: none;
}

/* Segmented toggle for gender selection */
.gender-segment{
    display: inline-flex;
    gap: 4px;
    background: #f1f3f5;
    padding: 4px;
    border-radius: 10px;
    align-items: center;
}
.gender-seg-btn{
    appearance: none;
    -webkit-appearance: none;
    border: none;
    background: transparent;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    color: #495057;
    cursor: pointer;
    transition: all 150ms ease;
    box-shadow: none;
}
.gender-seg-btn[aria-pressed="true"]{
    background: linear-gradient(180deg, #2C7302 0%, #1f5a01 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(44,115,2,0.18);
}
.gender-seg-btn:focus{
    outline: 3px solid rgba(44,115,2,0.18);
    outline-offset: 2px;
}

@media (max-width: 480px){
    .gender-seg-btn{ padding: 8px 10px; font-size: .95rem }
    .gender-segment{ gap: 6px }
}

/* invalid state for segmented control */
.gender-segment.is-invalid{
    box-shadow: 0 0 0 3px rgba(220,53,69,0.12) inset, 0 0 0 1px rgba(220,53,69,0.22);
    border-radius: 10px;
}
.gender-segment.is-invalid .gender-seg-btn[aria-pressed="false"]{
    color: rgba(220,53,69,0.95);
}
.reg-progress .step-dot.active
 {
    background: #F0BA58 !important;
    color: #fff;
    box-shadow: 0 2px 6px rgba(13, 110, 253, .25);
}
