/* assets/styles/auth.css */

.auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    background:
        radial-gradient(circle at top left, rgba(17, 24, 39, 0.12), transparent 32%),
        #f7f5f0;
    color: #111827;
    font-family: Inter, system-ui, sans-serif;
}

.auth-hero {
    padding: 48px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.auth-brand {
    position: absolute;
    top: 48px;
    left: 48px;
}

.auth-copy {
    max-width: 620px;
    margin: auto 0;
    padding-bottom: 0;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 18px;
}

.auth-logo {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    background: #111827;
    color: white;
    display: grid;
    place-items: center;
}

.auth-copy {
    max-width: 620px;
    padding-bottom: 70px;
}

.auth-kicker {
    margin: 0 0 14px;
    color: #8b7355;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 12px;
    font-weight: 700;
}

.auth-copy h1 {
    margin: 0;
    font-size: clamp(44px, 7vw, 82px);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.auth-copy p:last-child {
    max-width: 500px;
    margin-top: 24px;
    font-size: 18px;
    line-height: 1.7;
    color: #4b5563;
}

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

.auth-card {
    width: min(100%, 440px);
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 32px;
    padding: 36px;
    box-shadow: 0 30px 80px rgba(17, 24, 39, 0.10);
}

.auth-card-header {
    margin-bottom: 28px;
}

.auth-card-header h2 {
    margin: 0;
    font-size: 34px;
    letter-spacing: -0.04em;
}

.auth-card-header p:last-child {
    margin: 10px 0 0;
    color: #6b7280;
    line-height: 1.5;
}

.auth-alert {
    padding: 14px 16px;
    border-radius: 16px;
    background: #fee2e2;
    color: #991b1b;
    margin-bottom: 20px;
    font-size: 14px;
}

.auth-field {
    margin-bottom: 18px;
}

.auth-field label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 600;
    font-size: 14px;
}

.auth-field input {
    width: 100%;
    height: 52px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 0 16px;
    font-size: 15px;
    outline: none;
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-field input:focus {
    border-color: #111827;
    box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.08);
}

.auth-button {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 18px;
    background: #111827;
    color: white;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    margin-top: 6px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.auth-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 35px rgba(17, 24, 39, 0.18);
}

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

    .auth-hero {
        padding: 28px 24px;
        min-height: 45vh;
    }

    .auth-brand {
        position: static;
    }

    .auth-copy {
        margin: auto 0;
        padding: 48px 0 0;
    }

    .auth-copy {
        padding: 54px 0 20px;
    }

    .auth-copy h1 {
        font-size: 46px;
    }

    .auth-panel {
        padding: 24px;
        place-items: start center;
    }

    .auth-card {
        border-radius: 26px;
        padding: 28px;
    }
}
