/* Testimonials Modal Stilleri */

/* Modern Onay Modal Stilleri */
.confirm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(8px);
}

.confirm-modal {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e1e5e9;
    position: relative;
    overflow: hidden;
}

.confirm-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #3b82f6, #8b5cf6);
}

.confirm-modal.show {
    transform: scale(1);
    opacity: 1;
}

.confirm-modal-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    animation: iconBounce 0.6s ease-out;
}

.confirm-modal-icon.warning {
    color: #f59e0b;
}

.confirm-modal-icon.danger {
    color: #ef4444;
}

.confirm-modal-icon.success {
    color: #10b981;
}

.confirm-modal-icon.info {
    color: #3b82f6;
}

.confirm-modal-icon.question {
    color: #8b5cf6;
}

.confirm-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
    line-height: 1.3;
}

.confirm-modal-message {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.confirm-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.confirm-modal-btn {
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    position: relative;
    overflow: hidden;
}

.confirm-modal-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.confirm-modal-btn:hover::before {
    left: 100%;
}

.confirm-modal-btn-cancel {
    background-color: #6b7280;
    color: white;
}

.confirm-modal-btn-cancel:hover {
    background-color: #4b5563;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 114, 128, 0.3);
}

.confirm-modal-btn-confirm {
    background-color: #ef4444;
    color: white;
}

.confirm-modal-btn-confirm:hover {
    background-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

.confirm-modal-btn-success {
    background-color: #10b981;
    color: white;
}

.confirm-modal-btn-success:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.confirm-modal-btn-info {
    background-color: #3b82f6;
    color: white;
}

.confirm-modal-btn-info:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Animasyonlar */
@keyframes iconBounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -20px, 0);
    }
    70% {
        transform: translate3d(0, -10px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.confirm-modal.show {
    animation: modalSlideIn 0.4s ease-out forwards;
}

/* Responsive */
@media (max-width: 480px) {
    .confirm-modal {
        padding: 1.5rem;
        margin: 1rem;
        border-radius: 12px;
    }
    
    .confirm-modal-buttons {
        flex-direction: column;
    }
}
