*{
    box-sizing:border-box;
}

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

.ps-auth-body{
    min-height:100vh;
    min-height:100dvh;

    overflow-x:hidden;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    color:#18231b;

    background:
        radial-gradient(
            circle at 12% 8%,
            rgba(116,174,69,.20),
            transparent 35%
        ),
        radial-gradient(
            circle at 90% 90%,
            rgba(49,101,61,.14),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            #f2f5f2,
            #e4ebe5
        );
}

.ps-auth-decoration{
    position:fixed;

    pointer-events:none;

    border-radius:50%;

    filter:blur(1px);
}

.ps-auth-decoration-a{
    width:430px;
    height:430px;

    top:-230px;
    left:-170px;

    background:rgba(108,161,63,.11);
}

.ps-auth-decoration-b{
    width:520px;
    height:520px;

    right:-270px;
    bottom:-280px;

    background:rgba(44,91,55,.08);
}

.ps-auth-page{
    position:relative;
    z-index:2;

    width:100%;

    min-height:100vh;
    min-height:100dvh;

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

    padding:
        max(28px,env(safe-area-inset-top))
        max(18px,env(safe-area-inset-right))
        max(28px,env(safe-area-inset-bottom))
        max(18px,env(safe-area-inset-left));
}

.ps-auth-card{
    width:min(440px,100%);

    padding:34px;

    border:1px solid rgba(43,70,48,.10);

    border-radius:28px;

    background:rgba(255,255,255,.93);

    box-shadow:
        0 30px 80px rgba(22,49,29,.16),
        0 7px 24px rgba(22,49,29,.07),
        inset 0 1px 0 rgba(255,255,255,.95);

    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
}

.ps-auth-header{
    display:flex;
    align-items:center;

    gap:16px;
}

.ps-auth-logo{
    flex:0 0 62px;

    width:62px;
    height:62px;

    display:grid;
    place-items:center;

    border-radius:19px;

    color:#fff;

    font-size:29px;
    font-weight:800;

    background:
        linear-gradient(
            145deg,
            #80ba47,
            #4e852d
        );

    box-shadow:
        0 12px 28px rgba(82,132,44,.26),
        inset 0 1px 0 rgba(255,255,255,.32);
}

.ps-auth-logo-2fa{
    background:
        linear-gradient(
            145deg,
            #579263,
            #315f3d
        );
}

.ps-auth-heading{
    min-width:0;
}

.ps-auth-kicker{
    margin-bottom:4px;

    color:#6d8071;

    font-size:10px;
    font-weight:800;

    letter-spacing:.16em;
}

.ps-auth-heading h1{
    margin:0;

    color:#19231b;

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

    letter-spacing:-.035em;
}

.ps-auth-heading p{
    margin:7px 0 0;

    color:#78827a;

    font-size:14px;
}

.ps-auth-line{
    height:1px;

    margin:27px 0 24px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(53,83,60,.18),
            transparent
        );
}

.ps-auth-form{
    display:grid;

    gap:18px;
}

.ps-field{
    display:grid;

    gap:8px;
}

.ps-label{
    padding-left:3px;

    color:#39463c;

    font-size:13px;
    font-weight:700;
}

.ps-input-box{
    position:relative;

    display:flex;
    align-items:center;
}

