body.login-page {
    font-family: "Poppins", sans-serif;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

/* ---------- Outer Wrapper ---------- */
.login-wrapper {
    display: flex;
    width: 100%;
    max-width: 1300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 16px 48px 0px #0000002d;
}

/* ---------- LEFT PANEL (760px) ---------- */
.login-left {
    position: relative;
    width: 760px;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 36px 60px;
}

.login-left > * {
    position: relative;
    z-index: 2;
}

/* Logo area */
.login-logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 149px;
    width: 100%;
}

.login-logo-area img {
    width: 100%;
    filter: brightness(0) invert(1);
}

/* Bottom copy */
.login-hero-copy {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width:calc(100% - 120px)
}

.login-hero-copy h2 {
    color: #ffffff;
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 500;
    line-height: 57px;
    margin-bottom: 12px;
}

.login-hero-copy p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 21px;
    font-weight: 400;
    line-height: 31px;
}
/* ---------- RIGHT PANEL (540px) ---------- */
.login-right {
    width: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 146px 56px;
}

.login-form-container {
    width: 100%;
}

/* Heading */
.login-form-container .form-title {
    font-size: 32px;
    font-weight: 500;
    color: #353536;
    margin-bottom: 70px;
    text-align: center;
}

/* Form Groups */
.lf-group {
    margin-bottom: 22px;
}

.lf-group label {
    display: inline-block;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #353536;
    margin-bottom: 8px;
}
.lf-group label span {
    position: relative;
    font-size: 75%;
    line-height: 0;
    vertical-align: baseline;
    top: -0.5em;
}

.lf-group .lf-input-wrap {
    position: relative;
}
/* Confirm password hint */
.lf-hint-text {
    font-size: 14px;
    color: #777b7f;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 24px;
}

.lf-group input {
    width: 100%;
    height: 48px;
    padding: 0 44px 0 16px;
    border: 1.5px solid #c3c3c3;
    border-radius: 6px;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    color: #000000;
    background: #ffffff;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.lf-group input::placeholder {
    color: #777b7f;
    font-weight: 400;
}

.lf-group input:focus,
.lf-group textarea:focus {
    color: #000000;
    border-color: #0d7fa5;
    background: #ffffff;
    box-shadow: 0 0 0 3.5px rgba(13, 127, 165, 0.12);
}

/* Organisation badge */
.lf-org-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #0d7fa5;
    background: rgba(13, 127, 165, 0.08);
    border: 1px solid rgba(13, 127, 165, 0.2);
    border-radius: 100px;
    padding: 4px 12px;
    margin-bottom: 24px;
}

/* Back / Cancel links */
.lf-back-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    color: #353536;
    text-decoration: none;
    transition: color 0.2s;
}
.lf-back-link:hover {
    color: #0d7fa5;
}

.lf-cancel-link {
    font-size: 13px;
    font-weight: 400;
    color: #777b7f;
    text-decoration: none;
    transition: color 0.2s;
}
.lf-cancel-link:hover {
    color: #353536;
}

/* Textarea fields */
.lf-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #c3c3c3;
    border-radius: 6px;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    color: #000000;
    background: #ffffff;
    outline: none;
    resize: vertical;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.lf-textarea:focus {
    border-color: #0d7fa5;
    box-shadow: 0 0 0 3.5px rgba(13, 127, 165, 0.12);
}

.lf-textarea::placeholder {
    color: #777b7f;
    font-weight: 400;
}

/* Optional label tag */
.lf-optional {
    font-size: 12px;
    font-weight: 400;
    color: #777b7f;
}

/* Error state */
.lf-group input.is-invalid {
    border-color: #e53e3e;
    background: #fff5f5;
}

.lf-group .invalid-feedback {
    display: block;
    font-size: 11.5px;
    color: #e53e3e;
    margin-top: 5px;
    font-weight: 500;
}

/* Password toggle icon */
.lf-toggle-pw {
    position: absolute;
    right: 14px;
    outline: none;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    color: #777b7f;
    transition: color 0.2s;
    z-index: 2;
}
.lf-toggle-pw:focus {
    outline: none;
}

.lf-toggle-pw:hover {
    color: #0d7fa5;
}

.lf-toggle-pw svg {
    width: 18px;
    height: 18px;
    pointer-events: none;
}

/* Remember + Forgot row */
.lf-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
    margin-top: -4px;
}

.lf-remember {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    color: #353536;
    cursor: pointer;
    user-select: none;
}

.lf-remember input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: #0d7fa5;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
}

.lf-forgot {
    font-size: 14px;
    font-weight: 400;
    color: #00718f;
    text-decoration: underline;
    transition: color 0.2s;
}

.lf-forgot:hover {
    color: #085f7a;
}

/* Sign In Button */
.lf-btn-signin {
    width: 100%;
    padding: 14px;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition:
        transform 0.15s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
    box-shadow: 0px 5px 15px 0px #00000026;
    margin-bottom: 60px;
}

.lf-btn-signin:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(13, 127, 165, 0.42);
    filter: brightness(1.05);
}

.lf-btn-signin:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(13, 127, 165, 0.3);
}

/* Bottom register link */
.lf-register-row {
    text-align: center;
    font-size: 14px;
    color: #000000;
}

.lf-register-row a {
    color: #00718f;
    text-decoration: underline;
    transition: color 0.2s;
}

.lf-register-row a:hover {
    color: #085f7a;
    text-decoration: underline;
}

@media (max-width: 1440px) {
    .login-wrapper {
        max-width: 1180px;
    }

    .login-left {
        width: 680px;
        padding: 32px 48px;
    }
    .login-hero-copy{
        width: calc(100% - 96px);
    }

    .login-right {
        padding: 120px 48px;
    }

    .login-hero-copy h2 {
        line-height: 1.3;
    }
}

