/**
 * Auth Modal Styles
 */

/* Modal Container */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.auth-modal.active {
    display: flex;
}

/* Backdrop */
.auth-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal Content */
.auth-modal-content {
    position: relative;
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.3s ease;
}

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

/* Close Button */
.auth-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border: none;
    background: #F3F4F6;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #6B7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.auth-modal-close:hover {
    background: #E5E7EB;
    color: #374151;
}

/* Header */
.auth-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-modal-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1A1A2E;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #5B47FB 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-modal-header p {
    color: #6B7280;
    font-size: 1rem;
}

/* Body - Auth Buttons */
.auth-modal-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

/* Google Button */
.auth-btn.google-btn {
    background: white;
    border-color: #E5E7EB;
    color: #374151;
}

.auth-btn.google-btn:hover {
    background: #F9FAFB;
    border-color: #D1D5DB;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

/* Apple Button */
.auth-btn.apple-btn {
    background: #000000;
    color: white;
}

.auth-btn.apple-btn:hover {
    background: #1a1a1a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

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

/* Footer */
.auth-modal-footer {
    margin-top: 1.5rem;
    text-align: center;
}

.auth-modal-footer p {
    font-size: 0.8rem;
    color: #9CA3AF;
}

.auth-modal-footer a {
    color: #5B47FB;
    text-decoration: none;
}

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

/* Responsive */
@media (max-width: 480px) {
    .auth-modal-content {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .auth-modal-header h2 {
        font-size: 1.5rem;
    }

    .auth-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}
