/* SweetAlert2 Özel Stilleri */

.swal-popup-custom {
    border-radius: 20px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%) !important;
}

.swal-title-custom {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-weight: 700 !important;
    font-size: 28px !important;
    margin-bottom: 20px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.swal-content-custom {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #2c3e50 !important;
}

.swal-confirm-custom {
    border-radius: 25px !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.swal-confirm-custom:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
}

/* Loading spinner özelleştirmesi */
.swal2-loader {
    border-color: #007bff transparent #007bff transparent !important;
}

/* Progress bar özelleştirmesi */
.swal2-timer-progress-bar {
    background: linear-gradient(90deg, #007bff, #28a745) !important;
    border-radius: 10px !important;
}

/* Icon animasyonları */
.swal2-success-circular-line-right,
.swal2-success-circular-line-left,
.swal2-success-fix {
    background-color: #28a745 !important;
}

.swal2-success-ring {
    border-color: #28a745 !important;
}

/* Error icon özelleştirmesi */
.swal2-error {
    border-color: #dc3545 !important;
}

.swal2-error [class^=swal2-x-mark-line] {
    background-color: #dc3545 !important;
}

/* Warning icon özelleştirmesi */
.swal2-warning {
    border-color: #ffc107 !important;
    color: #ffc107 !important;
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .swal-popup-custom {
        width: 90% !important;
        margin: 0 auto !important;
    }
    
    .swal-title-custom {
        font-size: 24px !important;
    }
    
    .swal-content-custom {
        font-size: 14px !important;
    }
    
    .swal-confirm-custom {
        padding: 10px 25px !important;
        font-size: 14px !important;
    }
}

/* Dark mode desteği */
@media (prefers-color-scheme: dark) {
    .swal-popup-custom {
        background: linear-gradient(135deg, rgba(44, 62, 80, 0.95) 0%, rgba(52, 73, 94, 0.9) 100%) !important;
        color: #ecf0f1 !important;
    }
    
    .swal-content-custom {
        color: #ecf0f1 !important;
    }
}

/* Animasyon efektleri */
@keyframes sweetAlertFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.swal-popup-custom {
    animation: sweetAlertFadeIn 0.4s ease-out !important;
}

/* Gradient butonlar */
.swal2-styled.swal2-confirm {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
}

.swal2-styled.swal2-cancel {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%) !important;
}

/* Özel icon stilleri */
.swal2-icon.swal2-success {
    border-color: #28a745 !important;
}

.swal2-icon.swal2-success [class^=swal2-success-circular-line] {
    background-color: #28a745 !important;
}

.swal2-icon.swal2-success [class^=swal2-success-line] {
    background-color: #28a745 !important;
}

/* Hover efektleri */
.swal2-styled:focus {
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25) !important;
}

/* Özel scrollbar */
.swal2-html-container::-webkit-scrollbar {
    width: 6px;
}

.swal2-html-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.swal2-html-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #007bff, #28a745);
    border-radius: 10px;
}

.swal2-html-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0056b3, #1e7e34);
}
