/* ===================================
   MODAL STYLES
   Authentication modal and overlay styles
   =================================== */

/* Modal Overlay */
.auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: var(--z-modal);
    align-items: center;
    justify-content: center;
}

.auth-modal.show {
    display: flex;
    animation: modalFadeIn 0.3s ease-out;
}

/* Modal Content */
.auth-modal-content {
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Close Button */
.close-modal {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition-base);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

/* Modal Typography */
.auth-modal h2 {
    font-size: 2rem;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-modal p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

/* Modal Footer Text */
.auth-modal p:last-child {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: var(--space-md);
    margin-bottom: 0;
}