/* static/css/pages/auth.css */

.auth-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.16), transparent 32rem),
        radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.12), transparent 28rem),
        #f8fafc;
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
}

.auth-hero {
    position: relative;
    padding: 46px;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.92)),
        url("../../img/logo-light.d41d8cd98f00.svg");
    color: #fff;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.auth-hero::after {
    content: "";
    position: absolute;
    left: -120px;
    bottom: -160px;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.26);
    filter: blur(4px);
}

.auth-brand {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
}

.auth-logo,
.auth-card-logo {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(135deg, #2563eb, #22c55e);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.auth-brand div:last-child {
    display: flex;
    flex-direction: column;
}

.auth-brand span {
    color: #cbd5e1;
    font-size: 0.86rem;
}

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

.auth-hero-content .eyebrow {
    color: #93c5fd;
    font-weight: 900;
}

.auth-hero-content h1 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 950;
    line-height: 1.35;
}

.auth-hero-content p {
    margin: 0;
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 2;
}

.auth-hero-footer {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.auth-hero-footer span {
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: #dbeafe;
    font-size: 0.78rem;
}

.auth-panel {
    padding: 28px;
    display: grid;
    place-items: center;
}

.auth-card {
    width: min(100%, 430px);
    padding: 30px;
    border: 1px solid var(--app-border);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.90);
    box-shadow: var(--app-shadow-lg);
    backdrop-filter: blur(18px);
}

.auth-card-header {
    margin-bottom: 24px;
    text-align: center;
}

.auth-card-logo {
    margin: 0 auto 16px;
}

.auth-card-header h1 {
    margin: 0;
    color: var(--app-text-strong);
    font-size: 1.45rem;
    font-weight: 950;
}

.auth-card-header p {
    margin: 8px 0 0;
    color: var(--app-text-muted);
    font-size: 0.9rem;
}

.auth-form .form-control {
    min-height: 48px;
    border-radius: 14px;
}

.auth-form .btn {
    min-height: 48px;
    border-radius: 14px;
    font-weight: 900;
}

@media (max-width: 991.98px) {
    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-panel {
        padding: 20px;
    }

    .auth-card {
        padding: 24px;
    }
}
