/* ── KESO İşletme Portalı — Global Stiller ── */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    /* Dokunma zoom'unu koru ama layout kaymasını önle */
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

html, body {
    height: 100%;
    min-height: 100dvh;
    background: #070e1d;
    color: #eef2f8;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text',
                 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;              /* iOS auto-zoom tetiklenmemesi için baz */
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* PWA modunda rubber-band scroll önle */
    overscroll-behavior: none;
    /* Genel touch gecikmesini ortadan kaldır */
    touch-action: pan-y;
}

/* Hiçbir linkin varsayılan mavisi görünmesin */
a { color: inherit; text-decoration: none; }

/* Tüm butonlar system font kullansın */
button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* tap highlight kaldır (her bileşen kendi yönetir) */
* { -webkit-tap-highlight-color: transparent; }

/* focus-visible: klavye kullanıcıları için ring, dokunuş için değil */
:focus:not(:focus-visible) { outline: none; }

/* ── Blazor yeniden bağlanma modalı ── */
#components-reconnect-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(7, 14, 29, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7a95b8;
    font-size: 14px;
    text-align: center;
    padding: 24px;
}

.blazor-error-boundary { display: none; }

/* ── Scrollbar (dark theme) ── */
::-webkit-scrollbar              { width: 4px; height: 4px; }
::-webkit-scrollbar-track        { background: transparent; }
::-webkit-scrollbar-thumb        { background: rgba(255,255,255,0.12); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover  { background: rgba(255,255,255,0.22); }
