/* EKFC Confirmation Dialog */

.ekfc-confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease-out;
}

.ekfc-confirm-overlay.hiding {
    animation: fadeOut 0.2s ease-out;
}

.ekfc-confirm-modal {
    background: white;
    border-radius: 16px;
    padding: 32px;
    max-width: 440px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
}

.ekfc-confirm-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

/* Warning type */
.ekfc-confirm-modal.warning .ekfc-confirm-icon {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
}

.ekfc-confirm-modal.warning .ekfc-btn-confirm {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* Danger type */
.ekfc-confirm-modal.danger .ekfc-confirm-icon {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
}

.ekfc-confirm-modal.danger .ekfc-btn-confirm {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

/* Info type */
.ekfc-confirm-modal.info .ekfc-confirm-icon {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #2563eb;
}

.ekfc-confirm-modal.info .ekfc-btn-confirm {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.ekfc-confirm-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 12px 0;
}

.ekfc-confirm-message {
    font-size: 15px;
    color: #6b7280;
    margin: 0 0 24px 0;
    line-height: 1.6;
}

.ekfc-confirm-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.ekfc-confirm-actions button {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 100px;
}

.ekfc-btn-cancel {
    background: #f3f4f6;
    color: #374151;
}

.ekfc-btn-cancel:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
}

.ekfc-btn-confirm {
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ekfc-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.ekfc-btn-confirm:active {
    transform: translateY(0);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    to { opacity: 0; }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}