#budget-calculator {
    padding: 64px 0;
}

.budget_calculator_header {
    text-align: center;
    margin: 24px 0;
}

.budget_calculator_main {
    position: relative;
    width: 100%;
    max-width: 1024px;
    height: fit-content;
    margin: 0 auto;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    overflow: hidden;
}

/*.budget_calculator_main.changing_step{
    min-height: 768px;
}*/

#budget-calculator .step_header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#budget-calculator #step_1 .step_header,
#budget-calculator #step_2 .step_header {
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 16px;
}

#budget-calculator #step_2 .step_header {
    gap: 8px;
}

#budget-calculator [id*="step_"] {
    transition: all .3s ease;
    position: initial;
    left: 0;
    padding: 24px;
    width: 100%;
    max-width: 100%;
}

#budget-calculator [id*="step_"].current {
    position: absolute;
    left: 0;
}

#budget-calculator [id*="step_"].next {
    position: absolute;
    left: 100%;
    top: -100%;
}

#budget-calculator [id*="step_"].prev {
    position: absolute;
    left: -100%;
    top: -100%;
}


#budget-calculator #step_1 .step_header h2,
#budget-calculator #step_1 .step_header p,
#budget-calculator #step_2 .step_header h2,
#budget-calculator #step_2 .step_header p {
    margin: 0;
}

#budget-calculator [id*="step_"]:not(#step_1) .step_header h2,
#budget-calculator [id*="step_"]:not(#step_1) .step_header p {
    width: 100%;
    text-align: center;
}

#budget-calculator #step_1 .step_header p {
    margin-top: 4px;
    font-size: 12px;
}

#budget-calculator #step_1 .step_header img {
    height: 64px;
    width: auto;
}

#budget-calculator #step_1 .field_row_header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

#budget-calculator #step_1 .field_row_header h3 {
    margin: 0;
    flex: 1;
}

#budget-calculator #step_1 .field_row_header img {
    height: 32px;
    width: auto;
}

#budget-calculator #step_1 .field_row .inputs,
#budget-calculator #step_3 .field_row .inputs {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
}

#budget-calculator #step_1 .field_row .inputs .input_row,
#budget-calculator #step_3 .field_row .inputs .input_row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#budget-calculator #step_1 .field_row .inputs .input_row label,
#budget-calculator #step_3 .field_row .inputs .input_row label {
    margin: 0;
    width: 100%;
    text-align: left;
}

#budget-calculator #step_1 .field_row .inputs .input_row input,
#budget-calculator #step_3 .field_row .inputs .input_row input {
    font-size: 18px;
    padding: 8px;
    border-radius: 0;
    outline: none;
    border: none;
    border-bottom: 1px solid #e0e0e0;
}

#budget-calculator #step_1 .field_row {
    margin-bottom: 16px;
}

#budget-calculator #step_1 .field_row:not(:first-child) {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
}

#budget-calculator .add_package {
    width: 100%;
    max-width: 100%;
}

#budget-calculator .budget_button_continue,
#budget-calculator .budget_button_reset,
#budget-calculator .budget_button_open_input,
#budget-calculator .budget_button_close_input {
    width: 100%;
    margin: 16px 0;
    max-width: 100%;
}

#budget-calculator #step_1 .field_row_header .remove_package img {
    height: 24px;
    cursor: pointer;
}

#budget-calculator .order_type img {
    height: 64px;
    width: auto;
}

#budget-calculator .step_content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

#budget-calculator #step_5 .step_content{
    gap: 24px 32px;
}


#budget-calculator .order_type {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    height: 150px;
    width: 150px;
    padding: 24px;
    border-radius: 24px;
    background: #fff;
    cursor: pointer;
    transition: all .3s ease;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

#budget-calculator .order_type:hover,
#budget-calculator .order_type.selected {
    transform: scale(1.05);
    background: #ffa600;
    color: #fff;
}

#budget-calculator .order_type:hover img,
#budget-calculator .order_type.selected img {
    filter: invert(1) grayscale(1) brightness(100);
}

#budget-calculator .budget_button_back {
    max-width: none;
    width: 100%;
    margin: 16px 0;
}

#budget-calculator #step_3 .order_type p,
#budget-calculator #step_4 .order_type p {
    margin: 0;
    font-size: 24px;
}

.budget_result {
    font-size: 42px;
    margin: 32px 0;
}

#budget-calculator #step_3 .step_buttons{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
#budget-calculator #step_3.open_input .step_buttons{
    display: none;
}

#budget-calculator #step_3 input{
    text-align: center;
}

#budget-calculator #step_3 .field_row{
    display: none;
}

#budget-calculator #step_3.open_input .field_row{
    display: block;
}

#budget-calculator #step_3 .input_row{
    justify-content: center;
}

#budget-calculator #step_3 .field_row .inputs .input_row label{
    text-align: center;
}

#budget-calculator #step_3 .budget_calculator_currency{
    font-size: 18px;
}

@media (min-width: 512px) {
    #budget-calculator #step_1 .field_row .inputs {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    #budget-calculator #step_1 .field_row .inputs {
        grid-template-columns: repeat(4, 1fr);
    }
}