/*
 * Konelsis - ORTAK UYARI PENCERESI (D-506; resources/js/konelsis-alert.js). Sahibin sectigi 5 numara "Cam":
 * buzlu cam kart, degrade yuvarlak ikon, hap dugmeler; gunduz ikonda parlama var, gece modunda yok.
 * Yalniz Feature::UiAlerts acikken yuklenir (AdminPanelProvider STYLES_AFTER). Ayni gorunum Filament'in onay
 * pencerelerine (ikonlu, form icermeyen) de verilir; form acan pencereler degismez. Filament'in sag ustteki
 * bildirim kutulari gizlenir (yerlerine bu pencere acilir); dugmeli olanlar (.kc-keep) kalir.
 */

/* ---- Pencere ------------------------------------------------------------------------------------------------- */

.kc-al-layer {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    font-family: inherit;
}

.kc-al-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 30%, rgb(37 99 235 / .30), transparent 55%),
        radial-gradient(circle at 80% 75%, rgb(220 38 38 / .24), transparent 50%),
        rgb(15 23 42 / .38);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    animation: kc-al-fade .18s ease-out;
}

.kc-al {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    /* Sahip 4 Aralik 2026 ("yazı çok büyük ve ekranda 2 satıra felan düşüyor"; oneri "güzel önerileri uygula"):
       kart 350 -> 380 px, baslik 21 -> 17 px, simge 76 -> 64 px; "Baslik: KOD" alt satirda (konelsis-alert.js). */
    max-width: 380px;
    padding: 28px 24px 22px;
    border: 1px solid rgb(255 255 255 / .7);
    border-radius: 24px;
    background: rgb(255 255 255 / .82);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 30px 70px rgb(0 0 0 / .3);
    color: #0f172a;
    text-align: center;
    outline: none;
    overflow: hidden;
    animation: kc-al-pop .22s cubic-bezier(.2, .9, .3, 1.15);
}

.kc-al-ic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--kc-al-c), color-mix(in srgb, var(--kc-al-c) 55%, #fff));
    box-shadow: 0 10px 26px color-mix(in srgb, var(--kc-al-c) 45%, transparent);
    color: #fff;
}

.kc-al-ic svg {
    width: 32px;
    height: 32px;
}

.kc-al-ic .kc-al-draw {
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    animation: kc-al-draw .38s .12s ease-out forwards;
}

.kc-al-title {
    margin: 0 0 4px;
    color: inherit;
    font-size: 17px;
    font-weight: 650;
    line-height: 1.35;
    overflow-wrap: break-word;
    text-wrap: balance;
}

