.input-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    justify-content: center;
}

.input-hr {
    width: 100%;
    height: 1px;
    background-color: var(--gray-250);
    margin: 1.5px 0;
    opacity: 1;
    border: none;
    padding: 0;
}

.street-input {
    width: calc(79% - 6px);
}
.street-number-input {
    width: calc(21% - 6px);
}

/* Remove as setinhas do input type="number" no Chrome, Safari, Edge */
.street-number-input input::-webkit-outer-spin-button,
.street-number-input input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Remove as setinhas do input type="number" no Firefox */
.street-number-input input[type="number"] {
    -moz-appearance: textfield;
}

.input-form label {
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0%;
    color: var(--gray-700);
}

.input-form .input-wrapper {
    width: 100%;
}

.input-form select,
.input-form input {
    font-weight: 400;
    font-size: 16px;
    color: var(--text-500);
    padding: 10px 14px;
    border: 1px solid var(--gray-300);
    background-color: var(--background-color-light);
    border-radius: 8px;
    width: 100%;
}

.input-form.ava select,
.input-form.ava input {
    border-radius: 10px;
    border-color: var(--gray-250);
}

.input-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("../../img/icons/pikaicons-svg/stroke/arrows-chevrons/chevron-big-down.svg");
    background-repeat: no-repeat;
    background-position: calc(100% - 8px) center;
    background-size: 20px 20px;
    padding-right: 35px;
}

/* Estilo para o Select2 para ficar igual ao seu select nativo */
.input-form .select2-container--default .select2-selection--single {
    font-weight: 400;
    font-size: 16px;
    color: var(--text-500);
    padding: 10px 14px;
    border: 1px solid var(--gray-300);
    background-color: var(--background-color-light);
    border-radius: 8px;
    width: 100%;
    height: auto;
    min-height: 42px;
    display: flex;
    align-items: center;
}

.input-form
    .select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    color: var(--text-500);
    line-height: 1.5;
    padding-left: 0;
}

.input-form
    .select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 100%;
    right: 10px;
}

/* Remove a borda azul do Select2 ao focar */
.input-form .select2-container--default .select2-selection--single:focus,
.input-form .select2-container--default .select2-selection--single:active {
    border-color: var(--gray-300);
    box-shadow: none;
}

.input-form select.error,
.input-form input.error {
    border: 1px solid var(--red-450);
}

.input-form .invalid-feedback {
    display: none;
    gap: 8px;
    font-size: 14px;
    color: var(--red-450);
    width: 100%;
    align-items: center;
    justify-content: flex-start;
}

.input-form .invalid-feedback svg {
    width: 14px;
    height: 14px;
}

/* Estilo customizado para checkbox */
.input-form.checkbox-form {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.input-form.checkbox-form .input-wrapper {
    width: auto;
    order: 1;
}

.input-form.checkbox-form label {
    order: 2;
    margin-left: 4px;
    font-weight: 600;
    cursor: pointer;
}

.input-form.checkbox-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
}

.input-form.checkbox-form .invalid-feedback {
    width: 100%;
    order: 3;
    margin-top: 4px;
    justify-content: center;
}

.input-form .required-mark {
    font-size: 14px;
    line-height: 20px;
    color: var(--color-brand-600);
}

.input-form.hidden {
    display: none;
}

.input-form strong#terms-modal {
    color: var(--color-brand-600);
    font-weight: 900;
    cursor: pointer;
    text-decoration: underline;
}

.input-form .image-wrapper {
    display: flex;
    width: 100%;
    gap: 20px;
}

.input-form .image-wrapper img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 100px;
}

.input-form .image-wrapper strong {
    color: var(--text-950);

    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.176px;
    margin-bottom: 4px;
}

.input-form .image-wrapper p {
    color: var(--text-550);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.084px;
    margin-bottom: 12px;
}

.input-form .image-wrapper button {
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid var(--border-color-100);
    background-color: var(--background-color-light);
    box-shadow: 0px 1px 2px 0px rgba(82, 88, 102, 0.06);

    color: var(--text-550);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.084px;
    width: auto;
}

.input-form .sex-wrapper {
    gap: 12px;
}

.input-form .sex-wrapper-options {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.input-form .sex-wrapper-options .input-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 10px 16px 10px 14px;
    border: 1px solid var(--gray-300);
    background-color: var(--background-color-light);
    cursor: pointer;
}

.input-form .sex-wrapper-options .input-wrapper input[type="radio"] {
    width: auto;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-800);
    border-radius: 50%;
    margin: 0;
    position: relative;
    padding: 0;
    background-color: transparent;
}

.input-form .sex-wrapper-options .input-wrapper input[type="radio"]:checked {
    background-color: transparent;
}

.input-form
    .sex-wrapper-options
    .input-wrapper
    input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--gray-800);
}

.input-form .sex-wrapper-options .input-wrapper:hover {
    background-color: var(--gray-50);
}
.input-form .sex-wrapper-options .input-wrapper:first-child {
    border-radius: 8px 0 0 8px;
    border-right: none;
}
.input-form .sex-wrapper-options .input-wrapper:last-child {
    border-radius: 0 8px 8px 0;
    border-left: none;
}

.input-form .phone-wrapper {
    display: flex;
    gap: 0;
}

.input-form
    .phone-wrapper
    .select2-container--default
    .select2-selection--single {
    border-radius: 8px 0 0 8px;
    border-right: none;
}

.input-form .phone-wrapper input {
    border-radius: 0 8px 8px 0;
    width: 80%;
}

.password-input-wrapper .toggle-password-eye svg {
    width: 20px;
    height: 20px;
    display: block;
    color: var(--gray-360);
}
.password-input-wrapper .toggle-password-eye {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 2;
    user-select: none;
}
.password-input-wrapper input[type="password"],
.password-input-wrapper input[type="text"] {
    padding-right: 40px;
}

@media (max-width: 576px) {
    .street-input {
        width: 100%;
    }
    .street-number-input {
        width: 100%;
    }

    .input-form .sex-wrapper {
        gap: 4px;
    }

    .input-form .sex-wrapper-options {
        flex-direction: column;
        gap: 12px;
        text-align: left;
    }

    .input-form .sex-wrapper-options .input-wrapper {
        border-radius: 10px;
        justify-content: flex-start;
    }

    .input-form .sex-wrapper-options .input-wrapper input {
        width: auto;
    }
    .input-form .sex-wrapper-options .input-wrapper:hover {
        background-color: var(--gray-50);
    }
    .input-form .sex-wrapper-options .input-wrapper:first-child {
        border-radius: 10px;
        border-right: 1px solid var(--gray-300);
    }
    .input-form .sex-wrapper-options .input-wrapper:last-child {
        border-radius: 10px;
        border-left: 1px solid var(--gray-300);
    }
}
