@keyframes modal-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.confirm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(17, 24, 39, 0.8); /* Darker overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    animation: modal-fade-in 0.3s ease-out;
}

.confirm-modal-content {
    background: linear-gradient(145deg, #2a374a, #1f2937); /* Subtle gradient */
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 90%;
    max-width: 480px; /* Increased max-width */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: modal-slide-in 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.confirm-modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.confirm-modal-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(239, 68, 68, 0.1); /* Red accent */
    color: #ef4444; /* Red-500 */
}

.confirm-modal-header h3 {
    margin: 0;
    font-size: 1.5rem; /* Larger title */
    font-weight: 700;
    color: #f9fafb; /* Gray-50 */
}

.confirm-modal-body p {
    margin: 0;
    color: #d1d5db; /* Gray-300 */
    line-height: 1.6;
    font-size: 1rem;
}

.confirm-modal-body strong {
    color: #f9fafb;
    font-weight: 600;
}

.consequence-list {
    display: block;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 1.25rem;
    list-style-type: '• ';
    color: #9ca3af; /* Gray-400 */
    font-size: 0.9rem;
    line-height: 1.7;
}

.confirm-modal-actions {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Switched to grid for equal width */
    gap: 1rem;
}

.confirm-modal-actions button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem; /* Slightly larger radius */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    transform: translateY(0);
}

.confirm-modal-actions button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-cancel {
    background-color: #4b5563; /* Gray-600 */
    color: #f9fafb;
    border: 1px solid transparent;
}

.btn-cancel:hover {
    background-color: #6b7280; /* Gray-500 */
}

.btn-confirm {
    background-color: #dc2626; /* Red-600 */
    color: white;
    border: 1px solid transparent;
}

.btn-confirm:hover {
    background-color: #b91c1c; /* Red-700 */
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4); /* Red glow */
}