@import url(root.css);
*,
*::before,
*::after {
    box-sizing: border-box;
}


body {
    color: var(--8);
    font-family: var(--poppins);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    position: relative;
    margin: 0;
    padding: 24px;
    background-image: url('../images/pexels-43381756-7462737.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    overflow-y: auto;
}

body::before,
body::after {
    content: '';
    position: fixed;
    inset: auto;
    border-radius: 999px;
    pointer-events: none;
    z-index: 0;
    filter: blur(10px);
}

body::before {
    top: 8%;
    left: 8%;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(255, 17, 103, 0.30) 0%, rgba(255, 17, 103, 0) 72%);
}

body::after {
    right: 8%;
    bottom: 7%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(28, 152, 237, 0.26) 0%, rgba(28, 152, 237, 0) 70%);
}

.login {
    position: relative;
    z-index: 1;
    padding: 32px 30px 26px;
    width: min(100%, 430px);
    text-align: center;
    background: linear-gradient(155deg, rgba(0, 0, 0, 0.3), rgba(255, 255, 255, 0.14));
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(6, 10, 14, 0.28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.36);
    overflow: hidden;
}

.login::before,
.login::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

.login::before {
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.03) 45%, rgba(255, 17, 103, 0.08) 100%);
}

.login::after {
    top: -80px;
    right: -35px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 235, 56, 0.30) 0%, rgba(255, 235, 56, 0) 72%);
}

.login .login-form {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.login-header,
.login-footer {
    position: relative;
    z-index: 1;
}

.login-header {
    margin-bottom: 22px;
}

.login-header h1 {
    margin: 10px 0 0;
    font-family: var(--garet);
    font-size: 40px;
    line-height: 1;
    font-weight: 400;
    color: var(--10);
    text-shadow: 0 10px 30px rgba(6, 10, 14, 0.35);
}

.login-logo {
    display: inline-block;
    object-fit: cover;
    filter: drop-shadow(0 12px 20px rgba(6, 10, 14, 0.18));
}

.login .login-header .login-logo {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0);
}

.login .login-footer {
    margin-top: 24px;
    opacity: 0.9;
}

.login .login-footer .login-logo {
    max-width: 88px;
    mix-blend-mode: screen;
}

.login-error {
    position: relative;
    z-index: 1;
    max-width: 420px;
    margin: 0 auto 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #ffe2e2;
    color: #182736;
    text-align: center;
    font-family: Arial, sans-serif;
}

.login .login-form .input-group {
    width: 100%;
}

.login .login-form .input-group input {
    margin-bottom: 0;
    font-size: 20px;
    width: 100%;
    text-align: center;
    height: 52px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.18);
    color: var(--10);
    padding: 0 18px;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 10px 24px rgba(24, 39, 54, 0.10);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.login .login-form .input-group input::placeholder {
    color: rgba(255, 255, 255, 0.74);
    letter-spacing: 0.03em;
}

.login .login-form .input-group input:focus {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 235, 56, 0.72);
    box-shadow: 0 0 0 4px rgba(255, 235, 56, 0.16), 0 16px 32px rgba(24, 39, 54, 0.16);
}

.login .submit-button {
    width: 100%;
    margin-top: 14px;
}

.login .submit-button button {
    width: 100%;
    height: 52px;
    background: var(--3);
    border: none;
    color: var(--10);
    padding: 10px 20px;
    border-radius: 16px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 18px 35px rgba(28, 152, 237, 0.22);
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.login .submit-button button:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 22px 40px rgba(255, 17, 103, 0.32);
    filter: brightness(1.05);
}

.login .submit-button button:active {
    transform: translateY(0);
}

.login-form .submit-button p{
    margin: 12px 0 0;
    font-size: 16px;
    color: var(--3);
    background-color: var(--10);
    padding: 6px 10px;
    border-radius: 12px;
}

.login-form .submit-button p a {
    color: var(--13);
    text-decoration: none;
    font-weight: 500;
    transition: color 180ms ease;
}

.login-form .submit-button p a:hover {
    color: var(--14);
}

@media (max-width: 480px) {
    body {
        padding: 16px;
        display: block;
    }

    .login {
        width: 100%;
        margin: 0 auto;
        padding: 28px 22px 24px;
        border-radius: 22px;
    }

    .login-header .login-logo {
        width: 120px !important;
    }

    .login-header h1 {
        font-size: 2rem;
        margin-top: 6px;
    }

    .login .login-form .input-group input {
        font-size: 16px;
        height: 50px;
        border-radius: 14px;
    }

    .login .submit-button button {
        height: 50px;
        border-radius: 14px;
        font-size: 15px;
    }

    .login-form .submit-button p {
        font-size: 13px;
    }

    .login .login-footer .login-logo {
        max-width: 72px;
    }
}

@media (max-height: 700px) and (max-width: 480px) {
    body {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .login-header {
        margin-bottom: 14px;
    }

    .login .login-footer {
        margin-top: 14px;
    }
}
