:root {
    --green: #078b68;
    --green-dark: #075e54;
    --green-darker: #064b43;
    --green-soft: #e9f7f2;
    --amber: #f5a623;

    --white: #ffffff;
    --page-background: #fbfaf7;
    --text: #101828;
    --muted: #667085;
    --border: #d0d5dd;
    --danger: #b42318;
    --danger-background: #fef3f2;
    --success: #067647;
    --success-background: #ecfdf3;

    --form-width: 440px;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100vh;
}

body {
    display: grid;
    min-height: 100vh;
    margin: 0;
    padding: clamp(16px, 2.3vw, 32px);
    place-items: center;
    color: var(--text);
    background: var(--page-background);
    font-family: "Inter", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.login-page {
    display: flex;
    width: min(100%, 1180px);
    height: min(720px, calc(100vh - clamp(32px, 4.6vw, 64px)));
    min-height: 620px;
    overflow: hidden;
    border: 1px solid rgba(208, 213, 221, 0.55);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 24px 70px rgba(16, 24, 40, 0.12);
}


.login-visual {
    position: relative;
    width: 58%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    color: var(--white);
    background: #09110f;
}

/* ========================================
   MOVING BUSINESS GALLERY
======================================== */

.business-gallery {
    position: absolute;
    inset: 0;
    z-index: 0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;

    padding: 0 14px;

    overflow: hidden;

    background: #09110f;

    pointer-events: none;
}


/* Each vertical column */

.gallery-column {
    position: relative;
    height: 100%;
    overflow: hidden;
}


/* Moving track */

.gallery-track {
    display: flex;
    flex-direction: column;

    will-change: transform;
}


/* Individual repeated collection */

.gallery-set {
    display: flex;
    flex-direction: column;
    gap: 14px;

    padding-bottom: 14px;
}


/* Image cards */

.gallery-card {
    position: relative;

    width: 100%;
    height: 220px;

    flex-shrink: 0;

    overflow: hidden;

    border-radius: 22px;

    background: #16201d;
}


/* Different image heights create the masonry feeling */

.gallery-card:nth-child(3n + 1) {
    height: 260px;
}

.gallery-card:nth-child(3n + 2) {
    height: 190px;
}

.gallery-card:nth-child(3n + 3) {
    height: 230px;
}


.gallery-card img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    user-select: none;

    transition: transform 0.5s ease;
}


.gallery-column-down .gallery-track {
    animation: galleryMoveDown 38s linear infinite;
}


.gallery-column-up .gallery-track {
    animation: galleryMoveUp 34s linear infinite;
}


/* Slight variation so all columns don't look synchronized */

.gallery-column-slow .gallery-track {
    animation-duration: 44s;
}


@keyframes galleryMoveUp {

    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-50%);
    }

}


@keyframes galleryMoveDown {

    from {
        transform: translateY(-50%);
    }

    to {
        transform: translateY(0);
    }

}

.visual-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg,
            rgba(2, 31, 27, 0.04) 0%,
            rgba(2, 47, 40, 0.10) 35%,
            rgba(1, 56, 48, 0.88) 100%);
}

/* ========================================
   PROMOTIONAL POSTER
======================================== */

.login-promo {
    position: absolute;
    inset: 0;
    z-index: 3;

    overflow: hidden;

    background: #063f35;

    opacity: 0;
    visibility: hidden;

    animation: promoPosterCycle 19s ease-in-out infinite;

    pointer-events: none;
}

.login-promo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transform: scale(1.015);

    animation: promoPosterZoom 19s ease-in-out infinite;
}


/*
|--------------------------------------------------------------------------
| 19 second cycle
|--------------------------------------------------------------------------
|
| 0 - 12 sec   Gallery visible
| 12 - 19 sec  Poster visible
|
*/

@keyframes promoPosterCycle {

    /* Gallery */
    0%,
    58% {
        opacity: 0;
        visibility: hidden;
    }

    /* Fade poster in */
    63% {
        opacity: 1;
        visibility: visible;
    }

    /* Poster */
    95% {
        opacity: 1;
        visibility: visible;
    }

    /* Fade back to gallery */
    100% {
        opacity: 0;
        visibility: hidden;
    }
}


