﻿body {
    margin: 0;
    font-family: 'TT Interfaces', sans-serif;
    background-color: #101014;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
}

.auth-container {
    max-width: 422px;
    width: 100%;
    padding: 24px 20px 0 20px;
    border-radius: 10px;
    background: linear-gradient(180deg, #18181F 0%, #16161C 100%);
    border: 2px solid #FFFFFF05;
    box-sizing: border-box;
}

    .auth-container h1 {
        font-size: 24px;
        font-weight: 500;
        line-height: 26.4px;
        margin: 0;
        color: #F5F5FF;
    }

    .auth-container p {
        font-size: 16px;
        font-weight: 400;
        line-height: 17.6px;
        margin: 10px 0 24px 0;
        color: #77778A;
    }

.input-group {
    max-width: 374px;
    width: 100%;
    margin: 0 auto 20px;
}

    .input-group label {
        font-size: 16px;
        font-weight: 400;
        color: #76768A;
        display: block;
        margin-bottom: 8px;
    }

    .input-group input {
        width: 100%;
        height: 44px;
        border-radius: 10px;
        border: 1px solid #FFFFFF05;
        background-color: #141419;
        color: #F5F5FF;
        padding: 12px;
        box-sizing: border-box;
        font-size: 16px;
    }

.remember-block {
    max-width: 374px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto 20px;
}

    .remember-block .checkbox-group {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .remember-block input[type="checkbox"] {
        display: none;
    }

    .remember-block label {
        position: relative;
        display: inline-flex;
        align-items: center;
        cursor: pointer;
        font-size: 14px;
        font-weight: 400;
        color: #76768A;
        gap: 8px;
    }

        .remember-block label::before {
            content: '';
            display: inline-block;
            width: 16px;
            height: 16px;
            border-radius: 4px;
            border: 1px solid #FFFFFF05;
            background: #1c1c24;
            position: relative;
            transition: background 0.3s ease;
        }

    .remember-block input[type="checkbox"]:checked + label::before {
        background: url('../../img/check-white.png') no-repeat center center;
        background-size: contain;
        border-color: #FFFFFF05;
    }

    .remember-block a {
        font-size: 16px;
        font-weight: 500;
        color: #FF8225;
        text-decoration: none;
        cursor: pointer;
    }

        .remember-block a:hover {
            text-decoration: underline;
        }

.auth-container button {
    max-width: 374px;
    width: 100%;
    height: 44px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    margin: 0 auto 10px;
    display: block;
}

    .auth-container button:hover {
        opacity: 0.9;
    }

    .auth-container button:active {
        transform: scale(0.98);
    }

.separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 10px auto;
}

    .separator .line {
        width: 100%;
        max-width: 156px;
        height: 1px;
        background: linear-gradient(90deg, rgba(32, 32, 41, 0) 0%, #202029 100%);
    }

    .separator span {
        font-size: 14px;
        font-weight: 400;
        color: #48485C;
    }

.confirm {
    color: #F5F5FF;
    border: 1px solid #FFFFFF1F;
    background: linear-gradient(180deg, #FEA664 0%, #FF8225 100%);
}

.telegram-login {
    max-width: 374px;
    width: 100%;
    height: 44px;
    border-radius: 10px;
    border: 1px solid #FFFFFF3D;
    font-size: 18px;
    font-weight: 500;
    background: #25BAFF;
    color: #F5F5FF;
    cursor: pointer;
    display: block;
    margin: 0 auto 20px;
}

    .telegram-login:hover {
        opacity: 0.9;
    }

    .telegram-login:active {
        transform: scale(0.98);
    }

.register-btn {
    max-width: 374px;
    width: 100%;
    height: 44px;
    border-radius: 10px;
    border: 1px solid #FFFFFF05;
    font-size: 18px;
    font-weight: 500;
    background: #1C1C24;
    color: #9B9BB0;
    cursor: pointer;
    display: block;
}

    .register-btn:hover {
        opacity: 0.9;
    }

    .register-btn:active {
        transform: scale(0.98);
    }

.sync-message {
    font-family: 'TT Interfaces', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 20.8px;
    text-align: center;
    letter-spacing: 0.005em;
    color: #525268;
    background: transparent;
    margin-top: 10px;
    padding: 10px;
    max-width: 370px;
}
