:root {
    --renk-arka: #f5f6f8;
    --renk-yuzey: #ffffff;
    --renk-metin: #1f2328;
    --renk-ikincil: #656d76;
    --renk-vurgu: #2b6cb0;
    --renk-vurgu-acik: #e6f0fb;
    --renk-kenar: #d8dde3;
    --renk-hata: #c53030;
    --golge: 0 1px 3px rgba(0, 0, 0, .12);
    --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    height: 100%;
    font-family: var(--font);
    font-size: 14px;
    color: var(--renk-metin);
    background: var(--renk-arka);
}

#app, .uygulama { height: 100%; }

h1:focus { outline: none; }

/* Startup spinner shown until the WASM runtime boots. */
.yukleniyor {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--renk-ikincil);
}

.yukleniyor-halka {
    width: 48px;
    height: 48px;
    border: 4px solid var(--renk-kenar);
    border-top-color: var(--renk-vurgu);
    border-radius: 50%;
    animation: don 1s linear infinite;
}

.loading-progress-text::after {
    content: var(--blazor-load-percentage-text, "Yükleniyor");
}

@keyframes don { to { transform: rotate(360deg); } }

#blazor-error-ui {
    color-scheme: light only;
    background: #fff3cd;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, .2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: .6rem 1.25rem .7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: .75rem;
    top: .5rem;
}