@keyframes promoPosterZoom {

    0%,
    58% {
        transform: scale(1.015);
    }

    63% {
        transform: scale(1.015);
    }

    95% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1.05);
    }
}

.visual-content {
    animation: visualContentCycle 19s ease-in-out infinite;
}

@keyframes visualContentCycle {

    0%,
    58% {
        opacity: 1;
        visibility: visible;
    }

    63%,
    95% {
        opacity: 0;
        visibility: hidden;
    }

    100% {
        opacity: 1;
        visibility: visible;
    }
}

.visual-overlay {
    animation: visualOverlayCycle 19s ease-in-out infinite;
}

@keyframes visualOverlayCycle {

    0%,
    58% {
        opacity: 1;
    }

    63%,
    95% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.visual-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100%;
    padding: 48px 6.5%;
}

.visual-message {
    max-width: 650px;
    margin-bottom: 32px;
}

.visual-message h1 {
    margin: 0;
    color: var(--white);
    font-size: clamp(36px, 3.6vw, 58px);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -2.5px;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.12);
}

.visual-message p {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.90);
    font-size: clamp(15px, 1.1vw, 18px);
    font-weight: 400;
    line-height: 1.6;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 760px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.benefit-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    color: var(--white);
    background: rgba(13, 145, 108, 0.42);
    backdrop-filter: blur(6px);
}

.benefit-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.benefit>div:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.benefit strong {
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
}

.benefit span {
    overflow: hidden;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    line-height: 1.45;
    text-overflow: ellipsis;
}

/* ========================================
   RIGHT LOGIN SECTION
======================================== */

.login-section {
    position: relative;
    display: flex;
    width: 42%;
    height: 100%;
    min-height: 100%;
    align-items: center;
    justify-content: center;
    padding: 44px 38px 58px;
    background: var(--page-background);
}

.login-container {
    width: 100%;
    max-width: 400px;
    margin: auto;
}

.language-switch {
    position: absolute;
    top: 20px;
    right: 28px;
    display: flex;
    align-items: center;
    gap: 9px;
}

.language-switch form {
    margin: 0;
}

.language-switch>span {
    width: 1px;
    height: 14px;
    background: var(--border);
}

.language {
    padding: 4px 2px;
    border: 0;
    color: #98a2b3;
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}

.language:hover,
.language.active {
    color: var(--green);
}

.login-banner {
    display: none; /* Mobile view only */
}

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

.login-header {
    margin-bottom: 20px;
    text-align: center;
}

.login-logo {
    display: block;
    width: auto;
    max-width: 148px;
    height: 68px;
    margin: 0 auto 10px;
    object-fit: contain;
}