@media (max-width: 1280px) {
    .login-wrapper {
        max-width: 1080px;
    }

    .login-left {
        width: 600px;
        padding: 28px 40px;
    }
    .login-hero-copy{
        width: calc(100% - 80px);
    }

    .login-right {
        padding: 90px 40px;
    }

    .login-form-container .form-title {
        font-size: 28px;
        margin-bottom: 50px;
    }

    .login-hero-copy h2 {
        font-size: 36px;
        line-height: 1.3;
    }

    .login-hero-copy p {
        font-size: 18px;
        line-height: 28px;
    }

    .lf-btn-signin {
        margin-bottom: 40px;
    }
}

@media (max-width: 1024px) {
    body.login-page {
        padding: 24px;
        align-items: flex-start;
    }

    .login-wrapper {
        flex-direction: column;
        max-width: 700px;
        margin: 0 auto;
    }

    .login-left {
        width: 100%;
        padding: 32px;
        gap: 40px;
    }
    .login-right {
        width: 100%;
        padding: 48px 32px;
    }

    .login-hero-copy {
        position: relative;
        top: auto;
        transform: none;
        width: calc(100% - 64px);
        margin-top: auto;
        max-width: 100%;
        left: auto;
    }

    .login-hero-copy h2 {
        font-size: 34px;
        line-height: 1.3;
    }

    .login-hero-copy p {
        font-size: 18px;
        line-height: 28px;
    }
}

@media (max-width: 768px) {
    body.login-page {
        padding: 16px;
    }

    .login-wrapper {
        border-radius: 8px;
    }

    .login-left {
        padding: 24px;
    }
    .login-hero-copy{
        width: calc(100% - 48px);
    }

    .login-logo-area {
        max-width: 130px;
    }

    .login-right {
        padding: 40px 24px;
    }

    .login-form-container .form-title {
        font-size: 26px;
        margin-bottom: 36px;
    }

    .login-hero-copy h2 {
        font-size: 30px;
        line-height: 1.3;
        margin-bottom: 10px;
    }

    .login-hero-copy p {
        font-size: 16px;
        line-height: 26px;
    }

    .lf-group {
        margin-bottom: 18px;
    }

    .lf-meta {
        margin-bottom: 22px;
    }

    .lf-btn-signin {
        margin-bottom: 30px;
    }
}

@media (max-width: 460px) {
    body.login-page {
        padding: 12px;
    }

    .login-wrapper {
        border-radius: 6px;
    }

    .login-left {
        padding: 20px 16px;
    }
    .login-hero-copy{
        width: calc(100% - 32px);
    }

    .login-logo-area {
        max-width: 115px;
    }

    .login-right {
        padding: 28px 16px;
    }

    .login-form-container .form-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .lf-org-badge {
        margin-bottom: 20px;
    }
    .login-hero-copy h2 {
        font-size: 24px;
        line-height: 1.35;
        margin-bottom: 8px;
    }

    .login-hero-copy p {
        font-size: 14px;
        line-height: 22px;
    }

    .lf-group label {
        font-size: 14px;
        margin-bottom: 6px;
    }
    .lf-textarea,
    .lf-textarea::placeholder {
        font-size: 14px;
    }
    .lf-group input {
        height: 44px;
        font-size: 14px;
        padding: 0 40px 0 12px;
    }

    .lf-group input::placeholder {
        font-size: 14px;
    }

    .lf-toggle-pw {
        right: 12px;
    }

    .lf-toggle-pw svg {
        width: 16px;
        height: 16px;
    }

    .lf-meta {
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 20px;
    }

    .lf-remember,
    .lf-forgot {
        font-size: 13px;
    }

    .lf-btn-signin {
        padding: 12px;
        font-size: 15px;
        margin-bottom: 24px;
    }

    .lf-register-row {
        font-size: 13px;
        line-height: 22px;
    }

    .lf-group .invalid-feedback {
        font-size: 11px;
    }
}

@media (max-width: 360px) {
    .login-hero-copy h2 {
        font-size: 22px;
    }

    .login-hero-copy p {
        font-size: 13px;
        line-height: 20px;
    }

    .login-form-container .form-title {
        font-size: 22px;
    }

    .login-right {
        padding: 24px 16px;
    }
}

/* Month Picker Styles */
.month-picker-wrapper .bootstrap-datetimepicker-widget .datepicker-months th.picker-switch {
}
.month-picker-wrapper .bootstrap-datetimepicker-widget .datepicker-months th.picker-switch::after {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #fff;
}
.month-picker-wrapper .bootstrap-datetimepicker-widget .datepicker-months th.prev,
.month-picker-wrapper .bootstrap-datetimepicker-widget .datepicker-months th.next {
}

/* Corrected Month Picker Styles */
.month-picker-wrapper {
    position: relative !important;
}
.month-picker-wrapper .bootstrap-datetimepicker-widget .datepicker-months th.picker-switch {
    pointer-events: none !important;
    cursor: default !important;
    color: transparent !important;
    position: relative !important;
}
.month-picker-wrapper .bootstrap-datetimepicker-widget .datepicker-months th.picker-switch::after {
    content: 'Select Month' !important;
    visibility: visible !important;
    display: block !important;
    color: #333 !important;
    position: absolute !important;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #fff;
    z-index: 1;
}
.month-picker-wrapper .bootstrap-datetimepicker-widget .datepicker-months th.prev,
.month-picker-wrapper .bootstrap-datetimepicker-widget .datepicker-months th.next {
    display: none !important;
}
