main {
    font-family: 'LXGW WenKai TC', cursive;
    font-weight: 400;
    font-style: normal;
    border: none;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}

#main-auth {
    background: linear-gradient(45deg, #434343 0%, #000000 100%);
}

#main-registr {
    background: linear-gradient(to right, #EAF8B6, #A3D4D7);
}

.auth-registr {
    margin: 20vh;
    text-align: center;
    /* Центрируем текст */
    font-size: 40px;
    /* Размер шрифта для текста "Вход" */
    padding: 20px;
    border-radius: 8px;
    background-color: #fff;
    /* Цвет фона формы */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* Небольшая тень для глубины */
}

#error_message {
    height: 18px;
    color: #b70000;
    font-size: 17px;
}

input[type="text"],
input[type="password"],
input[type="email"] {
    width: 100%;
    /* Ширина input на 100% от родителя */
    padding: 15px;
    /* Отступы внутри input */
    margin: 10px 0;
    /* Отступы вокруг input */
    border: 2px solid #007BFF;
    /* Цвет рамки */
    border-radius: 5px;
    /* Закругления углов */
    font-size: 16px;
    /* Размер шрифта внутри input */
    transition: border-color 0.3s;
    /* Плавный переход для рамки при фокусе */
}

#password,
#reppass {
    margin-bottom: 0;
}

input[type="text"]:focus {
    border-color: #9000f0;
    outline: none;
}

input[type="email"]:focus {
    border-color: #d68700;
    outline: none;
}

input[type="password"]:focus {
    border-color: #b70000;
    /* Цвет рамки при фокусе */
    outline: none;
    /* Убираем стандартное выделение */
}

#myForm input[type="submit"] {
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}


.divRememberMe {
    margin: 10px 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 10px; /* фиксированный отступ вместо margin-right */
    white-space: nowrap; /* запрещаем перенос текста */
}

.rememberMe {
    font-size: 25px;
    margin-right: 0; /* убираем старый отступ */
    white-space: nowrap; /* текст не переносится */
}

input[type="checkbox"] {
    width: 25px;
    height: 25px;
    flex-shrink: 0; /* чекбокс не сжимается */
}



.no-or-yes-account {
    padding-top: 15px;
    font-size: 20px;
}

.polite {
    font-size: 16px;
}

.registation-title {
    font-size: 40px;
}

.recomendations {
    font-size: 20px;
}

@media (max-width: 769px) {
    main {
        padding: 0;
    }

    .auth-registr {
        width: 90vw;
        margin: 6vh 0;
        font-size: 80px;
    }

    .vhod {
        font-size: 12vw;
    }

    .rememberMe {
        font-size: 20px; /* чуть меньше на телефонах */
    }
    
    .divRememberMe {
        gap: 8px;
    }

    input[type="text"],
    input[type="password"],
    input[type="email"] {
        font-family: 'LXGW WenKai TC', cursive;
        font-weight: 400;
        font-style: normal;

        display: flex;

        padding: 15px;
        /* Отступы внутри input */
        margin: 20px 0;
        /* Отступы вокруг input */
        border-radius: 6px;
        /* Закругления углов */
        font-size: 20px;
        /* Размер шрифта внутри input */
    }

    /* input[type="submit"] {
        margin-top: 0;
        padding: 10px 20px;
        border-radius: 10px;
        font-size: 30px;
    } */

    .no-or-yes-account {
        font-size: 23px;
    }

    .polite {
        font-size: 17px;
    }

    input[type="checkbox"] {
        width: 23px;
        height: 23px;
    }
}

.email input[type='text'] {
    border-color: #d68700;
}

#YandexContainerId {
    width: 50px;
    margin-right: 10px;
}

.auth-by-apis {
    display: flex;
    justify-content: center;
}




.custom-google-signin-icon {
    /* Базовый стиль */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    /* large size */
    height: 42px;
    border-radius: 50%;
    /* circle shape */
    border: 1px solid #ffffff;
    /* outline theme */
    background-color: #f4f5f8;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    /* плавный переход */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    /* Небольшая тень */
    padding: 0;
    margin: 0;
    outline: none;
    /* Убираем стандартное выделение при фокусе */
}

.custom-google-signin-icon img {
    border-radius: 50%;
    /* Стиль для иконки */
    width: 85%;
    /* Подгоняем размер иконки */
    height: auto;
    display: block;
}

.custom-google-signin-icon:hover {
    /* Эффект при наведении */
    background-color: #f1f1f5;
}

.custom-google-signin-icon:active {
    /* Эффект при нажатии */
    background-color: #f0f0f0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transform: scale(0.95);
    /* Небольшое масштабирование при нажатии */
    transition: transform 0.1s ease-in-out;
    /* ускоряем анимацию нажатия */
}