.login-header h2 {
    margin: 0;
    color: var(--text);
    font-size: clamp(26px, 2vw, 34px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.3px;
}

.login-header p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ========================================
   FORM
======================================== */

.login-form {
    width: 100%;
}

.form-group {
    width: 100%;
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1d2939;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-wrapper input {
    display: block;
    width: 100%;
    height: 46px;
    padding: 0 45px;
    border: 1px solid var(--border);
    border-radius: 10px;
    outline: none;
    color: var(--text);
    background: var(--white);
    font-size: 13px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.input-wrapper input::placeholder {
    color: #98a2b3;
}

.input-wrapper input:hover {
    border-color: #98a2b3;
}

.input-wrapper input:focus {
    border-color: var(--green);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(7, 139, 104, 0.10);
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 2;
    width: 19px;
    height: 19px;
    transform: translateY(-50%);
    fill: none;
    stroke: #667085;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.password-wrapper input {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    z-index: 2;
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0;
    transform: translateY(-50%);
    place-items: center;
    border: 0;
    border-radius: 7px;
    color: #667085;
    background: transparent;
    cursor: pointer;
}

.password-toggle:hover {
    color: var(--green);
    background: var(--green-soft);
}

.password-toggle:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}

.eye-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.password-visible .eye-icon {
    opacity: 0.65;
}

.field-error {
    display: block;
    margin-top: 7px;
    color: var(--danger);
    font-size: 12px;
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px;
}

.remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #344054;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
}

.remember input {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: var(--green);
    cursor: pointer;
}

.forgot-password {
    color: var(--green);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.forgot-password:hover {
    color: var(--green-dark);
    text-decoration: underline;
}

.login-button {
    display: flex;
    width: 100%;
    height: 47px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    border-radius: 10px;
    color: var(--white);
    background: linear-gradient(135deg, #07966f, #078b68);
    box-shadow: 0 8px 18px rgba(7, 139, 104, 0.20);
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.login-button svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
}

.login-button:hover {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    box-shadow: 0 10px 24px rgba(7, 94, 84, 0.25);
    transform: translateY(-1px);
}

.login-button:hover svg {
    transform: translateX(3px);
}

.login-button:active {
    transform: translateY(0);
}

.login-button.is-loading {
    pointer-events: none;
    opacity: 0.9;
    cursor: not-allowed !important;
    background: linear-gradient(135deg, #067f5e, #066d52) !important;
    box-shadow: none !important;
    transform: none !important;
}

.login-button.is-loading svg {
    display: none !important;
}

.login-button .btn-spinner {
    width: 17px;
    height: 17px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: btnSpin 0.75s linear infinite;
    display: inline-block;
    flex-shrink: 0;
}

@keyframes btnSpin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   DIVIDER AND GOOGLE BUTTON
======================================== */

.divider {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 14px;
    margin: 18px 0 16px;
    color: #98a2b3;
}

.divider span {
    height: 1px;
    flex: 1;
    background: #e4e7ec;
}

.divider small {
    font-size: 12px;
    font-weight: 500;
}

.google-button {
    display: flex;
    width: 100%;
    height: 47px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: #344054;
    background: var(--white);
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.google-button:hover {
    border-color: #98a2b3;
    background: #fcfcfd;
    box-shadow: 0 4px 12px rgba(16, 24, 40, 0.06);
}

.google-icon {
    width: 20px;
    height: 20px;
}

.register-text {
    margin: 18px 0 0;
    color: var(--muted);
    text-align: center;
    font-size: 13px;
}

.register-text a,
.register-text span {
    margin-left: 5px;
    color: var(--green);
    font-weight: 700;
    text-decoration: none;
}

.register-text a:hover {
    color: var(--green-dark);
    text-decoration: underline;
}

/* ========================================
   ALERTS
======================================== */

.alert {
    width: 100%;
    margin-bottom: 18px;
    padding: 11px 13px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
}

.alert-danger {
    border-color: #fecdca;
    color: var(--danger);
    background: var(--danger-background);
}

.alert-success {
    border-color: #abefc6;
    color: var(--success);
    background: var(--success-background);
}

/* ========================================
   FOOTER
======================================== */

.login-footer-group {
    position: absolute;
    right: 20px;
    bottom: 15px;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    pointer-events: auto;
}

.login-powered-by {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
}

.login-powered-by .powered-by-logo {
    height: 16px;
    width: auto;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}

.login-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #98a2b3;
    font-size: 11px;
}

.login-footer a {
    color: inherit;
    text-decoration: none;
}

.login-footer a:hover {
    color: var(--green);
}

/* Keep the branding below the form, including on short screens. */
.login-section.login-section-with-footer {
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
    padding-bottom: 20px;
}

.login-section-with-footer .login-container {
    flex-shrink: 0;
    margin: auto 0;
}

.login-section-with-footer .login-footer-group {
    position: static;
    flex-shrink: 0;
    width: 100%;
    max-width: 400px;
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    gap: 10px;
    text-align: center;
}

.login-section-with-footer .login-powered-by {
    flex-wrap: wrap;
    gap: 9px;
    font-size: 12px;
    line-height: 1.5;
}

.login-section-with-footer .powered-by-logo {
    width: 110px;
    height: 32px;
}

.login-section-with-footer .login-footer {
    flex-wrap: wrap;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .login-section.login-section-with-footer {
        min-height: calc(100vh - clamp(32px, 4.6vw, 64px));
    }
}

@media (max-width: 480px) {
    .login-section.login-section-with-footer {
        min-height: calc(100vh - 24px);
    }
}

.footer-separator {
    color: #d0d5dd;
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 1180px) {
    .login-visual {
        width: 54%;
    }

    .login-section {
        width: 46%;
        padding-right: 30px;
        padding-left: 30px;
    }

    .benefits {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .benefit span {
        white-space: normal;
    }
}

@media (max-width: 900px) {
    html,
    body {
        height: 100% !important;
        height: 100dvh !important;
        overflow: hidden !important;
    }

    body {
        padding: 0 !important;
        margin: 0 !important;
        display: block !important;
        background: #ffffff !important;
    }

    .login-page {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        height: 100% !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        min-height: 0 !important;
        border-radius: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
        overflow: hidden !important;
        background: #ffffff !important;
    }

    .login-visual {
        display: none !important;
    }

    .login-section.login-section-with-footer {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: 100dvh !important;
        padding: 0 20px 10px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        overflow: hidden !important;
        background: #ffffff !important;
    }

    .login-section-with-footer .login-container {
        width: 100%;
        max-width: 440px;
        margin: 0 auto;
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        overflow: hidden;
        min-height: 0;
    }

    /* Welcome back and sign message below the mobile banner (pushed down with comfortable spacing) */
    .login-header {
        display: block !important;
        margin: 12px 0 10px 0 !important;
        text-align: center;
        width: 100%;
    }

    .login-header .login-logo {
        display: none !important;
    }

    .login-header h2 {
        font-size: clamp(20px, 4.5vw, 24px) !important;
        font-weight: 700 !important;
        color: #111827 !important;
        line-height: 1.2 !important;
        letter-spacing: -0.4px !important;
        margin: 0 !important;
    }

    .login-header p {
        font-size: 12.5px !important;
        color: #6b7280 !important;
        margin: 3px 0 0 0 !important;
        line-height: 1.4 !important;
    }

    /* Mobile-only banner rounded with smooth white blur at the near end */
    .login-banner {
        display: block !important;
        position: relative;
        width: calc(100% + 40px);
        margin: 0 -20px 0 -20px;
        height: auto;
        max-height: clamp(200px, 33vh, 265px);
        aspect-ratio: 1536 / 1024;
        overflow: hidden;
        border: 0;
        border-radius: 0 0 24px 24px !important;
        box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.05);
        background: #ffffff;
        flex-shrink: 0;
    }

    .login-banner-img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        border-radius: 0 0 24px 24px;
    }

    /* White blur gradient transition right at the near rounded end */
    .login-banner-fade {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 8%;
        min-height: 14px;
        border-radius: 0 0 24px 24px;
        background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 35%,
            rgba(255, 255, 255, 0.75) 70%,
            #ffffff 100%
        );
        backdrop-filter: blur(2.5px);
        -webkit-backdrop-filter: blur(2.5px);
        pointer-events: none;
    }

    .language-switch {
        top: 12px;
        right: 14px;
        z-index: 10;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-radius: 99px;
        padding: 3px 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    /* Input container placed immediately below the image (widened for comfortable input reach) */
    .login-form-wrapper {
        flex: 1 1 auto;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        min-height: 0;
        padding: 4px 8px 0;
    }

    .login-form-wrapper .alert {
        margin-bottom: 8px;
        padding: 8px 12px;
        font-size: 12px;
        border-radius: 8px;
    }

    .login-form {
        width: 100%;
        margin: 0;
    }

    .form-group {
        margin-bottom: 9px;
    }

    .form-group label {
        margin-bottom: 4px;
        font-size: 12px;
        font-weight: 500;
        color: #374151;
    }

    .input-wrapper input {
        height: 42px;
        font-size: 13px;
        border-radius: 8px;
    }

    .form-options {
        margin: 2px 0 10px;
        gap: 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .form-options label.remember span {
        font-size: 12px;
    }

    .forgot-password {
        font-size: 12px;
    }

    .login-button {
        width: 100%;
        height: 44px;
        font-size: 14px;
        font-weight: 600;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .register-text {
        margin-top: 10px;
        margin-bottom: 0;
        font-size: 12.5px;
        text-align: center;
    }

    .login-section-with-footer .login-footer-group {
        position: static;
        width: 100%;
        margin-top: auto;
        padding-top: 6px;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .login-section.login-section-with-footer {
        padding: 0 16px 8px !important;
    }

    .login-banner {
        width: calc(100% + 32px) !important;
        margin: 0 -16px 0 -16px !important;
        height: auto !important;
        max-height: clamp(185px, 32vh, 250px) !important;
        aspect-ratio: 1536 / 1024 !important;
        border-radius: 0 0 20px 20px !important;
        box-shadow: 0 4px 14px -3px rgba(0, 0, 0, 0.05);
    }

    .login-banner-img {
        object-fit: cover !important;
        object-position: center top !important;
        border-radius: 0 0 20px 20px !important;
    }

    .login-banner-fade {
        border-radius: 0 0 20px 20px !important;
    }

    .login-header {
        margin: 10px 0 8px 0 !important;
    }

    .login-header h2 {
        font-size: 19px !important;
    }

    .login-header p {
        font-size: 11.5px !important;
        margin-top: 2px !important;
    }

    .login-form-wrapper {
        width: 100%;
        max-width: 375px;
        padding: 2px 6px 0;
        justify-content: flex-start !important;
    }

    .form-group {
        margin-bottom: 8px;
    }

    .form-group label {
        font-size: 11.5px;
        margin-bottom: 3px;
    }

    .input-wrapper input {
        height: 40px;
        font-size: 12.5px;
    }

    .form-options {
        margin: 2px 0 8px;
    }

    .form-options label.remember span {
        font-size: 11px;
    }

    .forgot-password {
        font-size: 11px;
    }

    .login-button {
        height: 42px;
        font-size: 13.5px;
    }

    .register-text {
        margin-top: 8px;
        font-size: 12px;
    }

    .login-section-with-footer .login-footer-group {
        margin-top: 4px;
        padding-top: 4px;
    }
}

@media (max-height: 620px) and (max-width: 900px) {
    .login-banner {
        height: clamp(120px, 22vh, 150px) !important;
    }

    .login-header {
        margin-bottom: 4px !important;
    }

    .login-header h2 {
        font-size: 17px !important;
    }

    .login-header p {
        font-size: 11px !important;
    }

    .form-group {
        margin-bottom: 6px !important;
    }

    .input-wrapper input {
        height: 38px !important;
    }

    .login-button {
        height: 38px !important;
    }
}

@media (max-height: 760px) and (min-width: 901px) {
    body {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .login-page {
        height: calc(100vh - 28px);
        min-height: 570px;
    }

    .login-section {
        padding-top: 34px;
        padding-bottom: 46px;
    }

    .login-logo {
        height: 54px;
        margin-bottom: 7px;
    }

    .login-header {
        margin-bottom: 16px;
    }

    .login-header h2 {
        font-size: 28px;
    }

    .login-header p {
        margin-top: 6px;
    }

    .form-group {
        margin-bottom: 11px;
    }

    .input-wrapper input {
        height: 43px;
    }

    .form-options {
        margin-bottom: 14px;
    }

    .login-button,
    .google-button {
        height: 43px;
    }

    .divider {
        margin: 14px 0;
    }

    .register-text {
        margin-top: 14px;
    }
}

.access-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(3px);
}

.access-modal {
    width: 100%;
    max-width: 430px;
    padding: 32px;
    background: #ffffff;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

.access-modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #fee2e2;
    color: #dc2626;
    border: 2px solid #fecaca;
    box-shadow: 0 0 0 5px rgba(239, 68, 68, 0.12);
}

.access-modal h3 {
    margin: 0 0 12px;
    color: #1e293b;
    font-size: 22px;
    font-weight: 700;
}

.access-modal p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}

.access-modal-support {
    margin-top: 20px;
    padding: 14px;
    background: #f8fafc;
    border-radius: 12px;
}

.access-modal-support span {
    display: block;
    margin-bottom: 5px;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
}

.access-modal-support a {
    display: block;
    color: #0b9876;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.access-modal-button {
    width: 100%;
    margin-top: 24px;
    padding: 13px 20px;
    border: 0;
    border-radius: 10px;
    background: #0b9876;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.access-modal-button:hover {
    opacity: 0.92;
}
