body.auth-login-page {
    min-height: 100vh;
    margin: 0;
    padding: clamp(16px, 3vw, 36px);
    color: #10265a;
    background:
        linear-gradient(135deg, rgba(15, 91, 215, 0.12), rgba(255, 152, 0, 0.08)),
        #eef3ff;
    display: grid;
    place-items: center;
}

.login-shell {
    width: min(1180px, 100%);
    min-height: min(720px, calc(100vh - 48px));
    display: grid;
    grid-template-columns: minmax(360px, 0.95fr) minmax(360px, 0.8fr);
    overflow: hidden;
    border: 1px solid #d8e4ff;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(15, 91, 215, 0.18);
}

.login-brand-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 36px;
    padding: clamp(28px, 5vw, 58px);
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(10, 42, 102, 0.96), rgba(15, 91, 215, 0.88)),
        url("../../front/images/hero-serviceplus-k3lgYxk.jpg") center/cover;
}

.login-brand-panel::after {
    content: "";
    position: absolute;
    inset: auto -90px -120px auto;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
}

.login-home-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 900;
}

.login-home-link img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.login-brand-content {
    position: relative;
    z-index: 1;
    max-width: 620px;
}

.login-kicker {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.login-brand-content h1 {
    margin: 18px 0 12px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 0.95;
    letter-spacing: 0;
}

.login-brand-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    line-height: 1.55;
}

.login-feature-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.login-feature-grid div {
    min-height: 92px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(8px);
}

.login-feature-grid i {
    display: block;
    margin-bottom: 10px;
    color: #ffb13b;
    font-size: 24px;
}

.login-feature-grid span {
    font-weight: 900;
}

.login-form-panel {
    display: grid;
    place-items: center;
    padding: clamp(24px, 4vw, 54px);
    background: #f8fbff;
}

.login-form-card {
    width: min(430px, 100%);
    padding: clamp(24px, 4vw, 34px);
    border: 1px solid #d8e4ff;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(15, 91, 215, 0.12);
}

.login-form-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.login-form-header img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 10px;
    background: #e8f0ff;
}

.login-form-header span {
    color: #667085;
    font-weight: 800;
}

.login-form-header h2 {
    margin: 2px 0 0;
    color: #0a2a66;
    font-size: 34px;
    line-height: 1;
}

.login-alert,
.login-connected {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 700;
}

.login-alert {
    color: #ff3b35;
    background: #ffe9e8;
}

.login-connected {
    color: #0a2a66;
    background: #e8f0ff;
}

.login-connected a {
    color: #0f5bd7;
    font-weight: 900;
}

.login-form {
    display: grid;
    gap: 16px;
}

.login-form label {
    display: grid;
    gap: 8px;
    color: #0a2a66;
    font-weight: 900;
}

.login-input-wrap {
    position: relative;
    display: block;
}

.login-input-wrap > i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #0f5bd7;
}

.login-input-wrap input {
    width: 100%;
    min-height: 48px;
    padding: 12px 48px 12px 42px;
    border: 1px solid #d8e4ff;
    border-radius: 6px;
    color: #10265a;
    background: #f8fbff;
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.login-input-wrap input:focus {
    border-color: #0f5bd7;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(15, 91, 215, 0.12);
}

.login-toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    width: 36px;
    height: 36px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 6px;
    color: #0f5bd7;
    background: #e8f0ff;
    cursor: pointer;
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.login-remember {
    display: inline-flex !important;
    align-items: center;
    grid-template-columns: none !important;
    gap: 8px !important;
    color: #667085 !important;
    font-weight: 800 !important;
}

.login-remember input {
    width: 18px;
    height: 18px;
    accent-color: #0f5bd7;
}

.login-options a,
.login-footer-link a {
    color: #0f5bd7;
    font-weight: 900;
    text-decoration: none;
}

.login-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    border: 0;
    border-radius: 6px;
    color: #ffffff;
    background: #0f5bd7;
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(15, 91, 215, 0.24);
    transition: background 0.2s ease, transform 0.2s ease;
}

.login-submit:hover {
    background: #0a2a66;
    transform: translateY(-1px);
}

.login-footer-link {
    margin-top: 22px;
    text-align: center;
}

@media (max-width: 960px) {
    body.auth-login-page {
        align-items: start;
    }

    .login-shell {
        grid-template-columns: 1fr;
    }

    .login-brand-panel {
        min-height: 430px;
    }
}

@media (max-width: 560px) {
    body.auth-login-page {
        padding: 10px;
    }

    .login-feature-grid,
    .login-options {
        grid-template-columns: 1fr;
    }

    .login-feature-grid {
        display: none;
    }

    .login-brand-panel {
        min-height: auto;
    }
}
