:root {
    --primary: #02424B;
    --accent: #00A6A6;
    --yellow: #FED766;
    --card-bg: #ffffff;
    --text-dark: #02424B;
    --text-muted: #777777;
    --input-bg: #f6f6f6;
}

* { box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--primary);
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-wrapper {
    width: 100%;
    max-width: 480px;
    padding: 2rem;
}

.auth-wrapper:has(.auth-card-wide) {
    max-width: 620px;
}

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

.auth-brand h2 {
    color: #ffffff;
    font-weight: 700;
    font-size: 2.5rem;
    letter-spacing: 3px;
    margin: 0;
}

.auth-brand h2 span {
    color: var(--yellow);
    font-weight: 300;
}

.auth-brand .auth-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.auth-card {
    background: var(--card-bg);
    border-radius: 25px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    padding: 45px;
    color: var(--text-dark);
}

.auth-card h1 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.auth-card .form-label {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.auth-card .form-control {
    border-radius: 8px;
    padding: 0.625rem 0.875rem;
    background-color: var(--input-bg);
    border: 1px solid #e0e0e0;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.auth-card .form-control::placeholder {
    color: var(--text-muted);
}

.auth-card .form-control:focus {
    border-color: var(--yellow);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(254, 215, 102, 0.25);
    background-color: #ffffff;
}

.auth-card .btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    border-radius: 8px;
    padding: 0.7rem;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}

.auth-card .btn-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.auth-card .btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 166, 166, 0.35);
}

.auth-card .auth-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.auth-card .auth-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.auth-card .text-danger {
    font-size: 0.82rem;
}

.auth-card .form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

.auth-card hr {
    border-color: #e8e8e8;
}

.auth-success {
    text-align: center;
    padding: 2rem 0;
}

.auth-success .check-icon {
    color: var(--accent);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.auth-success p {
    color: var(--text-muted);
}

.auth-card .btn-outline-secondary {
    border-color: var(--primary);
    color: var(--primary);
    border-radius: 8px;
    font-weight: 500;
}

.auth-card .btn-outline-secondary:hover {
    background: var(--primary);
    color: #ffffff;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.25rem 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e8e8e8;
}

.auth-divider::before { margin-right: 0.75rem; }
.auth-divider::after  { margin-left: 0.75rem; }

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #ffffff;
    color: #363836;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    height: 46px;
    padding: 0 15px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.btn-google:hover {
    background: #f8f8f8;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-google svg {
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .auth-wrapper {
        padding: 1rem;
    }

    .auth-wrapper:has(.auth-card-wide) {
        max-width: 100%;
    }

    .auth-card {
        padding: 30px 25px;
        border-radius: 15px;
    }

    .auth-brand h2 {
        font-size: 2rem;
    }
}
