/* Custom Confirmation Dialog Styles */
.confirmation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.confirmation-overlay.show {
    opacity: 1;
    visibility: visible;
}

.confirmation-dialog {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    color: white;
    max-width: 420px;
    width: 90%;
    margin: 0 auto;
    transform: scale(0.7) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    position: relative;
}

.confirmation-overlay.show .confirmation-dialog {
    transform: scale(1) translateY(0);
}

.confirmation-dialog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3);
    background-size: 300% 100%;
    animation: rainbow 3s ease infinite;
}

@keyframes rainbow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.confirmation-header {
    padding: 24px 24px 16px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.confirmation-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.confirmation-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 8px;
    font-family: 'Inter', sans-serif;
}

.confirmation-subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 400;
}

.confirmation-body {
    padding: 20px 24px;
    text-align: center;
}

.confirmation-message {
    font-size: 1.1rem;
    line-height: 1.5;
    margin: 0;
    opacity: 0.95;
}

.confirmation-actions {
    padding: 16px 24px 24px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.confirmation-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    min-width: 100px;
    position: relative;
    overflow: hidden;
}

.confirmation-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.confirmation-btn:hover::before {
    width: 100px;
    height: 100px;
}

.confirmation-btn-cancel {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.confirmation-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.confirmation-btn-confirm {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    box-shadow: 0 4px 12px rgba(238, 90, 82, 0.3);
}

.confirmation-btn-confirm:hover {
    background: linear-gradient(135deg, #ff5252, #e53935);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(238, 90, 82, 0.4);
}

.confirmation-btn:active {
    transform: translateY(0);
}

.confirmation-btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .confirmation-dialog {
        width: 95%;
        margin: 20px;
    }
    
    .confirmation-actions {
        flex-direction: column;
    }
    
    .confirmation-btn {
        width: 100%;
    }
    
    .confirmation-title {
        font-size: 1.3rem;
    }
    
    .confirmation-message {
        font-size: 1rem;
    }
}

/* Animation for smooth entrance */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.confirmation-overlay.show .confirmation-dialog {
    animation: slideInUp 0.3s ease-out;
}