.ps-input-box input,
.ps-2fa-code{
    width:100%;

    min-height:55px;

    outline:none;

    border:1px solid #d3ddd5;

    border-radius:16px;

    background:#fff;

    color:#162019;

    font-size:16px;

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.ps-input-box input{
    padding:
        0 52px
        0 48px;
}

.ps-input-box input:hover,
.ps-2fa-code:hover{
    border-color:#b8c7bb;
}

.ps-input-box input:focus,
.ps-2fa-code:focus{
    border-color:#70a747;

    box-shadow:
        0 0 0 4px rgba(104,159,56,.12),
        0 7px 20px rgba(40,72,47,.06);
}

.ps-input-symbol{
    position:absolute;

    left:16px;

    width:20px;
    height:20px;

    color:#748078;

    pointer-events:none;
}

.ps-input-symbol svg,
.ps-password-toggle svg,
.ps-login-button svg{
    width:100%;
    height:100%;

    fill:none;

    stroke:currentColor;

    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.ps-password-toggle{
    position:absolute;

    right:9px;

    width:38px;
    height:38px;

    padding:9px;

    border:0;
    border-radius:11px;

    background:transparent;

    color:#778179;

    cursor:pointer;
}

.ps-password-toggle:hover{
    background:#f0f4f0;

    color:#4f7055;
}

.ps-password-toggle.active{
    color:#5d9337;
}

.ps-login-button{
    width:100%;

    min-height:56px;

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

    gap:10px;

    margin-top:2px;

    border:0;
    border-radius:16px;

    background:
        linear-gradient(
            135deg,
            #73aa41,
            #4b842b
        );

    color:#fff;

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

    box-shadow:
        0 13px 30px rgba(75,132,43,.24);

    cursor:pointer;

    transition:
        transform .15s ease,
        box-shadow .15s ease,
        filter .15s ease;
}

.ps-login-button svg{
    width:20px;
    height:20px;
}

.ps-login-button:hover{
    transform:translateY(-1px);

    filter:brightness(1.04);

    box-shadow:
        0 16px 34px rgba(75,132,43,.30);
}

.ps-login-button:active{
    transform:translateY(1px);
}

.ps-auth-error{
    display:flex;
    align-items:flex-start;

    gap:11px;

    margin-bottom:19px;

    padding:13px 14px;

    border:1px solid #efc3c1;
    border-radius:15px;

    background:#fff1f0;

    color:#813634;
}

.ps-auth-error-icon{
    flex:0 0 25px;

    width:25px;
    height:25px;

    display:grid;
    place-items:center;

    border-radius:8px;

    background:#d95b57;

    color:#fff;

    font-size:13px;
    font-weight:900;
}

.ps-auth-error > div{
    display:grid;

    gap:3px;
}

.ps-auth-error strong{
    font-size:13px;
}

.ps-auth-error span{
    font-size:12px;
}

.ps-auth-footer{
    margin-top:23px;

    padding-top:19px;

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

    gap:8px;

    border-top:1px solid #e8ede9;

    color:#79837b;

    text-align:center;

    font-size:11px;
    line-height:1.45;
}

.ps-status-dot{
    flex:0 0 8px;

    width:8px;
    height:8px;

    border-radius:50%;

    background:#70a744;

    box-shadow:
        0 0 0 4px rgba(112,167,68,.11);
}

.ps-auth-version{
    margin-top:16px;

    color:#76827a;

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

.ps-2fa-info{
    display:grid;

    gap:5px;

    margin-bottom:20px;

    padding:15px 16px;

    border-radius:16px;

    background:#edf4ee;

    color:#59665d;
}

.ps-2fa-info strong{
    color:#263429;
}

.ps-2fa-info span{
    font-size:13px;

    line-height:1.5;
}

.ps-2fa-code{
    padding:0 18px;

    text-align:center;

    font-size:28px;
    font-weight:800;

    letter-spacing:.28em;

    font-variant-numeric:tabular-nums;
}

.ps-back{
    display:block;

    margin-top:20px;

    text-align:center;

    color:#617068;

    font-size:13px;

    text-decoration:none;
}

.ps-back:hover{
    color:#376043;
}


/* TABLET */

@media (max-width:700px){

    .ps-auth-card{
        padding:28px 24px;

        border-radius:24px;
    }

}


/* MOBILE */

@media (max-width:480px){

    .ps-auth-page{
        justify-content:flex-start;

        padding:
            max(18px,env(safe-area-inset-top))
            12px
            max(20px,env(safe-area-inset-bottom));
    }

    .ps-auth-card{
        margin-top:min(9vh,68px);

        padding:24px 18px 21px;

        border-radius:22px;

        box-shadow:
            0 18px 50px rgba(22,49,29,.13);
    }

    .ps-auth-header{
        gap:13px;
    }

    .ps-auth-logo{
        flex-basis:54px;

        width:54px;
        height:54px;

        border-radius:16px;

        font-size:25px;
    }

    .ps-auth-heading h1{
        font-size:23px;
    }

    .ps-auth-heading p{
        font-size:13px;
    }

    .ps-auth-line{
        margin:22px 0 21px;
    }

    .ps-input-box input,
    .ps-2fa-code,
    .ps-login-button{
        min-height:56px;
    }

    .ps-login-button{
        font-size:16px;
    }

}


/* VERY SMALL */

@media (max-width:350px){

    .ps-auth-card{
        padding-left:14px;
        padding-right:14px;
    }

    .ps-auth-logo{
        flex-basis:48px;

        width:48px;
        height:48px;
    }

    .ps-auth-heading h1{
        font-size:20px;
    }

}


/* =========================================================
   PROMMER SKLAD V1.5 - AUTH POLISH
   ========================================================= */

.ps-auth-card{
    border-radius:30px;

    box-shadow:
        0 34px 90px rgba(22,49,29,.17),
        0 8px 25px rgba(22,49,29,.07),
        inset 0 1px 0 rgba(255,255,255,.96);
}

.ps-input-box input,
.ps-2fa-code{
    border-radius:18px;

    background:
        rgba(253,254,253,.98);
}

.ps-login-button{
    position:relative;

    overflow:hidden;

    min-height:58px;

    border:
        1px solid rgba(55,101,34,.24);

    border-radius:18px;

    background:
        linear-gradient(
            135deg,
            #78ae44 0%,
            #5a9633 48%,
            #4d852d 100%
        );

    box-shadow:
        0 14px 30px rgba(72,126,38,.27),
        inset 0 1px 0 rgba(255,255,255,.24);

    letter-spacing:.01em;
}

.ps-login-button::before{
    content:"";

    position:absolute;

    top:0;
    left:-45%;

    width:35%;
    height:100%;

    transform:skewX(-20deg);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.18),
            transparent
        );

    transition:
        left .42s ease;
}

.ps-login-button:hover::before{
    left:115%;
}

.ps-login-button:hover{
    transform:translateY(-2px);

    box-shadow:
        0 18px 38px rgba(72,126,38,.33),
        inset 0 1px 0 rgba(255,255,255,.28);
}

.ps-password-toggle{
    border-radius:12px;

    transition:
        background .15s ease,
        color .15s ease,
        transform .15s ease;
}

.ps-password-toggle:hover{
    transform:scale(1.04);
}

.ps-auth-error{
    border-radius:17px;
}

@media (max-width:480px){

    .ps-auth-card{
        border-radius:25px;
    }

    .ps-login-button{
        border-radius:17px;
    }

}

