@import url("css/site.css");
@import url("css/navigation.css");
@import url("css/forms.css");
@import url("css/tables.css");
@import url("css/components.css");

@import url("css/modules/uzytkownicy.css");
@import url("css/modules/pracownicy.css");
@import url("css/modules/czaspracy.css");

@import url("css/dashboard.css");

@import url("css/modules/kontrahenci.css");
@import url("css/modules/lokalizacje.css");
@import url("css/modules/kontakty.css");

@import url("css/modules/instalacje.css");
@import url("css/modules/urzadzenia.css");
@import url("css/modules/produkty.css");
@import url("css/modules/zlecenia.css");
@import url("css/modules/zlecenieRaport.css");
@import url("css/modules/zadania.css");
@import url("css/modules/oferty.css");
@import url("css/modules/oferty_rentownosc_dodatki.css");

@import url("css/modules/umowy.css");

.topbar-user {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    width: 100%;
}

.topbar-user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.2;
}

    .topbar-user-info strong {
        font-size: 14px;
        color: #1f355e;
    }

    .topbar-user-info span {
        margin-top: 3px;
        font-size: 12px;
        color: #71809a;
    }

.topbar-logout {
    border: 1px solid #d6deea;
    background: white;
    color: #1f355e;
    border-radius: 7px;
    padding: 8px 14px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.15s ease;
}

    .topbar-logout:hover {
        background: #f4f7fb;
        border-color: #b9c6d8;
    }
/* =========================================================
   ZALOGOWANY UŻYTKOWNIK
   ========================================================= */

.uzytkownik-zalogowany {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.uzytkownik-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.2;
}

    .uzytkownik-info strong {
        color: #142d5c;
        font-size: 14px;
    }

    .uzytkownik-info span {
        color: #71809a;
        font-size: 12px;
        margin-top: 3px;
    }

.uzytkownik-zalogowany button {
    min-width: 78px;
}
/* =========================================================
   LOGOWANIE - INTKAM
   ========================================================= */

.login-page {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #f5f7fb;
}


/* ---------------------------------------------------------
   KARTA
   --------------------------------------------------------- */

.login-card {
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border: 1px solid #d9e0ec;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(20, 45, 92, 0.08);
}


/* ---------------------------------------------------------
   NAGŁÓWEK
   --------------------------------------------------------- */

.login-header {
    margin-bottom: 32px;
}

    .login-header h1 {
        margin: 0;
        color: #142d5c;
        font-size: 32px;
        font-weight: 700;
        letter-spacing: -0.5px;
    }

    .login-header p {
        margin: 8px 0 0;
        color: #71809a;
        font-size: 15px;
    }


/* ---------------------------------------------------------
   POLA
   --------------------------------------------------------- */

.login-field {
    margin-bottom: 20px;
}

    .login-field label {
        display: block;
        margin-bottom: 7px;
        color: #253858;
        font-size: 14px;
        font-weight: 600;
    }


/* ---------------------------------------------------------
   INPUT
   --------------------------------------------------------- */

.login-input {
    display: block;
    width: 100%;
    height: 46px;
    padding: 0 13px;
    box-sizing: border-box;
    border: 1px solid #cfd8e6;
    border-radius: 7px;
    background: #ffffff;
    color: #172b4d;
    font-size: 15px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

    .login-input:focus {
        border-color: #315da8;
        box-shadow: 0 0 0 3px rgba(49, 93, 168, 0.12);
    }

    .login-input::placeholder {
        color: #9aa6b8;
    }


/* ---------------------------------------------------------
   BŁĄD
   --------------------------------------------------------- */

.login-error {
    margin: 4px 0 20px;
    padding: 11px 13px;
    border: 1px solid #f1b8b8;
    border-radius: 7px;
    background: #fff4f4;
    color: #b42318;
    font-size: 14px;
    line-height: 1.4;
}


/* ---------------------------------------------------------
   PRZYCISK
   --------------------------------------------------------- */

.login-button {
    width: 100%;
    height: 46px;
    margin-top: 4px;
    border: 0;
    border-radius: 7px;
    background: #142d5c;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}

    .login-button:hover {
        background: #1b3b75;
        box-shadow: 0 4px 12px rgba(20, 45, 92, 0.18);
    }

    .login-button:active {
        transform: translateY(1px);
    }

    .login-button:disabled {
        background: #9aa6b8;
        cursor: not-allowed;
        box-shadow: none;
    }


/* ---------------------------------------------------------
   TELEFON / MAŁY EKRAN
   --------------------------------------------------------- */

@media (max-width: 600px) {

    .login-page {
        padding: 25px 15px;
    }

    .login-card {
        padding: 28px 22px;
    }

    .login-header h1 {
        font-size: 28px;
    }
}
.sesja-ladowanie {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.sesja-ladowanie-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #0b2d66;
}

    .sesja-ladowanie-box strong {
        font-size: 28px;
    }

    .sesja-ladowanie-box span {
        color: #667085;
        font-size: 14px;
    }