.hero-form {
    position: relative;
    z-index: 1; /* Слой формы */
    width: 504px;
    height: auto;
    padding: 12px;
   
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow: hidden;
    justify-content: space-between;
}

.hero-registrationForm {
z-index: 10;
}

.form-header-hero {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    margin-top: 5px;
    margin-bottom: 20px;
    font-weight: 500;
    line-height: 21.09px;
    color: #FFFFFF;
    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: 15px;
}

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

.input-field-hero::placeholder {
    color: #79849B;
}

.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: 20px;
}

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

.icon-hero {
    cursor: pointer;
}

.sign-up-button-hero {
    font-family: 'Onest', sans-serif;
    background-color: #FF7C1E;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: not-allowed;
    height: 48px;
    margin-top: 20px;
    width: 100%;
    transition: background-color 0.3s ease;
}

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

.sign-up-button-hero:active {
    background-color: #FF9A29;
    cursor: pointer;
}

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

.rules-link-hero {
    color: #BB85FF;
    text-decoration: underline;
}

/* Список требований к паролю */
.password-checklist-hero {
    font-family: Roboto, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 14px;
    color: #ffffff;
    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: #ffffff;
    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: #F5F5F599;
    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 #F5F5F599;
    border-radius: 4px;
    background-color: transparent;

}

.checkbox-container-hero input:checked ~ .custom-checkbox-hero {
    background-color: #FF8701;
    border: 1.5px solid #FF8701;
    background-image: url('../reg2/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: #FE5D5D;
    margin-top: 10px;
    text-align: left;
}


@media (max-width: 767px) {
.hero-form {
    padding: 0px;
}
}