/* Auth Modal Overlay - Moved from index.html */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

/* Auth Modal Styles */
.modal-auth-dialog {
    background: #fff;
    width: 90%;
    max-width: 400px;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-purple, #6200EA);
}

.auth-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.auth-label {
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
}

.auth-input {
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border 0.2s;
}

.auth-input:focus {
    border-color: var(--primary-purple, #6200EA);
}

.btn-auth-action {
    background: var(--primary-purple, #6200EA);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}

.btn-auth-action:hover {
    opacity: 0.9;
}

.auth-footer {
    text-align: center;
    font-size: 13px;
    color: #6b7280;
}

.auth-link {
    color: var(--primary-purple, #6200EA);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}