.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--color-surface-2);
    border-radius: 12px;
    padding: 1.5rem;
    width: 90%;
    max-width: 400px;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-theme .modal {
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.25rem;
}

.modal-icon.warning {
    background-color: rgba(234, 179, 8, 0.2);
    color: #fbbf24;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
}

.dark-theme .modal-title {
    color: #ffffff;
}

.modal-content {
    color: var(--color-text);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-size: 1rem;
}

.dark-theme .modal-content {
    color: #e5e5e5;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-btn {
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-size: 0.95rem;
}

.modal-btn.cancel {
    background-color: #3a3a3a;
    color: #ffffff;
}

.dark-theme .modal-btn.cancel {
    background-color: #404040;
    color: #ffffff;
}

.modal-btn.cancel:hover {
    background-color: #404040;
}

.dark-theme .modal-btn.cancel:hover {
    background-color: #4a4a4a;
}

.modal-btn.confirm {
    background-color: #ef4444;
    color: #ffffff;
}

.modal-btn.confirm:hover {
    background-color: #dc2626;
    transform: translateY(-1px);
}
