/* ========== AUTH MODAL STYLES ==========*/
/* Модальное окно входа и регистрации */

/* Модальное окно */
.auth-modal {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--yellow-btn);
    border-radius: 12px;
    z-index: 100;
    padding: 30px;
    overflow-y: auto;
}

.auth-modal.active {
    display: block;
}

.auth-modal__content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.auth-modal__close {
    position: absolute;
    top: -10px;
    right: 0;
    width: 32px;
    height: 32px;
    font-size: 32px;
    color: var(--text-dark);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
}

.auth-modal__close:hover {
    transform: scale(1.2);
}

.auth-modal__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 30px 0;
    text-align: center;
}

.auth-modal__subtitle {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 15px 0;
    text-align: center;
}

/* Контейнер с двумя колонками */
.auth-modal__container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
}

/* Секция (левая/правая половина) */
.auth-modal__section {
    display: flex;
    flex-direction: column;
    width: 50%;
}

.auth-modal__section:first-child {
    border-right: 2px solid var(--card-border);
    padding-right: 20px;
    align-items: center;
}

.auth-modal__section:last-child {
    padding-left: 20px;
    align-items: center;
}

/* Форма */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.auth-form__input {
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background-color: #f0f0f0;
    color: var(--text-dark);
}

.auth-form__input::placeholder {
    color: #999;
}

/* Чекбокс и согласие */
.auth-form__agreement {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-form__checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--orange-icon);
}

.auth-form__label {
    font-size: 13px;
    color: var(--text-dark);
    cursor: pointer;
}

.auth-form__link {
    color: var(--orange-icon);
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
}

.auth-form__link:hover {
    color: #ff6b35;
}

/* Кнопки */
.auth-form__submit {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.auth-form__submit--green {
    background-color: #4caf50;
}

.auth-form__submit--green:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.auth-form__submit--blue {
    background-color: #2196f3;
}

.auth-form__submit--blue:hover {
    background-color: #1976d2;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.auth-form__submit:disabled {
    background-color: #9e9e9e;
    cursor: not-allowed;
    transform: none;
}

.auth-form__submit:disabled:hover {
    background-color: #9e9e9e;
    transform: none;
    box-shadow: none;
}

