/* Web sürümü: alt reklam şeridi + geniş ekran düzeni (build-app.mjs ile köke kopyalanır) */
:root { --serit-h: 0px; }
body.serit-var { --serit-h: 60px; padding-bottom: var(--serit-h); }
.reklam-seritu {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    height: 60px; max-height: 60px; overflow: hidden;
    display: flex; align-items: center; justify-content: center; gap: 12px;
    background: #f8fafc; border-top: 1px solid #e2e8f0; font-size: 13px;
}
.reklam-seritu a { color: #334155; text-decoration: none; font-weight: 500; }
.reklam-seritu a:hover { text-decoration: underline; }
.reklam-seritu button {
    background: transparent; color: #64748b; font-size: 20px; line-height: 1;
    width: 28px; height: 28px; border: 0; border-radius: 50%; cursor: pointer;
}
.reklam-seritu button:hover { background: #e2e8f0; }
.reklam-dolu { background: #fff; }
.reklam-dolu .adsbygoogle { width: 100%; max-width: 970px; height: 60px; }
@media (max-width: 640px) {
    body.serit-var { --serit-h: 50px; }
    .reklam-seritu { height: 50px; max-height: 50px; font-size: 12px; }
    .reklam-dolu .adsbygoogle { height: 50px; }
}

/* Şerit, menünün altını (çıkış düğmesi) örtmesin */
@media (min-width: 901px) {
    body.serit-var .sidebar { height: calc(100vh - var(--serit-h)); }
    .web-app #main-app { min-height: calc(100vh - var(--serit-h)); }
    .web-app .isg-logo--sidebar { width: 128px; height: 128px; }
    .web-app .sidebar-logo { flex-direction: column; text-align: center; gap: 10px; }
    .web-app .sidebar { width: 288px; }
    .web-app .main-content { padding: 32px 40px 48px; }
    .web-app .main-content .card form { max-width: 820px; }
    .web-app .login-card { max-width: 480px; }
}
@media (max-width: 900px) {
    body.serit-var .sidebar { bottom: var(--serit-h); min-height: 0; }
}
/* Yükleme örtüsü (belge üretimi) şeridin üstünde kalır */
#ai-loading-overlay { z-index: 1200; }