/* =========================================================
   UAM SSO - podstawowy szablon
   ========================================================= */


/* ---------------------------------------------------------
   RESET
   --------------------------------------------------------- */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}


/* ---------------------------------------------------------
   BODY
   --------------------------------------------------------- */

body {
    background: #f3f5f7;

    color: #252a2e;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 15px;
    line-height: 1.55;
}


/* ---------------------------------------------------------
   CONTAINER
   --------------------------------------------------------- */

.uam-container {
    width: 100%;
    max-width: 1180px;

    margin: 0 auto;

    padding-left: 25px;
    padding-right: 25px;
}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.uam-header {
    background: #ffffff;

    border-bottom: 1px solid #d8dde2;
}


.uam-header-inner {
    min-height: 125px;

    display: flex;
    align-items: center;

    gap: 30px;
}


/* ---------------------------------------------------------
   LOGO
   --------------------------------------------------------- */

.uam-logo-link {
    display: flex;
    align-items: center;

    flex-shrink: 0;

    text-decoration: none;
}


.uam-logo {
    display: block;

    height: 100px;
    width: auto;

    object-fit: contain;
}


/* ---------------------------------------------------------
   HEADER TEXT
   --------------------------------------------------------- */

.uam-header-title {
    padding-left: 5px;
    margin-left: auto;
    text-align: right;
}


.uam-header-main {
    color: #123b68;

    font-size: 23px;
    font-weight: 600;

    line-height: 1.1;
}


.uam-header-sub {
    margin-top: 5px;

    color: #6a7077;
    font-size: 12px;
}


/* ---------------------------------------------------------
   NAVIGATION
   --------------------------------------------------------- */

.uam-navigation {
    background: #123b68;

    border-bottom: 4px solid #0d2d4f;
}


.uam-menu {
    display: flex;

    min-height: 52px;
}


.uam-menu-item {
    display: flex;
    align-items: center;

    padding: 0 27px;

    color: #ffffff;

    font-size: 15px;
    font-weight: 600;

    text-decoration: none;

    border-left: 1px solid rgba(255,255,255,0.12);
}


.uam-menu-item:last-child {
    border-right: 1px solid rgba(255,255,255,0.12);
}


.uam-menu-item:hover {
    background: #1b4d7f;

    color: #ffffff;
}


.uam-menu-item.active {
    background: #ffffff;

    color: #123b68;
}


/* ---------------------------------------------------------
   MAIN
   --------------------------------------------------------- */

.uam-main {
    min-height: calc(100vh - 230px);

    padding-top: 38px;
    padding-bottom: 55px;
}


/* ---------------------------------------------------------
   CARD
   --------------------------------------------------------- */

.uam-card {
    background: #ffffff;

    border: 1px solid #dce1e5;

    box-shadow:
        0 2px 8px rgba(0,0,0,0.05);

    padding: 35px;
}


/* ---------------------------------------------------------
   HEADINGS
   --------------------------------------------------------- */

.uam-card h1 {
    margin: 0;

    color: #123b68;

    font-size: 25px;
    font-weight: 500;

    line-height: 1.35;
}


.uam-card h2 {
    margin: 0 0 20px;

    color: #123b68;

    font-size: 20px;
    font-weight: 600;
}


/* ---------------------------------------------------------
   DIVIDER
   --------------------------------------------------------- */

.uam-divider {
    height: 1px;

    margin: 28px 0;

    background: #e1e5e8;
}


/* ---------------------------------------------------------
   LINKI INFORMACYJNE
   --------------------------------------------------------- */

.uam-links {
    display: flex;

    flex-direction: column;
}


.uam-link {
    display: block;

    padding: 17px 20px;

    border-top: 1px solid #e1e5e8;

    color: #252a2e;

    text-decoration: none;
}


.uam-link:last-child {
    border-bottom: 1px solid #e1e5e8;
}


.uam-link:hover {
    background: #f5f8fb;
}


