/* ============================================
   LOVEFORM CONFIRMATION MODAL STYLES
   Beautiful, user-friendly confirmation dialogs
   ============================================ */

/* Modal backdrop with blur effect */
.modal-backdrop.show {
    backdrop-filter: blur(4px);
    background-color: rgba(0, 0, 0, 0.5);
}

/* Confirmation modal specific styles */
#confirmModal .modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* Modal header with gradient */
#confirmModal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-bottom: none;
    padding: 1.25rem 1.5rem;
}

#confirmModal .modal-header .modal-title {
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
}

#confirmModal .modal-header .modal-title i {
    color: #ffd700;
    font-size: 1.25rem;
}

#confirmModal .modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

#confirmModal .modal-header .btn-close:hover {
    opacity: 1;
}

/* Modal body */
#confirmModal .modal-body {
    padding: 2rem 1.5rem;
    background-color: #f8f9fa;
}

#confirmModal .modal-body p {
    color: #495057;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Modal footer */
#confirmModal .modal-footer {
    background-color: #f8f9fa;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.75rem;
}

/* Button styles */
#confirmModal .modal-footer .btn {
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

#confirmModal .modal-footer .btn i {
    font-size: 1rem;
}

/* Cancel button */
#confirmModal .modal-footer .btn-secondary {
    background-color: #e9ecef;
    border: 1px solid #dee2e6;
    color: #495057;
}

#confirmModal .modal-footer .btn-secondary:hover {
    background-color: #dee2e6;
    border-color: #d6d9dc;
    transform: translateY(-1px);
}

/* Danger button for delete actions */
#confirmModal .modal-footer .btn-danger {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.3);
}

#confirmModal .modal-footer .btn-danger:hover {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.4);
}

/* Warning button for remove actions */
#confirmModal .modal-footer .btn-warning {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    border: none;
    color: #495057;
    box-shadow: 0 4px 15px rgba(254, 225, 64, 0.3);
}

#confirmModal .modal-footer .btn-warning:hover {
    background: linear-gradient(135deg, #fee140 0%, #fa709a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 225, 64, 0.4);
}

/* Modal animation */
#confirmModal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: scale(0.9);
}

#confirmModal.show .modal-dialog {
    transform: scale(1);
}

/* Responsive adjustments */
@media (max-width: 576px) {
    #confirmModal .modal-dialog {
        margin: 1rem;
    }
    
    #confirmModal .modal-content {
        border-radius: 8px;
    }
    
    #confirmModal .modal-body {
        padding: 1.5rem 1rem;
    }
    
    #confirmModal .modal-body p {
        font-size: 1rem;
    }
}