/* ===== СТРАНИЦА ВХОДА ===== */
.login-page {
    min-height: 100vh;
    background-color: #080a0c;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    padding: 20px 0;
}

.login-wrapper {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 24px;
    position: relative;
}

/* Кнопка возврата */
.login-back {
    position: absolute;
    top: 24px;
    left: -324px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.login-back:hover {
    color: #fff;
}

/* Заголовок с логотипом */
.login-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.login-header__text {
    font-weight: 700;
    font-size: 22px;
    color: #fff;
    cursor: pointer;
    transition: color 0.2s;
}

.login-header__text:hover {
    color: #00AFFF;
}

/* Основной блок */
.login-box {
    width: 400px;
    background-color: #171d23;
    border-radius: 24px;
    padding: 32px 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid #2b2e33;
    margin: 10vh auto 0;
}

.login-box__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.login-box__logo-text {
    font-weight: 700;
    font-size: 20px;
    color: #fff;
}

.login-box__divider {
    height: 1px;
    background-color: #2b2e33;
    margin-bottom: 24px;
}

.login-box__title {
    font-family: 'Aeroport-Bold', 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 27px;
    line-height: 32px;
    color: #fff;
    margin: 0 0 12px 0;
    text-align: center;
}

.login-box__subtitle {
    font-size: 14px;
    line-height: 20px;
    color: #868D98;
    margin: 0 0 24px 0;
    text-align: center;
}

/* Формы */
.login-form-container {
    width: 100%;
}

.login-form__input {
    width: 100%;
    height: 52px;
    background-color: #0e1217;
    border: 1px solid #2b2e33;
    border-radius: 12px;
    padding: 0 16px;
    font-size: 16px;
    color: #fff;
    outline: none;
    transition: border-color 0.2s;
    margin-bottom: 16px;
}

.login-form__input:focus {
    border-color: #00AFFF;
}

.login-form__input::placeholder {
    color: #6C747F;
}

.login-form__button {
    width: 100%;
    height: 52px;
    background-color: #00AFFF;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: black;
    cursor: pointer;
    transition: background-color 0.2s;
}

.login-form__button:hover {
    background-color: #fff;
}

/* Социальные иконки */
.login-social {
    margin-top: 24px;
    text-align: center;
}

.login-social__text {
    font-size: 13px;
    color: #6C747F;
    display: block;
    margin-bottom: 16px;
}

.login-social__icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.login-social__icon {
    width: 48px;
    height: 48px;
    background: transparent;
    border: 1px solid #4F5864;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s;
}

.login-social__icon:hover {
    border-color: #fff;
}

.login-social__icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.login-social__icon:nth-child(4) img {
    width: 80px;
    height: 52px;
}

.login-social__icon:nth-child(3) img {
    width: 80px;
    height: 52px;
}

.login-switch {
    text-align: center;
    margin-top: 24px;
}

.login-switch__link {
    color: #00AFFF;
    text-decoration: none;
    font-size: 15px;
    transition: text-decoration 0.2s;
}

.login-switch__link:hover {
    text-decoration: underline;
}

/* Поля для email-формы */
.login-form__input--large {
    height: 60px;
    width: 350px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

#emailForm .login-form__button {
    width: 350px;
    margin: 0 auto;
    display: block;
}

/* Ссылка "Восстановить пароль" */
.login-forgot-link {
    display: block;
    text-align: center;
    margin-top: 16px;
    color: #00AFFF;
    text-decoration: none;
    font-size: 14px;
}

.login-forgot-link:hover {
    text-decoration: underline;
}

/* ===== ЭКРАН ВЕРИФИКАЦИИ ===== */
.login-verify__phone-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    gap: 10px;
}

.login-verify__phone {
    font-size: 16px;
    color: #868D98;
}

.login-verify__help-link {
    color: #00AFFF;
    text-decoration: none;
    font-size: 14px;
}

.login-verify__help-link:hover {
    text-decoration: underline;
}

.login-verify__timer-container {
    text-align: center;
    margin: 12px 0 16px;
}

.login-verify__timer {
    color: #868D98;
    font-size: 14px;
}

.login-verify__resend {
    color: #00AFFF;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.login-verify__resend:hover {
    text-decoration: underline;
}

.login-verify__change {
    text-align: center;
    margin-top: 16px;
}

.login-verify__change-link {
    color: #00AFFF;
    text-decoration: none;
    font-size: 15px;
}

.login-verify__change-link:hover {
    text-decoration: underline;
}

/* Поле ввода кода */
#codeInput {
    text-align: left;
    letter-spacing: normal;
    font-size: 16px;
    font-weight: normal;
}

/* ===== МОДАЛЬНОЕ ОКНО "НЕ ПРИШЕЛ КОД?" ===== */
.help-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 4000;
}

.help-modal.active {
    opacity: 1;
    visibility: visible;
}

.help-modal__content {
    width: 320px;
    background-color: #fff;
    border-radius: 20px;
    padding: 24px 20px 20px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    color: #000;
    margin-left: 596px;
    margin-top: 185px;
}

.help-modal__content::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 40px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 20px 10px 0;
    border-color: transparent #fff transparent transparent;
}

.help-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: #868D98;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.help-modal__close:hover {
    background-color: #f0f0f0;
}

.help-modal__title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #000;
}

.help-modal__subtitle {
    font-size: 14px;
    color: #4F5864;
    margin: 0 0 16px 0;
}

.help-modal__list {
    margin: 0 0 20px 0;
    padding-left: 20px;
    font-size: 14px;
    line-height: 1.5;
    color: #000;
}

.help-modal__list li {
    margin-bottom: 12px;
}

.help-modal__contacts {
    border-top: 1px solid #e0e0e0;
    padding-top: 16px;
    border-top-color: #2b2e33;
    margin-left: 10px;
}

.help-modal__phone {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    margin-bottom: 8px;
}

.help-modal__phone:hover {
    color: #00AFFF;
}

.help-modal__email {
    display: block;
    font-size: 18px;
    color: #00AFFF;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 8px;
}

.help-modal__email:hover {
    text-decoration: underline;
}

.help-modal__hours {
    font-size: 14px;
    color: #4F5864;
    margin: 8px 0 0;
}