.uam-link-title {
    display: block;

    color: #123b68;

    font-size: 16px;
    font-weight: 600;
}


.uam-link-description {
    display: block;

    margin-top: 3px;

    color: #6b737a;

    font-size: 14px;
}


/* ---------------------------------------------------------
   KONTAKT
   --------------------------------------------------------- */

.uam-contact {
    margin-top: 30px;

    padding-top: 28px;

    border-top: 1px solid #e1e5e8;
}


.uam-contact p {
    margin: 0 0 4px;

    color: #555d64;
}


.uam-contact a {
    color: #123b68;

    font-weight: 600;

    text-decoration: none;
}


.uam-contact a:hover {
    text-decoration: underline;
}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.uam-footer {
    background: #ffffff;

    border-top: 1px solid #d9dde1;

    color: #626a71;

    font-size: 13px;
}


.uam-footer-inner {
    min-height: 90px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


.uam-footer a {
    color: #123b68;

    text-decoration: none;
}


.uam-footer a:hover {
    text-decoration: underline;
}


/* ---------------------------------------------------------
   TELEFON
   --------------------------------------------------------- */

@media (max-width: 800px) {

    .uam-header-inner {
        min-height: 100px;

        gap: 18px;
    }


    .uam-logo {
        height: 60px;
    }


    .uam-header-main {
        font-size: 21px;
    }


    .uam-header-sub {
        font-size: 13px;
    }


    .uam-menu {
        overflow-x: auto;
    }


    .uam-menu-item {
        padding: 0 18px;

        white-space: nowrap;
    }


    .uam-card {
        padding: 25px;
    }


    .uam-footer-inner {
        padding-top: 20px;
        padding-bottom: 20px;

        flex-direction: column;

        align-items: flex-start;
    }
}


@media (max-width: 520px) {

    .uam-container {
        padding-left: 15px;
        padding-right: 15px;
    }


    .uam-header-inner {
        padding-top: 15px;
        padding-bottom: 15px;
    }


    .uam-logo {
        height: 48px;
    }


    .uam-header-main {
        font-size: 18px;
    }


    .uam-header-sub {
        display: none;
    }


    .uam-main {
        padding-top: 20px;
    }


    .uam-card {
        padding: 20px;
    }


    .uam-card h1 {
        font-size: 21px;
    }
}
/* ---------------------------------------------------------
   LOGOWANIE
   --------------------------------------------------------- */

.uam-login-card {
    max-width: 760px;
    margin: 0 auto;
}


.uam-login-header h1 {
    margin: 0;

    color: #123b68;

    font-size: 26px;
    font-weight: 500;

    line-height: 1.3;
}


.uam-login-header p {
    max-width: 650px;

    margin: 10px 0 0;

    color: #626a71;

    font-size: 15px;
}


/* ---------------------------------------------------------
   KOMUNIKATY
   --------------------------------------------------------- */

.uam-login-warning {
    margin-bottom: 25px;

    padding: 16px 20px;

    background: #f5f7f9;

    border-left: 4px solid #123b68;
}


.uam-login-warning strong {
    display: block;

    margin-bottom: 5px;

    color: #123b68;

    font-size: 15px;
}


.uam-login-warning p {
    margin: 0;

    color: #4f565d;

    font-size: 14px;
}


.uam-login-error {
    margin-bottom: 25px;

    padding: 16px 20px;

    background: #fff5f5;

    border: 1px solid #e4bcbc;

    border-left: 4px solid #a52a2a;
}


.uam-login-error h3 {
    margin: 0 0 5px;

    color: #8d2020;

    font-size: 16px;
}


.uam-login-error p {
    margin: 0;

    color: #5f3333;

    font-size: 14px;
}


/* ---------------------------------------------------------
   FORMULARZ
   --------------------------------------------------------- */

.uam-login-form-wrapper {
    max-width: 560px;

    margin: 0 auto;
}


.uam-form-group {
    margin-bottom: 20px;
}


.uam-form-group label {
    display: block;

    margin-bottom: 7px;

    color: #3e464d;

    font-size: 14px;
    font-weight: 600;
}


.uam-input {
    display: block;

    width: 100%;

    min-height: 46px;

    padding: 10px 13px;

    background: #ffffff;

    border: 1px solid #bfc7ce;
    border-radius: 3px;

    color: #252a2e;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;

    outline: none;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}


.uam-input:focus {
    border-color: #123b68;

    box-shadow:
        0 0 0 2px rgba(18,59,104,0.12);
}


.uam-input:disabled {
    background: #f1f3f5;

    color: #6a7077;

    cursor: not-allowed;
}


.uam-select {
    cursor: pointer;
}


/* ---------------------------------------------------------
   CHECKBOXY
   --------------------------------------------------------- */

.uam-checkbox-group {
    margin-top: -10px;

    margin-bottom: 20px;
}


.uam-checkbox-group label {
    display: flex;

    align-items: center;

    gap: 8px;

    color: #555d64;

    font-size: 13px;

    cursor: pointer;
}


.uam-checkbox-group input {
    width: 15px;
    height: 15px;

    margin: 0;

    accent-color: #123b68;
}


/* ---------------------------------------------------------
   PRZYCISK LOGOWANIA
   --------------------------------------------------------- */

.uam-login-submit {
    margin-top: 28px;
}


.uam-login-button {
    display: block;

    width: 100%;

    min-height: 48px;

    padding: 12px 20px;

    background: #123b68;

    border: 1px solid #123b68;
    border-radius: 3px;

    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease;
}


.uam-login-button:hover {
    background: #1b4d7f;

    border-color: #1b4d7f;
}


.uam-login-button:focus {
    outline: none;

    box-shadow:
        0 0 0 3px rgba(18,59,104,0.18);
}


.uam-login-button:disabled {
    opacity: 0.65;

    cursor: wait;
}


/* ---------------------------------------------------------
   LINKI LOGOWANIA
   --------------------------------------------------------- */

.uam-login-links {
    max-width: 560px;

    margin: 25px auto 0;

    padding-top: 20px;

    border-top: 1px solid #e1e5e8;
}


.uam-login-links a {
    display: block;

    margin-bottom: 8px;

    color: #123b68;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
}


.uam-login-links a:hover {
    text-decoration: underline;
}


/* ---------------------------------------------------------
   POMOC
   --------------------------------------------------------- */

.uam-login-help {
    max-width: 560px;

    margin: 35px auto 0;

    padding-top: 25px;

    border-top: 1px solid #e1e5e8;
}


.uam-login-help h2 {
    margin: 0 0 10px;

    color: #123b68;

    font-size: 18px;
    font-weight: 600;
}


.uam-login-help p {
    margin: 0 0 8px;

    color: #626a71;

    font-size: 14px;
}


.uam-login-help a {
    color: #123b68;

    font-weight: 600;

    text-decoration: none;
}


.uam-login-help a:hover {
    text-decoration: underline;
}


/* ---------------------------------------------------------
   TELEFON
   --------------------------------------------------------- */

@media (max-width: 520px) {

    .uam-login-card {
        margin-left: 0;
        margin-right: 0;
    }


    .uam-login-header h1 {
        font-size: 22px;
    }


    .uam-login-header p {
        font-size: 14px;
    }


    .uam-login-form-wrapper {
        width: 100%;
    }


    .uam-login-button {
        min-height: 46px;
    }

}
/* Ikonki jezyka */
.uam-top-bar {
    display: flex;
    justify-content: flex-end;
    padding-top: 8px;
    padding-bottom: 4px;
}

.uam-lang-switch {
    display: flex;
    gap: 6px;
}

.uam-lang-link {
    display: inline-block;
    padding: 2px 7px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    color: #002c5c;
    border: 1px solid #002c5c;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.uam-lang-link:hover {
    background-color: rgba(0, 44, 92, 0.1);
}

.uam-lang-link.active {
    color: #ffffff;
    background-color: #002c5c;
}
