/* body */
body {
    background-color: var(--font);
}

main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 60px 0 0 0;
    align-items: center;
}

input {
    background-color: var(--white);
    color: var(--font);
    border: 1px solid var(--text-01);
}

.login {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.login {
    width: 100%;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: flex;
    gap: 48px;
    background-color: var(--white);
    padding: 20px 48px 48px 48px;
    border-radius: var(--r-large) var(--r-large) 0 0;
    box-shadow: var(--box-shadow);
    height: 100%;
    flex: 1;
}

.login-top {
    text-align: center;
    margin-bottom: 48px;
}

.login-top img {
    /*width: 70%;*/
    width: 40%;
    max-width: 240px;
}

.login-top p {
    margin-top: 8px;
    letter-spacing: -.5px;
    font-family: var(--hahmlet);
}

.login-text,
.login-text span {
    letter-spacing: -.5px;
    font-family: var(--hahmlet);
    font-size: var(--f-large);
    font-weight: var(--f-w-semibold);
    word-break: break-all;
    color: var(--font);
}

.login-text {
    margin-bottom: 24px;
}

.btn-locking {
    filter: none;
}

.lbl-password {
    color: var(--text-01);
}

[type='text']:focus,
[type='email']:focus,
[type='url']:focus,
[type='password']:focus,
[type='number']:focus,
[type='date']:focus,
[type='datetime-local']:focus,
[type='month']:focus,
[type='search']:focus,
[type='tel']:focus,
[type='time']:focus,
[type='week']:focus,
[multiple]:focus,
textarea:focus,
select:focus {
    border-color: var(--primary);
    --tw-ring-color: var(--border);
}

select:hover,
input:hover,
textarea:hover,
select:focus,
input:focus,
textarea:focus,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: none;
    border-color: var(--primary);
}

/* loading */
/* Variables */
:root {
    --loader-size: 100px;
    --blob-size: 56px;
    --canvas-size: 190px;
    --canvas-padding: 24px;
    --ease-in: cubic-bezier(0.02, 0.01, 0.21, 1);
    --ease-out: cubic-bezier(0.3, 0.27, 0.07, 1.64);
}

/* Global Styles */
.loading {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--tertiary);
}

/* Loader Styles */
/* .Loader {
    width: var(--canvas-size);
    height: var(--canvas-size);
    position: relative;
    padding: var(--canvas-padding);
    filter: url("#tooltip-filter");
    transform: rotate(0deg);
    animation: rotate 5s forwards infinite linear;
} */

.Loader-circle,
.Loader-blob {
    position: absolute;
}

.Loader-circle {
    width: var(--loader-size);
    height: var(--loader-size);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background-color: var(--white);
}

.Loader-blob {
    width: var(--blob-size);
    height: var(--blob-size);
    bottom: var(--canvas-padding);
    left: var(--canvas-padding);
    animation: xAxis 2.5s infinite var(--ease-in);
}

.Loader-blob::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    border-radius: 50%;
    position: absolute;
    animation: yAxis 1s infinite var(--ease-out) alternate;
}

.Loader-blob::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    border-radius: 50%;
    position: absolute;
    animation: yAxis 1s infinite var(--ease-out) 2.5s;
}

/* Keyframes */
@keyframes xAxis {
    50% {
        animation-timing-function: var(--ease-in);
        transform: translateX(calc(var(--canvas-size) - var(--blob-size)));
    }
}

@keyframes yAxis {
    50% {
        animation-timing-function: var(--ease-out);
        transform: translateY(calc(-(var(--canvas-size) - var(--blob-size))));
    }
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

/*  */
.loading {
    height: 100%;
    background: linear-gradient(rgb(150, 188, 207), #F2D6BF);
    background: linear-gradient(var(--text-01), var(--font));
}

@keyframes progress1 {
    0% {
        transform: scaleX(0);
        opacity: 0.5;
    }

    90% {
        transform: scaleX(1);
        opacity: 1;
    }

    92% {
        transform: scaleX(1);
        opacity: 1;
    }

    100% {
        transform: scaleX(1);
        opacity: 0;
    }
}

@keyframes progress2 {
    0% {
        transform: scale(0.3, 0.8) translateZ(0);
        opacity: 0;
    }

    90% {
        transform: scale(1, 1) translateX(300px) translateZ(0);
        opacity: 1;
    }

    100% {
        transform: scale(1, 1) translateX(300px) translateZ(0);
        opacity: 0;
    }
}

.line {
    position: absolute;
    top: 60%;
    width: 300px;
    left: 50%;
    margin-left: -150px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
}

.line:before {
    animation: progress1 4s infinite;
    transform-origin: 0 0;
    content: "";
    display: block;
    width: 300px;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0.1) 10%,
            rgba(255, 255, 255, 0.4) 80%,
            rgba(255, 255, 255, 1));
}

.line:after {
    content: "";
    position: absolute;
    animation: progress2 4s infinite;
    transform-origin: 90% 50%;
    margin-left: -24px;
    top: -9px;
    width: 30px;
    height: 21px;
    border-radius: 2px;
    background: rgba(210, 189, 255, 0.55);
    filter: blur(8px);
    box-shadow: 0 0 10px 6px rgba(210, 189, 255, 0.4),
        -20px 0 15px 4px rgba(210, 189, 255, 0.3),
        -40px 0 15px 2px rgba(210, 189, 255, 0.2),
        -60px 0 10px 1px rgba(210, 189, 255, 0.1),
        -80px 0 10px 1px rgba(210, 189, 255, 0.05);
}

.loading .login-top {
    position: absolute;
    top: 35%;
}

.loading .login-top img {
    filter: brightness(100);
}

.loading .login-top p {
    color: var(--white);
    text-shadow: var(--box-shadow);
}

.inp-password .btn-locking {
    filter: brightness(0);
}
