/* ===== Popup / Modal ===== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal.open {
    display: flex;
}

.modal-content {
    background: var(--bg-light);
    padding: 24px;
    border-radius: var(--radius);
    width: 400px;
    box-shadow: var(--shadow);
    z-index: 1001;
    position: relative;
}

.modal-actions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* ===== Mobile Responsiveness ===== */

@media (max-width: 480px) {
    .modal-content {
        width: 90%;
        max-width: 350px;
        padding: 20px;
    }

    .modal-actions {
        flex-direction: column;
        gap: 12px;
    }

    .modal-actions .btn {
        width: 100%;
    }
}
