/*
 * Exodus Yazilim demo seridi
 *
 * Yalnizca barindirilan demo kopyalarinda kullanilir (exodusyazilim.com/demos/*
 * ve demoN.exodusyazilim.com). Musteriye teslim edilen sablon dosyalarinda YOKTUR.
 *
 * Serit sabit yukseklikte (--edb-h) oldugu icin sayfa kaymaz (CLS yok):
 * serit DOM'da durdugu surece body ve data-edb-fixed isaretli sabit menu
 * asagi itilir; serit kapatilinca (.edb kaldirilinca) :has() eslesmesi biter.
 *
 * Secicilerin cogu ".edb ..." ile baslar: demonun genel a/span/button kurallari
 * (or. a:hover) seridin gorunumunu bozmasin.
 */
:root { --edb-h: 36px; }

.edb {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2147483000;
    box-sizing: border-box;
    height: var(--edb-h);
    margin: 0;
    padding: 0 40px 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #0a0a0a;
    color: #d4d4d4;
    border-bottom: 1px solid rgba(245, 166, 35, 0.35);
    font: 500 13px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    letter-spacing: normal;
    text-align: left;
    text-transform: none;
    cursor: auto;
}

.edb .edb__text {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.edb .edb__brand { color: #ffffff; font-weight: 600; }
.edb .edb__note { margin-left: 6px; color: #a3a3a3; }
.edb .edb__short { display: none; }

.edb .edb__link {
    flex: none;
    color: #f5a623;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}
.edb .edb__link:hover { color: #f5a623; text-decoration: underline; }

.edb .edb__close {
    position: absolute;
    top: 50%;
    right: 4px;
    width: 30px;
    height: 30px;
    margin: -15px 0 0;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #a3a3a3;
    font: 400 20px/1 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    cursor: pointer;
}
.edb .edb__close:hover { color: #ffffff; background: rgba(255, 255, 255, 0.08); }

.edb .edb__link:focus-visible,
.edb .edb__close:focus-visible { outline: 2px solid #f5a623; outline-offset: 2px; }

@media (max-width: 1100px) {
    .edb .edb__note { display: none; }
}

@media (max-width: 640px) {
    .edb { justify-content: flex-start; gap: 6px; padding: 0 36px 0 10px; font-size: 12px; }
    .edb .edb__long { display: none; }
    .edb .edb__short { display: inline; }
}

/* Serit gorunurken sayfayi ve sabit/yapiskan menuyu serit kadar asagi it. */
body:has(> .edb) { padding-top: var(--edb-h); }
body:has(> .edb) [data-edb-fixed] { top: var(--edb-h); }

/* Demo form uyarisi: formlar hicbir yere veri gondermez.
   Renk ve yazi tipi !important: demonun acik ya da koyu form zemininde ve
   ".footer p" gibi genel kurallarin altinda da okunur kalsin. */
.edb-form-note {
    grid-column: 1 / -1;
    box-sizing: border-box;
    margin: 0.75rem 0;
    padding: 8px 12px !important;
    border: 0 !important;
    border-left: 3px solid #f5a623 !important;
    border-radius: 6px;
    background: #fff8e6 !important;
    color: #5c3d00 !important;
    font: 500 13px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
    letter-spacing: normal !important;
    text-align: left !important;
    text-transform: none !important;
    opacity: 1 !important;
}
.edb-form-note.edb-form-note--done { font-weight: 700 !important; }
