/* ═══════════════════════════════════════════════
   OMEGA ERA 7.2.3 — MODAL & DIALOG SYSTEM
   ═══════════════════════════════════════════════ */

.modal {
    display: none;
    position: fixed;
    z-index: 30000;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    padding: 30px;
    border: 1px solid #444;
    border-radius: 8px;
    width: auto;
    min-width: 400px;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.9), 0 0 30px rgba(0,242,255,0.05);
    animation: modal-enter 0.3s ease-out;
}

@keyframes modal-enter {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-title {
    margin: 0 0 20px 0;
    font-size: 1.2rem;
    letter-spacing: 4px;
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #555;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-btn:hover {
    color: #ff4444;
}

.modal-ok-btn {
    margin-top: 25px;
    background: transparent;
    border: 1px solid #444;
    color: #888;
    padding: 10px 30px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 900;
    transition: all 0.2s;
}

.modal-ok-btn:hover {
    background: var(--wb-primary);
    color: #000;
    border-color: var(--wb-primary);
    box-shadow: 0 0 15px var(--wb-primary);
}

/* Specific Modals */
.presets-modal-content {
    width: 90%;
    max-width: 1000px;
}

.modulation-modal-content {
    width: 95%;
    max-width: 1200px;
    height: 80vh;
}
