form {
    width: 100%;
}

.background-container {
    display: flex;
    width: 100%;
    padding: 48px 12px;
    justify-content: center;
    align-items: center;
    background: #F9FAFB;
}

.background-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 24px;
    max-width: 1280px;
}

.step-container {
    display: flex;
    width: 100%;
    padding: 0px 24px;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.step-number-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.step-number {
    display: flex;
    width: 110px;
    height: 48px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
    border: 2px solid #CED4DA;
    background: #FFF;
}

.step-number span {
    color: #4B5563;
    font-family: var(--poppins-font);
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
}

.step-number.active {
    border: 2px solid #660EBA;
}

.step-number.active span {
    color: #660EBA;
}

.step-rectangle {
    width: 100%;
    height: 2px;
    background: #CED4DA;
}

.step-label-container {
    display: flex;
    width: 100%;
    align-items: flex-start;
}

.step-label {
    font-family: var(--poppins-font);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    width: 100%;
}

.step-label.step-1 {
    text-align: start;
}

.step-label.step-2 {
    text-align: center;
}

.step-label.step-3 {
    text-align: end;
}

.step-label.active {
    color: #660EBA;
}

.form-container {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 24px;
    background: #FFF;
    box-shadow: 0px 12px 32px 0px rgba(0, 0, 0, 0.06);
}

.form-content {
    display: flex;
    width: 100%;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.form-header {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.form-header.alternative {
    gap: 8px;
}

.form-title {
    color: #660EBA;
    font-family: var(--poppins-font);
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    line-height: 40px;
    margin-bottom: 0 !important;
}

.form-title.alternative {
    color: #171C26;
    font-size: 24px;
    line-height: 32px;
}

.form-text {
    color: #4B5563;
    font-family: var(--poppins-font);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.form-text.alternative {
    color: #4B5563;
    font-size: 14px;
    line-height: 21px;
}

.form-rectangle {
    width: 100%;
    height: 1px;
    background: #E5E7EB;
}

.form-box {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.form-group-wrapper {
    display: flex;
    width: 100%;
    align-items: flex-start;
    flex-direction: row;
    gap: 12px;
}

.form-group {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 0 !important;
}

.form-label-wrapper {
    display: flex;
    gap: 8px;
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
}

.form-label-wrapper span {
    color: var(--red-color);
    font-family: var(--poppins-font);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
}

.form-label {
    color: #4B5563;
    font-family: var(--poppins-font);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    margin-bottom: 0 !important;
}

.form-control {
    padding: 0px 12px !important;
    height: 40px !important;
    border-radius: 12px !important;
    border: 1px solid #D1D5DB !important;
    color: #6C757D !important;
    font-family: var(--poppins-font);
}

.select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px;
    width: 100%;
}

.select-wrapper .select-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.select-wrapper select {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
}

.selected-values {
    display: flex;
    width: 100%;
    margin-bottom: 5px;
}

.input-group-append {
    margin-left: -8px !important;
    z-index: 1;
    cursor: pointer;
}

.input-group-text {
    border-top-right-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
}

.form-footer {
    display: flex;
    padding: 24px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.btn-back {
    display: flex;
    height: 48px;
    padding: 8px 24px;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    background: #FFF;
    color: #000;
    text-align: center;
    font-family: var(--poppins-font);
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
    text-decoration: none;
}

.btn-back:hover {
    cursor: pointer;
    color: #660EBA;
    border: 1px solid #660EBA;
    background: #F9FAFB;
    transition: all 0.3s ease;
}

.btn-next {
    display: flex;
    height: 48px;
    padding: 8px 24px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 16px;
    background: #660EBA;
    color: #FFF;
    text-align: center;
    font-family: var(--poppins-font);
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
}

.btn-next:hover {
    cursor: pointer;
    background: #4B0082;
    transition: all 0.3s ease;
}

/* ======= CHECKBOX ======== */
.form-check {
    display: flex !important;
    width: 100%;
    flex-direction: row;
    align-items: end;
    gap: 8px;
}

.form-checkbox-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.form-check-label {
    color: #000;
    font-family: var(--poppins-font);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin-left: 8px;
}

.form-highlight {
    color: #660EBA;
    font-weight: 700;
}

.ui-checkbox {
    --primary-color: #1677ff;
    --secondary-color: #fff;
    --primary-hover-color: #4096ff;
    /* checkbox */
    --checkbox-diameter: 20px;
    --checkbox-border-radius: 5px;
    --checkbox-border-color: #d9d9d9;
    --checkbox-border-width: 1px;
    --checkbox-border-style: solid;
    /* checkmark */
    --checkmark-size: 1.2;
}

.ui-checkbox,
.ui-checkbox *,
.ui-checkbox *::before,
.ui-checkbox *::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.ui-checkbox {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: var(--checkbox-diameter);
    height: var(--checkbox-diameter);
    border-radius: var(--checkbox-border-radius);
    background: var(--secondary-color);
    border: var(--checkbox-border-width) var(--checkbox-border-style) var(--checkbox-border-color);
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.ui-checkbox::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-box-shadow: 0 0 0 calc(var(--checkbox-diameter) / 2.5) var(--primary-color);
    box-shadow: 0 0 0 calc(var(--checkbox-diameter) / 2.5) var(--primary-color);
    border-radius: inherit;
    opacity: 0;
    -webkit-transition: all 0.5s cubic-bezier(0.12, 0.4, 0.29, 1.46);
    -o-transition: all 0.5s cubic-bezier(0.12, 0.4, 0.29, 1.46);
    transition: all 0.5s cubic-bezier(0.12, 0.4, 0.29, 1.46);
}

.ui-checkbox::before {
    top: 40%;
    left: 50%;
    content: "";
    position: absolute;
    width: 4px;
    height: 7px;
    border-right: 2px solid var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
    -webkit-transform: translate(-50%, -50%) rotate(45deg) scale(0);
    -ms-transform: translate(-50%, -50%) rotate(45deg) scale(0);
    transform: translate(-50%, -50%) rotate(45deg) scale(0);
    opacity: 0;
    -webkit-transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s;
    -o-transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s;
    transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s;
}

/* actions */

.ui-checkbox:hover {
    border-color: var(--primary-color);
}

.ui-checkbox:checked {
    background: var(--primary-color);
    border-color: transparent;
}

.ui-checkbox:checked::before {
    opacity: 1;
    -webkit-transform: translate(-50%, -50%) rotate(45deg) scale(var(--checkmark-size));
    -ms-transform: translate(-50%, -50%) rotate(45deg) scale(var(--checkmark-size));
    transform: translate(-50%, -50%) rotate(45deg) scale(var(--checkmark-size));
    -webkit-transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;
    -o-transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;
    transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;
}

.ui-checkbox:active:not(:checked)::after {
    -webkit-transition: none;
    -o-transition: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    transition: none;
    opacity: 1;
}

@media screen and (max-width: 938px) {
    .step-container {
        padding: 0px
    }

    .step-label {
        font-size: 14px;
        line-height: 20px;
    }

    .form-title {
        font-size: 30px;
        line-height: 36px;
    }

    .form-group-wrapper {
        flex-direction: column;
    }
}