/* Sweet Alert Custom Styles */

/* Admin Panel Custom Styles */
.admin-swal-popup {
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
}

.admin-swal-title {
    font-weight: 600 !important;
    color: #2c3e50 !important;
    font-size: 20px !important;
}

.admin-swal-content {
    color: #6c757d !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
}

/* Telefon onay dialog'u için özel stiller */
.swal-phone-confirm .swal2-popup {
    border-radius: 16px !important;
    padding: 20px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
}

.swal-phone-popup {
    width: 450px !important;
    max-width: 90vw !important;
}

.swal-phone-title {
    font-size: 22px !important;
    font-weight: 600 !important;
    color: #333 !important;
    padding-bottom: 10px !important;
}

.swal-phone-content {
    padding: 0 !important;
}

.swal2-icon.swal2-question {
    color: #007bff !important;
    border-color: #007bff !important;
}

.swal2-confirm {
    background: #007bff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
}

.swal2-confirm:hover {
    background: #0056b3 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3) !important;
}

.swal2-cancel {
    background: #6c757d !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
}

.swal2-cancel:hover {
    background: #545b62 !important;
    transform: translateY(-1px) !important;
}

/* Toast bildirimleri için özel stiller */
.swal2-toast {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    border-radius: 8px !important;
}

.swal2-toast .swal2-title {
    font-size: 14px !important;
    font-weight: 500 !important;
    margin: 0 !important;
}

/* Progress bar stili */
#swal-progress-bar {
    width: 100%;
    height: 20px;
    background: #f3f3f3;
    border-radius: 10px;
    overflow: hidden;
    margin: 15px 0;
}

#swal-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #0056b3);
    transition: width 0.3s ease;
    border-radius: 10px;
}

/* Dark mode desteği */
@media (prefers-color-scheme: dark) {
    .swal2-popup {
        background: #2d3748 !important;
        color: #e2e8f0 !important;
    }

    .swal2-title {
        color: #f7fafc !important;
    }

    .swal2-content {
        color: #cbd5e0 !important;
    }

    #swal-progress-bar {
        background: #4a5568 !important;
    }
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .swal-phone-popup {
        width: 95vw !important;
        margin: 10px !important;
    }

    .swal-phone-title {
        font-size: 18px !important;
    }

    .swal2-confirm, .swal2-cancel {
        font-size: 13px !important;
        padding: 10px 20px !important;
    }
}

/* Animasyon geliştirmeleri */
.swal2-show {
    animation: swal2-show 0.3s ease-out !important;
}

.swal2-hide {
    animation: swal2-hide 0.15s ease-in !important;
}

@keyframes swal2-show {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes swal2-hide {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    100% {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
}

/* Loading spinner özelleştirmesi */
.swal2-loader {
    border-color: #007bff transparent #007bff transparent !important;
}

/* Icon renkleri */
.swal2-icon.swal2-success {
    border-color: #28a745 !important;
    color: #28a745 !important;
}

.swal2-icon.swal2-error {
    border-color: #dc3545 !important;
    color: #dc3545 !important;
}

.swal2-icon.swal2-warning {
    border-color: #ffc107 !important;
    color: #ffc107 !important;
}

.swal2-icon.swal2-info {
    border-color: #007bff !important;
    color: #007bff !important;
}