/* Skok 31, rozmowa 2 (5.11.2026): strona nowe-haslo.html. Bez style.css, bo ten zamyka przewijanie na body.
   Pola co najmniej 16 px, inaczej iPhone powiększa stronę przy pisaniu. Przyciski co najmniej 44 px. */
* { box-sizing: border-box; }

[hidden] { display: none !important; }

body {
    margin: 0;
    min-height: 100vh;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #eef2f1;
    color: #1f2933;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.nh-karta {
    width: 100%;
    max-width: 420px;
    padding: 24px;
    background: #fff;
    border: 1px solid #d5dcdb;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.nh-logo {
    display: block;
    width: 96px;
    height: 96px;
    margin: 0 auto 12px;
    object-fit: contain;
}

h1 {
    margin: 0 0 16px;
    font-size: 1.4rem;
    text-align: center;
}

p { margin: 0 0 12px; }

label {
    display: block;
    margin: 12px 0 4px;
    font-weight: 600;
}

input {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #7b8794;
    border-radius: 6px;
    background: #fff;
    color: #1f2933;
    font: inherit;
}

.nh-przycisk {
    display: block;
    width: 100%;
    min-height: 44px;
    margin-top: 16px;
    padding: 10px 12px;
    border: none;
    border-radius: 6px;
    background: #1e7e4f;
    color: #fff;
    font: inherit;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.nh-przycisk:hover { background: #17663f; }

.nh-przycisk:disabled {
    opacity: 0.6;
    cursor: default;
}

.nh-powrot {
    display: block;
    min-height: 44px;
    margin-top: 8px;
    padding: 10px 0;
    color: #1f5f8b;
    text-align: center;
}

.nh-komunikat {
    margin: 12px 0 0;
    font-size: 0.95rem;
}

.nh-komunikat:empty { display: none; }

.nh-dobrze {
    padding: 10px 12px;
    border-radius: 6px;
    background: #e6f4ec;
    color: #14532d;
}

.nh-blad {
    padding: 10px 12px;
    border-radius: 6px;
    background: #fdecea;
    color: #8c1d18;
}

.nh-konto { overflow-wrap: anywhere; }
