﻿:root {
    --auth-bg: #070b14;
    --auth-surface: rgba(18, 24, 38, 0.88);
    --auth-surface-2: rgba(26, 34, 52, 0.92);
    --auth-border: rgba(255,255,255,0.08);
    --auth-text: #f5f7fb;
    --auth-muted: #9aa4b2;
    --auth-primary: #e83e8c;
    --auth-secondary: #6f42c1;
    --auth-success: #22c55e;
    --auth-danger: #ef4444;
    --auth-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.auth-body {
    min-height: 100vh;
    background: var(--auth-bg);
    color: var(--auth-text);
    font-family: "Open Sans", sans-serif;
}

.auth-shell {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.auth-background {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(232, 62, 140, 0.18), transparent 25%), radial-gradient(circle at 85% 15%, rgba(111, 66, 193, 0.22), transparent 28%), radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.05), transparent 35%), linear-gradient(180deg, #0a0f1a 0%, #070b14 100%);
}

.auth-card {
    position: relative;
    background: var(--auth-surface);
    border: 1px solid var(--auth-border);
    border-radius: 28px;
    box-shadow: var(--auth-shadow);
    backdrop-filter: blur(18px);
    overflow: hidden;
}

    .auth-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01) );
        pointer-events: none;
    }

.auth-card-body {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.auth-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.auth-logo {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--auth-primary), var(--auth-secondary));
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(232, 62, 140, 0.25);
    margin-bottom: 1rem;
}

.auth-brand-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.2rem;
}

.auth-brand-subtitle {
    color: var(--auth-muted);
    text-align: center;
    max-width: 460px;
}

.auth-section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.35rem;
    text-align: center;
}

.auth-section-subtitle {
    color: var(--auth-muted);
    text-align: center;
    margin-bottom: 1.75rem;
}

.auth-label {
    color: #d7ddea;
    font-weight: 600;
    margin-bottom: 0.45rem;
}

.auth-input,
.auth-select {
    min-height: 50px;
    background: rgba(11, 15, 25, 0.85);
    border: 1px solid var(--auth-border);
    color: #fff;
    border-radius: 14px;
    padding: 0.85rem 1rem;
}

    .auth-input:focus,
    .auth-select:focus {
        background: rgba(11, 15, 25, 0.95);
        color: #fff;
        border-color: rgba(232, 62, 140, 0.75);
        box-shadow: 0 0 0 0.2rem rgba(232, 62, 140, 0.15);
    }

    .auth-input::placeholder {
        color: #7f8aa3;
    }

.auth-btn-primary {
    min-height: 52px;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--auth-primary), var(--auth-secondary));
    color: #fff;
    transition: 0.2s ease;
}

    .auth-btn-primary:hover {
        filter: brightness(1.08);
        color: #fff;
    }

.auth-btn-secondary {
    min-height: 52px;
    border-radius: 14px;
    border: 1px solid var(--auth-border);
    background: rgba(255,255,255,0.02);
    color: #fff;
}

    .auth-btn-secondary:hover {
        background: rgba(255,255,255,0.06);
        color: #fff;
    }

.auth-link {
    color: #f2a7cc;
    text-decoration: none;
    transition: 0.2s ease;
}

    .auth-link:hover {
        color: #fff;
    }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--auth-muted);
    font-size: 0.9rem;
    margin: 1.5rem 0;
}

    .auth-divider::before,
    .auth-divider::after {
        content: "";
        flex: 1;
        height: 1px;
        background: var(--auth-border);
    }

.auth-info-box,
.auth-success-box,
.auth-warning-box {
    border-radius: 18px;
    padding: 1rem 1.1rem;
    border: 1px solid var(--auth-border);
}

.auth-info-box {
    background: rgba(111, 66, 193, 0.10);
}

.auth-success-box {
    background: rgba(34, 197, 94, 0.10);
}

.auth-warning-box {
    background: rgba(245, 158, 11, 0.10);
}

.auth-icon-circle {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 1.25rem auto;
    font-size: 1.8rem;
    color: #fff;
    background: linear-gradient(135deg, var(--auth-primary), var(--auth-secondary));
    box-shadow: 0 12px 30px rgba(111, 66, 193, 0.28);
}

.auth-footer-note {
    text-align: center;
    color: var(--auth-muted);
    font-size: 0.92rem;
    margin-top: 1.4rem;
}

.auth-validation-summary ul,
.validation-summary-errors ul {
    margin: 0;
    padding-left: 1.2rem;
}

.field-validation-error,
.validation-summary-errors,
.text-danger {
    color: #ff9ab7 !important;
}

.auth-check .form-check-input {
    background-color: rgba(255,255,255,0.08);
    border-color: var(--auth-border);
}

    .auth-check .form-check-input:checked {
        background-color: var(--auth-primary);
        border-color: var(--auth-primary);
    }

.auth-check .form-check-label {
    color: var(--auth-muted);
}

@media (max-width: 576px) {
    .auth-card-body {
        padding: 1.35rem;
    }

    .auth-brand-title {
        font-size: 1.5rem;
    }
}
