/* ============================================================
   login.css – style specyficzne dla strony logowania
   ============================================================ */

/* ★ TUTAJ regulujesz pozycję karty od góry strony ★ */
:root {
    --card-top: 100px;
}

/* Wrapper centrujący kartę + opis jako jedną kolumnę */
.login-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: var(--card-top);
}

/* Logo firmy – górny lewy róg całej strony */
.page-logo {
    position: fixed;
    top: 20px;
    left: 24px;
    font-family: 'Ethnocentric', sans-serif;
    font-size: 26px;
    color: #45B0E1;
    letter-spacing: 3px;
    user-select: none;
}

/* ---- Opis pod kartą ---- */
.login-notice {
    width: 420px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0 4px;
}

.login-notice p {
    font-size: 12px;
    color: #888888;
    line-height: 1.6;
    text-align: center;
}

.login-notice strong {
    color: #555555;
}

/* ---- Tytuł aplikacji – styl Industrial ---- */
.login-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 28px;
    gap: 3px;
}

.login-title-main {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #0d0d0d;
}

.login-title-rule {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #0067C0 40%, #0067C0 60%, transparent);
    margin: 6px 0 4px;
}

.login-title-sub {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: #666666;
}

/* ---- Formularz ---- */
.login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.login-input {
    width: 100%;
    padding: 9px 12px;
    font-size: 14px;
    font-family: inherit;
    border: 1px solid #c0c0c0;
    border-radius: 4px;
    outline: none;
    background: #ffffff;
    color: #1a1a1a;
    transition: border-color 0.15s;
    text-align: center;
}

.login-input:focus {
    border-color: #0067C0;
    background: #fff;
}

/* Code input – bigger, monospaced */
.login-input-code {
    font-size: 26px;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.3em;
    padding: 10px 12px;
}

/* Step 2 hint text */
.login-step2-hint {
    font-size: 13px;
    color: #555555;
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.5;
}

.login-btn {
    width: 100%;
    padding: 9px 12px;
    font-size: 13px;
    font-family: inherit;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: #0067C0;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s;
    margin-top: 4px;
}

.login-btn:hover  { background: #005ba4; }
.login-btn:active { background: #004f8f; }
.login-btn:disabled { background: #a0bfd8; cursor: not-allowed; }

/* Ghost back button */
.login-btn-ghost {
    width: 100%;
    padding: 7px 12px;
    font-size: 12px;
    font-family: inherit;
    color: #888888;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.15s;
    text-align: center;
}

.login-btn-ghost:hover { color: #0067C0; }