/* auth-modal.css */
.auth-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: var(--z-modal);
    animation: fadeIn 0.3s ease;
}

.auth-modal-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-modal-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
    padding: 3px;
    max-width: 450px;
    width: 90%;
    animation: slideInUp 0.4s ease;
}

.auth-modal-content {
    background: var(--modal-bg);
    border-radius: 21px;
    padding: 40px;
    text-align: center;
}

.auth-modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.auth-modal-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.auth-modal-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-modal-message {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.auth-modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.auth-modal-btn {
    padding: 12px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-modal-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.auth-modal-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.auth-modal-btn.secondary {
    background: var(--hover-bg);
    color: var(--text-muted);
}

.auth-modal-btn.secondary:hover {
    background: var(--border-color);
}

/* Using animations from theme.css:
   - fadeIn for overlay
   - slideInUp for modal sliding up
   - pulse for icon animation */

/* Dark mode support */
[data-theme="dark"] .auth-modal-content {
    background: var(--card-bg);
}

[data-theme="dark"] .auth-modal-message {
    color: var(--text-muted);
}

[data-theme="dark"] .auth-modal-btn.secondary {
    background: var(--hover-bg);
    color: var(--text);
}

[data-theme="dark"] .auth-modal-btn.secondary:hover {
    background: var(--activity-bg);
}