/* ============================================================
   common.css – wspólne style Win-11 dla całej aplikacji
   ============================================================ */

@font-face {
    font-family: 'Ethnocentric';
    src: url('../fonts/Ethnocentric.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 14px;
    color: #1a1a1a;
}

/* Fullscreen – białe tło */
.win-screen {
    background: #ffffff;
    display: flex;
    align-items: flex-start;    /* karta trzyma się od góry */
    justify-content: center;
    min-height: 100vh;
    position: relative;
    padding-top: var(--card-top, 200px); /* ← domyślnie 220px, nadpisz w login.css */
}

/* Karta – jasnoszare tło */
.win-card {
    background: #f2f2f2;
    border-radius: 8px;
    border: 1px solid #d0d0d0;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 36px 40px 36px;
    width: 420px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* Alerty */
.win-alert {
    width: 100%;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 4px;
    margin-top: 4px;
}

.win-alert.error {
    background: #fde7e9;
    color: #c50f1f;
    border: 1px solid #f5c2c7;
}
.win-alert.warning {
    background: #fff4ce;
    color: #8a6d00;
    border: 1px solid #ffdd99;
}
.win-alert.info {
    background: #e8f0fb;
    color: #0067C0;
    border: 1px solid #b3cef5;
}