/* Minimal modal styles for dashboard - extracted from style.css */
/* Only includes modal positioning, no dashboard-specific styles */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s;
    align-items: center;
    justify-content: center;
}

#authModal {
    z-index: 1500;
}

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

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

/* Modal content box */
.modal-content {
    background: var(--bg-modal);
    padding: 32px;
    border-radius: 16px;
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.modal-content.large {
    max-width: 700px !important;
    width: 80% !important;
}

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

/* Dark theme modal content */
.dark-theme .modal-content {
    color: var(--text-muted);
}

.dark-theme .modal-content h2 {
    color: var(--text-accent);
}

/* Custom scrollbar for modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--bg-accent);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--text-accent);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--text-primary);
}

/* Notification badge dot */
.notification-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e74c3c; /* Red for light theme */
    margin-left: 6px;
    vertical-align: middle;
}

.dark-theme .notification-dot {
    background: #d4af37; /* Golden yellow for dark theme */
}

/* Close button */
.close {
    color: var(--text-secondary);
    float: right;
    font-size: 32px;
    font-weight: bold;
    line-height: 20px;
    cursor: pointer;
    transition: color 0.2s;
}

.close:hover,
.close:focus {
    color: var(--text-primary);
}
