/* Auth pages - shared styles (login, register, forgot, reset) */

.auth-page {
    --auth-dark-bg: #1a1a2e;
    --auth-darker-bg: #16213e;
    --auth-pink-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --auth-primary: #f093fb;
    --auth-secondary: #f5576c;
    --auth-white: #ffffff;
    --auth-white-80: rgba(255, 255, 255, 0.8);
    --auth-white-60: rgba(255, 255, 255, 0.6);
}

.auth-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.auth-page body,
body.auth-page {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--auth-dark-bg);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.auth-page body::before,
body.auth-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--auth-pink-gradient);
    opacity: 0.05;
    z-index: 0;
}

.auth-page .bg-circles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.auth-page .circle {
    position: absolute;
    border-radius: 50%;
    background: var(--auth-pink-gradient);
    opacity: 0.1;
    animation: authFloat 20s infinite ease-in-out;
}

.auth-page .circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.auth-page .circle:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: 3s;
}

.auth-page .circle:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 30%;
    animation-delay: 6s;
}

@keyframes authFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

.auth-page .auth-container {
    position: relative;
    z-index: 1;
}

.auth-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 3rem;
    animation: authFadeInUp 0.8s ease-out;
}

@keyframes authFadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-page .logo-container {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-page .logo-icon {
    font-size: 4rem;
    background: var(--auth-pink-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-page .logo-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--auth-white);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.auth-page .logo-subtitle {
    color: var(--auth-white-60);
    font-size: 1rem;
}

.auth-page .form-label {
    color: var(--auth-white-80);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.auth-page .input-group-text {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    color: var(--auth-primary);
    border-radius: 12px 0 0 12px;
}

.auth-page .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--auth-white);
    border-radius: 12px;
}

.auth-page .input-group .form-control {
    border-left: none;
    border-radius: 0 12px 12px 0;
}

.auth-page .form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--auth-primary);
    box-shadow: 0 0 0 4px rgba(240, 147, 251, 0.1);
    color: var(--auth-white);
}

.auth-page .form-check-input {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.auth-page .form-check-input:checked {
    background: var(--auth-pink-gradient);
    border-color: var(--auth-primary);
}

.auth-page .form-check-label {
    color: var(--auth-white-80);
}

.auth-page .btn-auth-primary {
    background: var(--auth-pink-gradient);
    border: none;
    color: var(--auth-white);
    font-weight: 600;
    padding: 1rem;
    border-radius: 12px;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(240, 147, 251, 0.3);
}

.auth-page .btn-auth-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(240, 147, 251, 0.4);
}

.auth-page .auth-link {
    color: var(--auth-primary);
    text-decoration: none;
}

.auth-page .auth-link:hover {
    color: var(--auth-secondary);
}

.auth-page .back-link {
    color: var(--auth-white-60);
    text-decoration: none;
}

.auth-page .back-link:hover {
    color: var(--auth-white);
}

.auth-page .alert {
    background: rgba(245, 87, 108, 0.15);
    border: 1px solid rgba(245, 87, 108, 0.3);
    border-left: 4px solid var(--auth-secondary);
    color: var(--auth-white);
    border-radius: 12px;
}

.auth-page .btn-close {
    filter: invert(1);
}

@media (max-width: 768px) {
    .auth-page .auth-card {
        padding: 2rem 1.5rem;
    }
    .auth-page .logo-title {
        font-size: 1.5rem;
    }
    .auth-page .logo-icon {
        font-size: 3rem;
    }
}
