html, body {
    margin: 0;
    padding: 0;
}

html:has(.gt-login-page),
body:has(.gt-login-page) {
    width: 100%;
    height: 100%;
    overflow: hidden !important;
}

.gt-login-page {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    overflow: hidden !important;
    background: #f5f7fb;
    font-family: 'Poppins', Arial, sans-serif;
}

.gt-login-left {
    width: 42vw;
    min-width: 440px;
    max-width: 660px;
    height: 100vh;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 40px 64px;
    box-sizing: border-box;
}

.gt-login-card {
    width: 100%;
    max-width: 420px;
    height: 100%;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gt-login-logo {
    width: 270px !important;
    max-width: 270px !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
    margin-bottom: 44px;
}

.gt-login-card h1 {
    font-size: 32px;
    line-height: 1.2;
    color: #081D3A;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.gt-login-subtitle {
    color: #64748B;
    margin-bottom: 28px;
    font-size: 15px;
}

.gt-login-alert,
.gt-login-info {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    box-sizing: border-box;
}

.gt-login-alert {
    color: #991b1b;
    background: #fee2e2;
    border: 1px solid #fecaca;
}

.gt-login-info {
    color: #1d4ed8;
    background: #dbeafe;
    border: 1px solid #bfdbfe;
}

.gt-form-group {
    margin-bottom: 18px;
}

.gt-form-group label {
    display: block;
    color: #081D3A;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
}

.gt-form-group input {
    width: 100% !important;
    height: 48px !important;
    border: 1px solid #CBD5E1;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 15px;
    box-sizing: border-box;
    font-family: inherit;
    background: #ffffff;
    color: #081D3A;
}

.gt-form-group input:focus {
    outline: none;
    border-color: #0A66FF;
    box-shadow: 0 0 0 4px rgba(10, 102, 255, .12);
}

.gt-login-actions {
    display: flex;
    justify-content: flex-end;
    margin: 4px 0 24px 0;
}

.gt-login-actions a {
    color: #0A66FF;
    font-size: 14px;
    text-decoration: none;
}

.gt-login-actions a:hover,
.gt-login-actions a:focus {
    color: #2684FF;
    text-decoration: underline;
}

.gt-login-button {
    width: 100% !important;
    height: 50px !important;
    border: none;
    border-radius: 10px;
    background: #0A66FF;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    font-family: inherit;
}

.gt-login-button:hover,
.gt-login-button:focus {
    background: #2684FF;
}

.gt-login-recovery {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.gt-login-recovery-actions {
    display: flex;
    gap: 12px;
}

.gt-login-secondary {
    flex: 1;
    height: 46px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #e2e8f0;
    color: #334155;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
}

.gt-login-secondary-primary {
    background: #0A66FF;
    border-color: #0A66FF;
    color: #fff;
}

.gt-login-secondary:hover,
.gt-login-secondary:focus {
    background: #cbd5e1;
}

.gt-login-secondary-primary:hover,
.gt-login-secondary-primary:focus {
    background: #2684FF;
    border-color: #2684FF;
}

.gt-powered {
    margin-top: 45px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #64748B;
    font-size: 14px;
    min-width: 0;
}

.gt-powered-logo {
    width: 170px;
    height: auto;
    display: block;
}

.gt-login-right {
    flex: 1;
    height: 100vh;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    overflow: hidden;
    background-image: url('/images/login/bg-login.png');
    background-size: cover;
    background-color: #081D3A;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 0;
}

@media (max-width: 768px) {
    html:has(.gt-login-page),
    body:has(.gt-login-page) {
        overflow: auto !important;
    }

    .gt-login-page {
        display: block;
        height: auto;
        min-height: 100vh;
        overflow: auto;
        background-image:
            linear-gradient(rgba(255,255,255,.94), rgba(255,255,255,.94)),
            url('/images/login/bg-login-mobile.png');
        background-size: cover;
        background-position: center;
    }

    .gt-login-left {
        width: 100%;
        min-width: 0;
        max-width: none;
        height: auto;
        min-height: 100vh;
        background: transparent;
        padding: 32px 24px;
    }

    .gt-login-right {
        display: none;
    }

    .gt-login-card {
        max-width: 420px;
        margin: 0 auto;
    }

    .gt-login-logo {
        width: 260px !important;
        max-width: 260px !important;
    }

    .gt-login-recovery-actions {
        flex-direction: column;
    }
}
