:root {
    --lllah-auth-primary: #005a57;
    --lllah-auth-primary-dark: #004846;
    --lllah-auth-title: #111827;
    --lllah-auth-muted: #667085;
    --lllah-auth-border: #d7dde7;
    --lllah-auth-field: #edf3fc;
    --lllah-auth-card: rgba(255, 255, 255, 0.96);
}

body.lllah-auth-page {
    margin: 0;
    min-height: 100vh;
    font-family: "Inter", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(0, 90, 87, 0.06), transparent 28%),
        linear-gradient(180deg, #f5f8fb 0%, #eef3f7 100%);
}

.lllah-auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem;
}

.lllah-auth-card {
    width: 100%;
    max-width: 30rem;
    background: var(--lllah-auth-card);
    border-radius: 1.35rem;
    padding: 2rem 2.15rem 1.95rem;
    box-shadow: 0 0.9rem 2.2rem rgba(15, 23, 42, 0.055);
    border: 1px solid rgba(209, 216, 226, 0.75);
}

.lllah-auth-brand {
    text-align: center;
    margin-bottom: 1.45rem;
}

.lllah-auth-logo {
    width: 6.5rem;
    margin-bottom: 0.9rem;
}

.lllah-auth-title {
    font-size: 1.72rem;
    font-weight: 700;
    line-height: 1.12;
    color: var(--lllah-auth-title);
    margin: 0 0 0.75rem;
    letter-spacing: -0.03em;
}

.lllah-auth-subtitle {
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--lllah-auth-muted);
    max-width: 22rem;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.45rem;
    font-weight: 700;
    color: #111827;
    font-size: 0.85rem;
}

.form-control {
    height: 3rem;
    border-radius: 0.78rem;
    border: 1px solid var(--lllah-auth-border);
    background: var(--lllah-auth-field);
    padding: 0 0.9rem;
    font-size: 0.92rem;
    transition: all 0.18s ease;
}

.form-control:focus {
    border-color: var(--lllah-auth-primary);
    box-shadow: 0 0 0 0.15rem rgba(0, 90, 87, 0.1);
    background: #f9fbff;
}

.lllah-password-wrapper {
    position: relative;
}

.lllah-password-wrapper .form-control {
    padding-right: 3.5rem;
}

.lllah-password-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 3.2rem;
    height: 3rem;
    border: none;
    border-left: 1px solid rgba(215, 221, 231, 0.65);
    background: rgba(255, 255, 255, 0.54);
    color: #475467;
    font-size: 0.92rem;
    cursor: pointer;
    border-top-right-radius: 0.78rem;
    border-bottom-right-radius: 0.78rem;
}

.lllah-auth-submit {
    height: 3.1rem;
    border: none;
    border-radius: 0.82rem;
    background: var(--lllah-auth-primary);
    font-weight: 700;
    font-size: 0.94rem;
    margin-top: 0.2rem;
}

.lllah-auth-submit:hover,
.lllah-auth-submit:focus {
    background: var(--lllah-auth-primary-dark);
}

.lllah-auth-help-text {
    text-align: center;
    margin-top: 0.85rem;
}

.lllah-auth-help-link {
    color: var(--lllah-auth-primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

.lllah-auth-help-link:hover,
.lllah-auth-help-link:focus {
    text-decoration: underline;
    color: var(--lllah-auth-primary-dark);
}

.alert {
    border-radius: 0.8rem;
    font-size: 0.84rem;
    margin-bottom: 1rem;
}

@media (max-width: 640px) {
    .lllah-auth-shell {
        align-items: flex-start;
        padding: 1rem;
    }

    .lllah-auth-card {
        max-width: none;
        padding: 1.7rem 1.1rem;
        border-radius: 1.1rem;
    }

    .lllah-auth-logo {
        width: 6rem;
    }

    .lllah-auth-title {
        font-size: 1.5rem;
    }

    .lllah-auth-subtitle {
        font-size: 0.86rem;
    }
}
