* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-width: 100%;
    min-height: 100%;
}

html {
    background: #111b25;
}

body {
    min-height: 100vh;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    color: #fff;
    overflow-x: hidden;
    background: #111b25;
}


/* ==========================================================
   TLO
   ========================================================== */

#background-layer {
    position: fixed;
    inset: -8px;
    z-index: -2;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    opacity: 0;
    filter: blur(5px);

    transition:
        opacity 1s ease,
        filter 1s ease;

    transform: scale(1.01);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(0, 8, 15, .10),
            rgba(0, 10, 20, .16)
        );
}


/* ==========================================================
   LOGO
   ========================================================== */

.atmos-wordmark {
    position: fixed;

    top: clamp(20px, 7vh, 76px);
    left: 50%;

    transform: translateX(-50%);

    width: min(460px, 76vw);
    height: auto;

    pointer-events: none;

    filter:
        drop-shadow(
            0 2px 8px rgba(255,255,255,.45)
        );
}


/* ==========================================================
   UKLAD
   ========================================================== */

.page {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding:
        150px
        16px
        40px;
}


/* ==========================================================
   KARTA - STYL Z LOGOWANIA ADM
   ========================================================== */

.login-card {
    position: relative;

    width: 380px;
    min-height: 530px;

    padding:
        20px
        28px
        28px;

    border-radius: 24px;

    background:
        rgba(20,34,49,.67);

    border:
        1px solid rgba(255,255,255,.22);

    box-shadow:
        0 20px 65px rgba(0,0,0,.28);

    -webkit-backdrop-filter:
        blur(24px);

    backdrop-filter:
        blur(24px);
}


/* ==========================================================
   GORNA CZESC
   ========================================================== */

.atmos-welcome {
    text-align: center;
}

.atmos-cloud {
    display: block;

    width: 66px;
    height: 66px;

    object-fit: contain;

    margin:
        0
        auto
        8px;
}

.atmos-welcome h1 {
    margin: 0;

    font-size: 23px;
    line-height: 29px;

    font-weight: 600;

    color: #fff;
}

.atmos-welcome p {
    margin:
        7px
        0
        0;

    font-size: 13px;
    line-height: 20px;

    color: #d5e3ed;
}


/* ==========================================================
   ODMOWA DOSTEPU
   ========================================================== */

.access-panel {
    margin-top: 38px;

    padding:
        28px
        22px
        24px;

    text-align: center;

    border-radius: 14px;

    background:
        rgba(7,18,31,.44);

    box-shadow:
        0 0 0 1px
        rgba(255,255,255,.18);
}

.access-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin:
        0
        auto
        18px;

    border-radius: 15px;

    color: #b9eeff;

    background:
        linear-gradient(
            135deg,
            rgba(8,127,208,.26),
            rgba(16,169,177,.22)
        );

    box-shadow:
        0 0 0 1px
        rgba(120,220,245,.20);
}

.access-icon svg {
    width: 31px;
    height: 31px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.access-panel h2 {
    margin:
        0
        0
        13px;

    font-size: 21px;
    line-height: 28px;

    font-weight: 600;

    color: #fff;
}

.access-main {
    margin:
        0
        auto;

    max-width: 280px;

    font-size: 14px;
    line-height: 21px;

    color: #e1ebf3;
}

.access-secondary {
    margin:
        12px
        auto
        0;

    max-width: 280px;

    font-size: 12px;
    line-height: 19px;

    color: #a9bdcc;
}


/* ==========================================================
   DOLNY AKCENT - TEN SAM GRADIENT CO PRZYCISK LOGOWANIA
   ========================================================== */

.access-status {
    width: 100%;
    height: 44px;

    margin-top: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background:
        linear-gradient(
            110deg,
            #087fd0,
            #10a9b1
        );

    color: #fff;

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

    box-shadow:
        0 6px 18px
        rgba(0,110,166,.23);
}


/* ==========================================================
   TELEFONY
   ========================================================== */

@media (max-width: 440px) {

    .page {
        padding:
            130px
            16px
            30px;
    }

    .login-card {
        width:
            calc(100vw - 32px);

        min-height: 510px;
    }

    .atmos-welcome h1 {
        font-size: 21px;
    }

}


/* ==========================================================
   NISKIE EKRANY
   ========================================================== */

@media (max-height: 760px) {

    body {
        min-height: 720px;
        overflow-y: auto;
    }

    .page {
        min-height: 720px;

        align-items: flex-start;

        padding-top: 140px;
    }

    .atmos-wordmark {
        top: 24px;
        width: min(300px, 68vw);
    }

}

@media (prefers-reduced-motion: reduce) {

    #background-layer {
        transition: none;
    }

}


/* ==========================================================
   FIX: KOLEJNOSC WARSTW TLA
   ========================================================== */

body {
    position: relative;
    isolation: isolate;
}

#background-layer {
    z-index: 0;
}

body::after {
    z-index: 1;
}

.atmos-wordmark {
    z-index: 3;
}

.page {
    position: relative;
    z-index: 2;
}

