/* ═══════════════════════════════════════════════════════════════════════════════
   PAZARIX SWEETALERT MODERN OVERRIDE
   Modern, Minimal, Siyah Konsept
   Tarih: 2026-01-18
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────────────
   1. OVERLAY (Arka plan karartma)
   ───────────────────────────────────────────────────────────────────────────── */
.sweet-overlay {
    background-color: rgba(0, 0, 0, 0.65) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* ─────────────────────────────────────────────────────────────────────────────
   2. MODAL KUTUSU
   ───────────────────────────────────────────────────────────────────────────── */
.sweet-alert {
    background-color: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    padding: 32px 24px 24px 24px !important;
    max-width: 400px !important;
    width: calc(100% - 40px) !important;
    border: none !important;
}

@media (max-width: 480px) {
    .sweet-alert {
        padding: 24px 16px 20px 16px !important;
        border-radius: 12px !important;
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   3. BAŞLIK (h2)
   ───────────────────────────────────────────────────────────────────────────── */
.sweet-alert h2 {
    font-family: 'Inter', 'Poppins', -apple-system, sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    margin: 16px 0 8px 0 !important;
    line-height: 1.4 !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   4. AÇIKLAMA METNI (p)
   ───────────────────────────────────────────────────────────────────────────── */
.sweet-alert p {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #6B7280 !important;
    line-height: 1.6 !important;
    margin: 0 0 24px 0 !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   5. İKONLAR - Modern Minimal
   ───────────────────────────────────────────────────────────────────────────── */
.sweet-alert .icon {
    width: 64px !important;
    height: 64px !important;
    margin: 0 auto 8px auto !important;
    border-width: 3px !important;
}

/* Success - Yeşil */
.sweet-alert .icon.success {
    border-color: #059669 !important;
}

.sweet-alert .icon.success .line {
    background-color: #059669 !important;
}

.sweet-alert .icon.success .placeholder {
    border-color: rgba(5, 150, 105, 0.2) !important;
}

/* Error - Kırmızı */
.sweet-alert .icon.error {
    border-color: #DC2626 !important;
}

.sweet-alert .icon.error .line {
    background-color: #DC2626 !important;
}

/* Warning - Turuncu/Sarı */
.sweet-alert .icon.warning {
    border-color: #F59E0B !important;
}

.sweet-alert .icon.warning .body,
.sweet-alert .icon.warning .dot {
    background-color: #F59E0B !important;
}

/* Info - Siyah */
.sweet-alert .icon.info {
    border-color: #000000 !important;
}

.sweet-alert .icon.info::before,
.sweet-alert .icon.info::after {
    background-color: #000000 !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   6. BUTONLAR - Modern Minimal
   ───────────────────────────────────────────────────────────────────────────── */
.sweet-alert button {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    min-width: 100px !important;
    margin: 4px !important;
}

/* Ana Buton - Siyah */
.sweet-alert button.confirm,
.sweet-alert button.btn-info,
.sweet-alert button.btn-primary {
    background: #000000 !important;
    color: #ffffff !important;
    border: 2px solid #000000 !important;
}

.sweet-alert button.confirm:hover,
.sweet-alert button.btn-info:hover,
.sweet-alert button.btn-primary:hover {
    background: #1f2937 !important;
    border-color: #1f2937 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* Success Butonu */
.sweet-alert button.btn-success {
    background: #059669 !important;
    color: #ffffff !important;
    border: 2px solid #059669 !important;
}

.sweet-alert button.btn-success:hover {
    background: #fe7017 !important;
    border-color: #fe7017 !important;
}

/* Danger Butonu */
.sweet-alert button.btn-danger {
    background: #DC2626 !important;
    color: #ffffff !important;
    border: 2px solid #DC2626 !important;
}

.sweet-alert button.btn-danger:hover {
    background: #B91C1C !important;
    border-color: #B91C1C !important;
}

/* Warning Butonu */
.sweet-alert button.btn-warning {
    background: #F59E0B !important;
    color: #ffffff !important;
    border: 2px solid #F59E0B !important;
}

.sweet-alert button.btn-warning:hover {
    background: #D97706 !important;
    border-color: #D97706 !important;
}

/* İkincil Buton - Outline */
.sweet-alert button.cancel,
.sweet-alert button.btn-default {
    background: transparent !important;
    color: #000000 !important;
    border: 2px solid #E5E7EB !important;
}

.sweet-alert button.cancel:hover,
.sweet-alert button.btn-default:hover {
    background: #F9FAFB !important;
    border-color: #D1D5DB !important;
}

/* Buton Focus durumları */
.sweet-alert button:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1) !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   7. KAPAT BUTONU (X)
   ───────────────────────────────────────────────────────────────────────────── */
.sweet-alert .la-close,
.sweet-alert .close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #F3F4F6 !important;
    color: #6B7280 !important;
    font-size: 18px !important;
    line-height: 32px !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    border: none !important;
}

.sweet-alert .la-close:hover,
.sweet-alert .close:hover {
    background: #E5E7EB !important;
    color: #000000 !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   8. ANİMASYONLAR
   ───────────────────────────────────────────────────────────────────────────── */
@keyframes pzxSweetShow {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.showSweetAlert {
    animation: pzxSweetShow 0.25s ease-out !important;
}