/* Confirmation Modal Styles */
/* Reusable confirmation dialog for dangerous actions like delete */

.confirmation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001; /* Above everything else */
    display: none;
}

.confirmation-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
}

.confirmation-modal-content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    padding: 32px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: confirmationSlideIn 0.25s ease-out;
}

@keyframes confirmationSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -55%) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.confirmation-icon {
    font-size: 56px;
    margin-bottom: 20px;
    text-align: center;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.confirmation-modal-content h2 {
    margin: 0 0 16px 0;
    color: #2c3e50;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}

.confirmation-modal-content .confirmation-message {
    margin: 0 0 12px 0;
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
}

.confirmation-details {
    background: #f8f9fa;
    border-left: 4px solid #e74c3c;
    padding: 16px;
    margin: 20px 0;
    border-radius: 4px;
}

.confirmation-details ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.confirmation-details ul li {
    margin: 4px 0;
}

.confirmation-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.confirmation-btn {
    padding: 12px 28px;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.confirmation-btn.danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.confirmation-btn.danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(231, 76, 60, 0.4);
}

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

.confirmation-btn.cancel {
    background: #f8f9fa;
    color: #555;
    border: 1px solid #e9ecef;
}

.confirmation-btn.cancel:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

.confirmation-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Title for specific item being deleted */
.confirmation-item-title {
    font-weight: 600;
    color: #2c3e50;
    background: #fff3cd;
    padding: 8px 12px;
    border-radius: 6px;
    margin: 12px 0;
    text-align: center;
    border-left: 4px solid #ffc107;
    word-break: break-word;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .confirmation-modal-content {
        padding: 24px;
        max-width: 95%;
    }
    
    .confirmation-icon {
        font-size: 48px;
        margin-bottom: 16px;
    }
    
    .confirmation-modal-content h2 {
        font-size: 20px;
    }
    
    .confirmation-actions {
        flex-direction: column;
    }
    
    .confirmation-btn {
        width: 100%;
    }
}

