:root {
    --lag-black: #0f0f0f;
    --lag-black-2: #181818;
    --lag-white: #ffffff;
    --lag-cream: #f7f5f0;
    --lag-gray: #6b7280;
    --lag-border: #e8e3da;
    --lag-danger: #b91c1c;
}

html,
body.lag-login-body {
    min-height: 100%;
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--lag-white);
    color: var(--lag-black);
}

.lag-login-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 14% 12%, rgba(0, 0, 0, .08), transparent 24%),
        linear-gradient(135deg, #ffffff 0%, #f9f7f2 48%, #ffffff 100%);
}

.lag-login-hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(420px, 1.05fr) minmax(360px, .95fr);
}

.lag-login-art {
    position: relative;
    overflow: hidden;
    background: #111;
    display: flex;
    align-items: flex-end;
    padding: 64px;
}

.lag-login-art::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255,255,255,.06), transparent 35%),
        radial-gradient(circle at 32% 28%, rgba(255,255,255,.12), transparent 22%);
}

.lag-art-frame {
    position: absolute;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.03);
    backdrop-filter: blur(2px);
}

.lag-art-frame-one {
    width: 250px;
    height: 330px;
    top: 13%;
    left: 13%;
}

.lag-art-frame-two {
    width: 190px;
    height: 245px;
    top: 28%;
    right: 18%;
}

.lag-art-frame-three {
    width: 160px;
    height: 200px;
    bottom: 18%;
    left: 38%;
}

.lag-login-brand-panel {
    position: relative;
    z-index: 2;
    width: min(420px, 100%);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 28px;
    background: rgba(255,255,255,.08);
    padding: 32px;
    color: #fff;
    box-shadow: 0 24px 80px rgba(0,0,0,.28);
}

.lag-login-logo-mark {
    width: 110px;
    max-height: 70px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    margin-bottom: 24px;
}

.lag-login-brand-panel span {
    display: block;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.05;
}

.lag-login-brand-panel small {
    display: block;
    margin-top: 10px;
    color: rgba(255,255,255,.72);
    font-size: 14px;
}

.lag-login-card-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 28px;
}

.lag-login-card {
    width: min(460px, 100%);
    background: #fff;
    border: 1px solid var(--lag-border);
    border-radius: 32px;
    padding: 44px;
    box-shadow: 0 20px 70px rgba(17,17,17,.08);
}

.lag-login-logo-mobile {
    display: none;
    margin-bottom: 24px;
}

.lag-login-logo-mobile img {
    width: 150px;
    max-height: 80px;
    object-fit: contain;
}

.lag-login-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f3f1ec;
    color: #111;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 800;
}

.lag-login-card h1 {
    margin: 22px 0 8px;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.06em;
}

.lag-login-text {
    margin: 0 0 28px;
    color: var(--lag-gray);
    font-size: 15px;
    line-height: 1.6;
}

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

.lag-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 800;
    color: #111;
}

.lag-input-icon {
    position: relative;
}

.lag-input-icon > i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #111;
    font-size: 18px;
    z-index: 2;
}

.lag-input-icon .form-control {
    height: 54px;
    border: 1px solid #ddd8cf;
    border-radius: 16px;
    padding-left: 48px;
    padding-right: 48px;
    color: #111;
    font-size: 15px;
    background: #fff;
    transition: .2s ease;
}

.lag-input-icon .form-control:focus {
    border-color: #111;
    box-shadow: 0 0 0 4px rgba(17,17,17,.08);
}

.lag-password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: 0;
    background: #f3f1ec;
    color: #111;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lag-login-btn {
    height: 56px;
    border: 0;
    border-radius: 16px;
    background: #111;
    color: #fff;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: .2s ease;
    margin-top: 6px;
}

.lag-login-btn:hover {
    background: #000;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0,0,0,.18);
}

.lag-login-alert {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border: 1px solid rgba(185, 28, 28, .2);
    background: #fff5f5;
    color: var(--lag-danger);
    border-radius: 16px;
    padding: 12px 14px;
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 700;
}

.lag-login-alert .error {
    color: var(--lag-danger);
    margin: 0;
}

.lag-field .error {
    color: var(--lag-danger);
    font-size: 12px;
    font-weight: 700;
    margin-top: 6px;
}

.lag-login-footer-text {
    margin-top: 28px;
    text-align: center;
    font-size: 12px;
    color: #9a9387;
}

@media (max-width: 991px) {
    .lag-login-hero {
        grid-template-columns: 1fr;
    }

    .lag-login-art {
        display: none;
    }

    .lag-login-card-wrap {
        min-height: 100vh;
    }

    .lag-login-logo-mobile {
        display: block;
        text-align: center;
    }

    .lag-login-card {
        padding: 32px 24px;
        border-radius: 26px;
    }
}
