/* Light Mode (padrão) */
.modal-elegant .modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
}

.modal-elegant .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1.5rem 2rem;
}

.modal-elegant .modal-title {
    font-weight: 700;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-elegant .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.modal-elegant .btn-close:hover {
    opacity: 1;
}

.modal-elegant .modal-body {
    padding: 2rem;
    font-size: 1rem;
    color: #334155;
    line-height: 1.7;
}

.modal-elegant .modal-body strong {
    color: #dc2626;
    font-weight: 600;
}

.warning-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid #f59e0b;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-top: 1rem;
    display: flex;
    align-items: start;
    gap: 0.75rem;
}

.warning-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.warning-text {
    font-size: 0.9rem;
    color: #78350f;
    line-height: 1.5;
}

.modal-elegant .modal-footer {
    padding: 1.5rem 2rem;
    border: none;
    background: #f8fafc;
    gap: 0.75rem;
}

.btn-cancel {
    background: white;
    border: 2px solid #e2e8f0;
    color: #64748b;
    padding: 0.625rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #475569;
    transform: translateY(-1px);
}

.btn-confirm {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border: none;
    color: white;
    padding: 0.625rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.btn-confirm:active {
    transform: translateY(0);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal.show .modal-elegant .modal-content {
    animation: modalFadeIn 0.3s ease;
}

/* Dark Mode */
[data-bs-theme="dark"] .modal-elegant .modal-content {
    background: #1e293b;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

[data-bs-theme="dark"] .modal-elegant .modal-header {
    background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
}

[data-bs-theme="dark"] .modal-elegant .modal-body {
    color: #cbd5e1;
    background: #1e293b;
}

[data-bs-theme="dark"] .modal-elegant .modal-body strong {
    color: #fca5a5;
}

[data-bs-theme="dark"] .warning-box {
    background: linear-gradient(135deg, #422006 0%, #78350f 100%);
    border-left-color: #f59e0b;
}

[data-bs-theme="dark"] .warning-text {
    color: #fde68a;
}

[data-bs-theme="dark"] .modal-elegant .modal-footer {
    background: #0f172a;
}

[data-bs-theme="dark"] .btn-cancel {
    background: #334155;
    border-color: #475569;
    color: #cbd5e1;
}

[data-bs-theme="dark"] .btn-cancel:hover {
    background: #475569;
    border-color: #64748b;
    color: #e2e8f0;
}

[data-bs-theme="dark"] .btn-confirm {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
    box-shadow: 0 4px 15px rgba(248, 113, 113, 0.3);
}

[data-bs-theme="dark"] .btn-confirm:hover {
    box-shadow: 0 6px 20px rgba(248, 113, 113, 0.4);
}