/* Auth Modal Styles */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.auth-modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

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

.auth-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 0;
    border-bottom: 1px solid #e5e7eb;
}

.auth-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
}

.auth-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

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

.auth-modal-body {
    padding: 24px;
}

.auth-form-section {
    display: block;
}

.auth-form-section.hidden {
    display: none;
}

/* Loading spinner */
.auth-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.auth-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #f3f4f6;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success message */
.auth-success {
    text-align: center;
    padding: 40px 24px;
}

.auth-success-icon {
    width: 64px;
    height: 64px;
    background-color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.auth-success-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

/* Responsive design */
@media (max-width: 480px) {
    .auth-modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .auth-modal-header {
        padding: 16px 20px 0;
    }
    
    .auth-modal-body {
        padding: 20px;
    }
    
    .auth-modal-header h2 {
        font-size: 1.25rem;
    }
} 