.kc-al-text {
    margin: 0;
    color: #64748b;
    font-size: 13.5px;
    line-height: 1.55;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.kc-al-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

.kc-al-btn {
    min-width: 96px;
    padding: 11px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease;
}

/* Sahip 4 Aralik 2026: "butonlara hover olunca renk değişimi tarzı butonun hover'lığı olması lazım". */
.kc-al-btn:hover { transform: translateY(-1px); }
.kc-al-btn:active { transform: translateY(0) scale(.98); }
.kc-al-btn:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.kc-al-btn.is-primary { background: #0f172a; color: #fff; }
.kc-al-btn.is-danger { background: #dc2626; color: #fff; }
.kc-al-btn.is-secondary { border-color: rgb(15 23 42 / .12); background: rgb(255 255 255 / .85); color: #0f172a; }
.kc-al-btn.is-primary:hover { background: #334155; box-shadow: 0 6px 16px rgb(15 23 42 / .28); }
.kc-al-btn.is-danger:hover { background: #b91c1c; box-shadow: 0 6px 16px rgb(220 38 38 / .32); }
.kc-al-btn.is-secondary:hover { border-color: rgb(15 23 42 / .28); background: #f1f5f9; box-shadow: 0 4px 12px rgb(15 23 42 / .1); }

.kc-al-bar {
    height: 4px;
    margin: 18px 0 -6px;
    border-radius: 9px;
    background: rgb(15 23 42 / .08);
    overflow: hidden;
}

.kc-al-bar i {
    display: block;
    height: 100%;
    background: var(--kc-al-c);
    transform-origin: left center;
    animation: kc-al-bar linear forwards;
}

.kc-al-layer.is-leaving .kc-al { animation: kc-al-out .15s ease-in forwards; }
.kc-al-layer.is-leaving .kc-al-backdrop { animation: kc-al-fade-out .15s ease-in forwards; }

/* Gece modu: koyu cam, ikonda parlama yok. */
.kc-al-layer.is-dark .kc-al-backdrop {
    background:
        radial-gradient(circle at 25% 30%, rgb(37 99 235 / .32), transparent 55%),
        radial-gradient(circle at 80% 75%, rgb(220 38 38 / .24), transparent 50%),
        rgb(0 0 0 / .55);
}

.kc-al-layer.is-dark .kc-al {
    border-color: rgb(255 255 255 / .1);
    background: rgb(24 24 27 / .78);
    box-shadow: 0 30px 70px rgb(0 0 0 / .55);
    color: #f8fafc;
}

.kc-al-layer.is-dark .kc-al-ic { box-shadow: none; }
.kc-al-layer.is-dark .kc-al-text { color: #a1a1aa; }
.kc-al-layer.is-dark .kc-al-btn.is-primary { background: #f8fafc; color: #0f172a; }
.kc-al-layer.is-dark .kc-al-btn.is-secondary { border-color: rgb(255 255 255 / .14); background: rgb(255 255 255 / .08); color: #e4e4e7; }
.kc-al-layer.is-dark .kc-al-btn.is-primary:hover { background: #cbd5e1; box-shadow: 0 6px 16px rgb(0 0 0 / .4); }
.kc-al-layer.is-dark .kc-al-btn.is-secondary:hover { border-color: rgb(255 255 255 / .3); background: rgb(255 255 255 / .16); color: #fff; }
.kc-al-layer.is-dark .kc-al-btn.is-danger:hover { background: #ef4444; }
.kc-al-layer.is-dark .kc-al-bar { background: rgb(255 255 255 / .1); }

@keyframes kc-al-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes kc-al-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes kc-al-pop { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
@keyframes kc-al-out { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(.96); } }
@keyframes kc-al-draw { to { stroke-dashoffset: 0; } }
@keyframes kc-al-bar { from { transform: scaleX(1); } to { transform: scaleX(0); } }

@media (prefers-reduced-motion: reduce) {
    .kc-al, .kc-al-backdrop, .kc-al-ic .kc-al-draw, .kc-al-layer.is-leaving .kc-al, .kc-al-layer.is-leaving .kc-al-backdrop { animation-duration: .01ms; }
}

/* ---- Filament: sag ustteki bildirim kutulari (yerlerine pencere acilir; dugmeli olanlar kalir) --------------------- */

html.kc-alerts .fi-no .fi-no-notification:not(.kc-keep):not(.fi-inline) {
    display: none !important;
}

/* ---- Filament: onay pencereleri (ikonlu, form icermeyen) ayni tasarimda; form acan pencereler degismez ------------ */

.fi-modal:has(.fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content)) .fi-modal-close-overlay {
    background:
        radial-gradient(circle at 25% 30%, rgb(37 99 235 / .30), transparent 55%),
        radial-gradient(circle at 80% 75%, rgb(220 38 38 / .24), transparent 50%),
        rgb(15 23 42 / .38) !important;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

/* Olculer uyari penceresiyle ayni (sahip 4 Aralik 2026: kart 380 px, baslik 17 px, simge 64 px). */
.fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) {
    max-width: 380px !important;
    padding: 28px 24px 22px !important;
    border: 1px solid rgb(255 255 255 / .7) !important;
    border-radius: 24px !important;
    background: rgb(255 255 255 / .82) !important;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 30px 70px rgb(0 0 0 / .3) !important;
    text-align: center;
}

.fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0 !important;
    padding: 0 !important;
    text-align: center;
}

.fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-close-btn {
    display: none !important;
}

.fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-icon-ctn {
    margin: 0 0 14px !important;
}

.fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-icon-bg {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 64px !important;
    height: 64px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, var(--kc-modal-c, #2563eb), color-mix(in srgb, var(--kc-modal-c, #2563eb) 55%, #fff)) !important;
    box-shadow: 0 10px 26px color-mix(in srgb, var(--kc-modal-c, #2563eb) 45%, transparent);
    color: #fff !important;
}

.fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-icon-bg.fi-color-danger { --kc-modal-c: #dc2626; }
.fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-icon-bg.fi-color-warning { --kc-modal-c: #d97706; }
.fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-icon-bg.fi-color-success { --kc-modal-c: #16a34a; }

.fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-icon-bg svg,
.fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-icon-bg .fi-icon {
    width: 32px !important;
    height: 32px !important;
    color: #fff !important;
}

.fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-heading {
    margin: 0 0 4px;
    color: #0f172a !important;
    font-size: 17px !important;
    font-weight: 650 !important;
    line-height: 1.35 !important;
    text-wrap: balance;
}

.fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-description {
    margin: 0 !important;
    color: #64748b !important;
    font-size: 13.5px !important;
    line-height: 1.55 !important;
}

.fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-footer {
    margin-top: 22px !important;
    padding: 0 !important;
}

.fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-footer-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center !important;
    gap: 10px !important;
}
.fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-footer-actions .fi-btn {
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 96px;
    padding: 11px 24px !important;
    border-radius: 999px !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
}

/* Filament gri dugmeye renk sinifi eklemez (HasDefaultGrayColor): renk sinifsiz dugme = Iptal / Vazgec (ikincil). */
.fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-footer-actions .fi-btn:not(.fi-color),
.fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-footer-actions .fi-btn.fi-color-gray {
    border: 1px solid rgb(15 23 42 / .12) !important;
    background: rgb(255 255 255 / .85) !important;
    box-shadow: none !important;
    color: #0f172a !important;
}

.fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-footer-actions .fi-btn.fi-color:not(.fi-color-gray):not(.fi-color-danger) {
    border: 0 !important;
    background: #0f172a !important;
    color: #fff !important;
}

.fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-footer-actions .fi-btn.fi-color-danger {
    border: 0 !important;
    background: #dc2626 !important;
    color: #fff !important;
}

/* Uzerine gelince (sahip 4 Aralik 2026: "butonlara hover olunca renk değişimi") */
.fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-footer-actions .fi-btn:hover { transform: translateY(-1px); }
.fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-footer-actions .fi-btn:active { transform: translateY(0) scale(.98); }
.fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-footer-actions .fi-btn:not(.fi-color):hover,
.fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-footer-actions .fi-btn.fi-color-gray:hover {
    border-color: rgb(15 23 42 / .28) !important;
    background: #f1f5f9 !important;
    box-shadow: 0 4px 12px rgb(15 23 42 / .1) !important;
}
.fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-footer-actions .fi-btn.fi-color:not(.fi-color-gray):not(.fi-color-danger):hover {
    background: #334155 !important;
    box-shadow: 0 6px 16px rgb(15 23 42 / .28) !important;
}
.fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-footer-actions .fi-btn.fi-color-danger:hover {
    background: #b91c1c !important;
    box-shadow: 0 6px 16px rgb(220 38 38 / .32) !important;
}

/* Gece modu */
.dark .fi-modal:has(.fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content)) .fi-modal-close-overlay {
    background:
        radial-gradient(circle at 25% 30%, rgb(37 99 235 / .32), transparent 55%),
        radial-gradient(circle at 80% 75%, rgb(220 38 38 / .24), transparent 50%),
        rgb(0 0 0 / .55) !important;
}

.dark .fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) {
    border-color: rgb(255 255 255 / .1) !important;
    background: rgb(24 24 27 / .78) !important;
    box-shadow: 0 30px 70px rgb(0 0 0 / .55) !important;
}

.dark .fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-icon-bg { box-shadow: none; }
.dark .fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-heading { color: #f8fafc !important; }
.dark .fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-description { color: #a1a1aa !important; }

.dark .fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-footer-actions .fi-btn:not(.fi-color),
.dark .fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-footer-actions .fi-btn.fi-color-gray {
    border-color: rgb(255 255 255 / .14) !important;
    background: rgb(255 255 255 / .08) !important;
    color: #e4e4e7 !important;
}

.dark .fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-footer-actions .fi-btn.fi-color:not(.fi-color-gray):not(.fi-color-danger) {
    background: #f8fafc !important;
    color: #0f172a !important;
}

.dark .fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-footer-actions .fi-btn:not(.fi-color):hover,
.dark .fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-footer-actions .fi-btn.fi-color-gray:hover {
    border-color: rgb(255 255 255 / .3) !important;
    background: rgb(255 255 255 / .16) !important;
    color: #fff !important;
}

.dark .fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-footer-actions .fi-btn.fi-color:not(.fi-color-gray):not(.fi-color-danger):hover {
    background: #cbd5e1 !important;
}

.dark .fi-modal-window.fi-modal-window-has-icon:not(.fi-modal-window-has-content) .fi-modal-footer-actions .fi-btn.fi-color-danger:hover {
    background: #ef4444 !important;
}

/* ---- Baglanti uyarisi (D-200 / D-212, konelsis-link-guard.js) ayni tasarimda ------------------------------------ */
/* Sahip 4 Aralik 2026: "bunu da aynı modal sistemiyle güncelleyebiliriz"; secim "B olsun uygula": ikon ortada,
 * ana dugme ("... sayfasına git") ustte tam genislik, "Satırın detayına git" ve "Sayfada kal" altta yan yana.
 * Pencerenin isleyisi degismez (konelsis-link-guard.js); yalniz gorunum. Ozellik kapaliyken eski gorunum. */

html.kc-alerts .kc-lg > .kc-lg-overlay {
    background:
        radial-gradient(circle at 25% 30%, rgb(37 99 235 / .30), transparent 55%),
        radial-gradient(circle at 80% 75%, rgb(220 38 38 / .24), transparent 50%),
        rgb(15 23 42 / .38) !important;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

html.kc-alerts .kc-lg .kc-lg-dialog {
    position: relative;
    width: 100%;
    max-width: 370px !important;
    padding: 28px 26px 24px !important;
    border: 1px solid rgb(255 255 255 / .7) !important;
    border-radius: 24px !important;
    background: rgb(255 255 255 / .82) !important;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 30px 70px rgb(0 0 0 / .3) !important;
    color: #0f172a;
    text-align: center;
}

html.kc-alerts .kc-lg .kc-lg-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
}

html.kc-alerts .kc-lg .kc-lg-icon {
    width: 72px;
    height: 72px;
    margin: 0 0 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, color-mix(in srgb, #2563eb 55%, #fff));
    box-shadow: 0 10px 26px rgb(37 99 235 / .45);
    color: #fff;
}

html.kc-alerts .kc-lg .kc-lg-icon > svg {
    width: 34px;
    height: 34px;
}

html.kc-alerts .kc-lg .kc-lg-title {
    flex: none;
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

html.kc-alerts .kc-lg .kc-lg-close {
    position: absolute;
    top: 14px;
    right: 14px;
    border-radius: 50%;
}

html.kc-alerts .kc-lg .kc-lg-body {
    margin: 0;
    color: #475569;
    font-size: 14.5px;
    line-height: 1.55;
}

html.kc-alerts .kc-lg .kc-lg-body strong {
    color: #0f172a;
    font-weight: 700;
}

html.kc-alerts .kc-lg .kc-lg-footer {
    padding: 22px 0 0;
}

/* B: ana dugme ustte tam genislik; digerleri altta yan yana (tek ise o da tam genislik). */
html.kc-alerts .kc-lg .kc-lg-actions,
html.kc-alerts .kc-lg .kc-lg-actions.kc-lg-actions-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

html.kc-alerts .kc-lg .kc-lg-actions > .kc-lg-btn {
    width: 100%;
    min-width: 0;
    padding: 11px 14px !important;
    border-radius: 999px !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    white-space: nowrap;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease !important;
}

html.kc-alerts .kc-lg .kc-lg-actions > .kc-lg-btn-go { order: -1; grid-column: 1 / -1; }
html.kc-alerts .kc-lg .kc-lg-actions > .kc-lg-btn-row { order: 0; }
html.kc-alerts .kc-lg .kc-lg-actions > .kc-lg-btn-stay { order: 1; }
html.kc-alerts .kc-lg .kc-lg-actions:not(:has(.kc-lg-btn-row)) > .kc-lg-btn-stay { grid-column: 1 / -1; }

html.kc-alerts .kc-lg .kc-lg-actions > .kc-lg-btn-go {
    border: 1px solid transparent !important;
    background: #0f172a !important;
    box-shadow: none !important;
    color: #fff !important;
}

html.kc-alerts .kc-lg .kc-lg-actions > .kc-lg-btn-row {
    border: 1px solid rgb(37 99 235 / .35) !important;
    background: rgb(37 99 235 / .08) !important;
    box-shadow: none !important;
    color: #1d4ed8 !important;
}

html.kc-alerts .kc-lg .kc-lg-actions > .kc-lg-btn-stay {
    border: 1px solid rgb(15 23 42 / .12) !important;
    background: rgb(255 255 255 / .85) !important;
    box-shadow: none !important;
    color: #0f172a !important;
}

html.kc-alerts .kc-lg .kc-lg-actions > .kc-lg-btn:hover { transform: translateY(-1px); }
html.kc-alerts .kc-lg .kc-lg-actions > .kc-lg-btn:active { transform: translateY(0) scale(.98); }
html.kc-alerts .kc-lg .kc-lg-actions > .kc-lg-btn-go:hover { background: #334155 !important; box-shadow: 0 6px 16px rgb(15 23 42 / .28) !important; }
html.kc-alerts .kc-lg .kc-lg-actions > .kc-lg-btn-row:hover { border-color: rgb(37 99 235 / .6) !important; background: rgb(37 99 235 / .16) !important; }
html.kc-alerts .kc-lg .kc-lg-actions > .kc-lg-btn-stay:hover { border-color: rgb(15 23 42 / .28) !important; background: #f1f5f9 !important; box-shadow: 0 4px 12px rgb(15 23 42 / .1) !important; }

/* Gece modu: koyu cam, ikonda parlama yok. */
html.kc-alerts.dark .kc-lg > .kc-lg-overlay {
    background:
        radial-gradient(circle at 25% 30%, rgb(37 99 235 / .32), transparent 55%),
        radial-gradient(circle at 80% 75%, rgb(220 38 38 / .24), transparent 50%),
        rgb(0 0 0 / .55) !important;
}

html.kc-alerts.dark .kc-lg .kc-lg-dialog {
    border-color: rgb(255 255 255 / .1) !important;
    background: rgb(24 24 27 / .78) !important;
    box-shadow: 0 30px 70px rgb(0 0 0 / .55) !important;
    color: #f8fafc;
}

html.kc-alerts.dark .kc-lg .kc-lg-icon { box-shadow: none; }
html.kc-alerts.dark .kc-lg .kc-lg-title,
html.kc-alerts.dark .kc-lg .kc-lg-body strong { color: #f8fafc; }
html.kc-alerts.dark .kc-lg .kc-lg-body { color: #a1a1aa; }
html.kc-alerts.dark .kc-lg .kc-lg-actions > .kc-lg-btn-go { background: #f8fafc !important; color: #0f172a !important; }
html.kc-alerts.dark .kc-lg .kc-lg-actions > .kc-lg-btn-go:hover { background: #cbd5e1 !important; }
html.kc-alerts.dark .kc-lg .kc-lg-actions > .kc-lg-btn-row { border-color: rgb(59 130 246 / .4) !important; background: rgb(59 130 246 / .14) !important; color: #93c5fd !important; }
html.kc-alerts.dark .kc-lg .kc-lg-actions > .kc-lg-btn-row:hover { background: rgb(59 130 246 / .24) !important; }
html.kc-alerts.dark .kc-lg .kc-lg-actions > .kc-lg-btn-stay { border-color: rgb(255 255 255 / .14) !important; background: rgb(255 255 255 / .08) !important; color: #e4e4e7 !important; }
html.kc-alerts.dark .kc-lg .kc-lg-actions > .kc-lg-btn-stay:hover { border-color: rgb(255 255 255 / .3) !important; background: rgb(255 255 255 / .16) !important; color: #fff !important; }

/* Telefon: dugmeler alt alta (ana dugme en ustte). */
@media (max-width: 400px) {
    html.kc-alerts .kc-lg .kc-lg-actions,
    html.kc-alerts .kc-lg .kc-lg-actions.kc-lg-actions-stack { grid-template-columns: 1fr; }
    html.kc-alerts .kc-lg .kc-lg-actions > .kc-lg-btn { grid-column: 1 / -1; white-space: normal; }
}
