@font-face {
    font-family: 'Lucida Fax Regular';
    src: url('../font/LucidaFaxRegular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Отдельная форма */
.hero-form {
    position: relative;
    z-index: 110;
    width: 420px;
    height: 550px;
    left: 20%;
    top: 40%;
    padding: 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: space-between;
}


.form-header-hero {
    font-family: 'Lucida Fax Regular', sans-serif;
    font-size: 50px;
    font-style: italic;
    font-weight: 500;
    height: 40px;
    line-height: 36px;
    color: #383d46;
    margin-top: 0px;
    margin-right: 24px;
    margin-bottom: 40px;
    text-align: center;
}

.close-button-hero {
    position: absolute;
    top: 17px;
    right: 17px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.close-button-hero img {
    width: 24px;
    height: 24px;
    display: block;
}

.input-containers-hero {
    position: relative;
    margin-bottom: 20px;
    margin-top: 10px;
}

.input-field-hero {
    background-color: #FFFFFF;
    border: 0px solid #FFFFFF;
    border-radius: 8px;
    padding: 12px 70px 12px 12px;
    font-size: 16px;
    height: 48px;
    color: #020C22;
    width: 100%;
    box-sizing: border-box;
}

.input-field-hero::placeholder {
    color: #1C2539;
}

.valid-icon-hero {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

.password-field-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 10px;
}

.password-icons-hero {
    display: flex;
    gap: 8px;
    position: absolute;
    right: 10px;
    align-items: center;
}

.icon-hero {
    cursor: pointer;
}

.sign-up-button-hero {
    background-color: #ff7c1e;
    color: #ffffff;
    border: none;
    font-weight: 500;
    font-family: 'Roboto';
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    cursor: not-allowed;
    min-height: 48px;
    margin-top: 20px;
    width: 100%;
}

.sign-up-button-hero:enabled {
    background-color: #ff7c1e;
    cursor: pointer;
    color: #182107;
}

.terms-text-hero {
    font-family: Roboto, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
    color: #1c2539;
    text-align: center;
    margin-top: 20px;
}

.rules-link-hero {
    color: #FF7C1E;
    text-decoration: none;
}

/* Список требований к паролю */
.password-checklist-hero {
    font-family: Roboto, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
    color: #1C2539;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.check-item-hero {
    display: flex;
    align-items: center;
    gap: 8px;
}

.check-hero {
    width: 16px;
    height: 16px;
}

/* Промокод */
.promo-code-section-hero {
    font-size: 14px;
    color: #79849B;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.checkbox-container-hero {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    color: #1C2539;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-weight: 400;
    padding-top: 2px;
}

.checkbox-container-hero input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox-hero {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    border: 1.5px solid #1C2539;
    border-radius: 4px;
    background-color: transparent;
}

.checkbox-container-hero input:checked ~ .custom-checkbox-hero {
    background-color: #ffffff;
    background-image: url('../reg_v2/gal.png');
    background-repeat: no-repeat;
    background-position: center;
}

#hero-promo-code-input {
    display: none;
    margin-top: 12px;
    width: 100%;
}

.error-message-hero {
    font-family: Roboto, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 16px;
    color: #1C2539;
    margin-top: 10px;
    text-align: left;
}

@media (max-height: 900px){
    .hero-form {
        position: relative;
        z-index: 110;
        width: 320px;
        height: 443px;
        left: 27%;
        top: 40%;
        padding: 25px;
        border-radius: 20px;
        display: flex;
        flex-direction: column;
        gap: 15px;
        justify-content: space-between;
    }
    .form-header-hero {
        font-family: 'Lucida Fax Regular', sans-serif;
        font-size: 38px;
        font-style: italic;
        font-weight: 500;
        height: 16px;
        line-height: 36px;
        color: #383d46;
        margin-top: 0px;
        margin-right: 24px;
        margin-bottom: 40px;
        text-align: center;
    }
    .input-containers-hero {
        position: relative;
        margin-bottom: 10px;
        margin-top: 10px;
    }
    .input-field-hero {
        background-color: #FFFFFF;
        border: 0px solid #FFFFFF;
        border-radius: 8px;
        padding: 12px 70px 12px 12px;
        font-size: 16px;
        height: 40px;
        color: #020C22;
        width: 100%;
        box-sizing: border-box;
    }
 }


@media (max-width: 768px) {
    .hero-form {
        position: relative;
        z-index: 110;
        width: 320px;
        left: 21.5%;
        top: 25%;
        padding: 30px;
        border-radius: 20px;
        display: flex;
        flex-direction: column;
        gap: 15px;
        justify-content: space-between;
    }

    .form-header-hero {
        font-family: 'Lucida Fax Regular', sans-serif;
        font-size: 30px;
        font-style: italic;
        font-weight: 500;
        line-height: 30px;
        color: #383d46;
        margin-top: 0px;
        margin-right: 24px;
        margin-bottom: 24px;
        text-align: center;
    }
    .input-containers-hero {
        position: relative;
        margin-bottom: 20px;
        margin-top: 10px;
    }
    .input-field-hero {
        background-color: #FFFFFF;
        border: 0px solid #FFFFFF;
        border-radius: 8px;
        padding: 12px 70px 12px 12px;
        font-size: 16px;
        height: 48px;
        color: #020C22;
        width: 100%;
        box-sizing: border-box;
    }
}

