﻿/* ============================================
   Polly - Auth Pages (Light Theme)
   ============================================ */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F8FAFF 0%, #EFF6FF 50%, #F0F7FF 100%);
    padding: 40px 24px;
    position: relative;
    overflow: hidden;
}

.auth-page::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(58, 175, 255, 0.07) 0%, transparent 70%);
    top: -10%; right: -5%;
}

.auth-page::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(30, 136, 229, 0.05) 0%, transparent 70%);
    bottom: -10%; left: -5%;
}

.auth-container {
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 1;
}

.auth-card {
    background: #FFFFFF;
    border: 1px solid #F1F5F9;
    border-radius: 20px;
    padding: 48px 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    animation: fadeInUp 0.5s ease;
}

.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo img {
    width: 56px; height: 56px;
    border-radius: 50%;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(58, 175, 255, 0.15);
}

.auth-logo h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1A1A2E;
}

.auth-logo p {
    color: #94A3B8;
    font-size: 0.9rem;
    margin-top: 4px;
}

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-form .form-group label {
    display: block;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 7px;
}

.auth-form .form-group label i {
    color: #94A3B8;
    margin-right: 4px;
}

.auth-form .form-group input {
    width: 100%;
    padding: 13px 16px;
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 10px;
    color: #1A1A2E;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.auth-form .form-group input::placeholder {
    color: #CBD5E1;
}

.auth-form .form-group input:focus {
    outline: none;
    border-color: #3AAFFF;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(58, 175, 255, 0.1);
}

.auth-form .btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #3AAFFF, #1E88E5);
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(58, 175, 255, 0.35);
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    color: #94A3B8;
    font-size: 0.9rem;
}

.auth-footer a {
    color: #3AAFFF;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Alert overrides for light theme */
.auth-page .alert-custom {
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.88rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-page .alert-success {
    background: rgba(0, 200, 83, 0.08);
    border: 1px solid rgba(0, 200, 83, 0.2);
    color: #00895A;
}

.auth-page .alert-danger {
    background: rgba(255, 82, 82, 0.08);
    border: 1px solid rgba(255, 82, 82, 0.2);
    color: #D32F2F;
}

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

@media (max-width: 480px) {
    .auth-card { padding: 36px 24px; }
}
