.pre-order-form {
    .title-block {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 2px;
        font-weight: 500;
        font-size: 24px;
        line-height: 32px;
        color: #0F172A;

        span {
            font-weight: 400;
            font-size: 14px;
            line-height: 20px;
            letter-spacing: 0;
            color: #475569;
        }
    }

    .form-block {
        margin-top: 24px;
        display: flex;
        flex-direction: column;
        gap: 25px;
        width: 100%;
        border-radius: 8px;
        padding: 25px;
        background-color: #FFFFFF;
        border: 1px solid #E2E8F0;
        opacity: 1;
        visibility: visible;
        transition: opacity 0.5s ease, visibility 0.5s ease;

        .title {
            font-family: Poppins-Semi-Bold, serif;
            font-weight: 600;
            font-size: 18px;
            line-height: 24px;
            letter-spacing: 0;
            color: #0C111D;
            width: 100%;
            text-align: left;
        }

        .options-block {
            display: flex;
            justify-content: stretch;
            align-items: center;
            gap: 16px;

            .option {
                display: flex;
                height: 52px;
                justify-content: space-between;
                align-items: center;
                border-radius: 8px;
                padding: 16px 12px;
                background-color: #FCFCFD;
                border: 1px solid #E2E8F0;
                flex: 1;
                font-weight: 500;
                font-size: 14px;
                line-height: 20px;
                letter-spacing: 0;
                color: #334155;
                cursor: pointer;

                span {
                    font-weight: 400;
                    font-size: 12px;
                    line-height: 18px;
                    letter-spacing: 0;
                    color: #64748B;
                }

                .radio-button {
                    width: 16px;
                    height: 16px;
                    border-radius: 8px;
                    border: 1px solid #94A3B8;
                    transition: 0.1s;
                }

                .radio-button-selected {
                    border: 5px solid var(--pre-order-color);
                }
            }
        }

        .separator {
            width: 100%;
            height: 1px;
            border: 1px solid #E2E8F0;
        }

        .fuels-block {
            width: 100%;
            display: none;
            flex-direction: column;
            gap: 25px;

            .fuels-order {
                display: flex;
                flex-direction: column;
                gap: 24px;

                .title {
                    span {
                        font-family: Poppins, serif;
                        font-weight: 400;
                        font-size: 14px;
                        line-height: 20px;
                        color: #334155;

                        .sub {
                            font-weight: 400;
                            font-size: 12px;
                            line-height: 18px;
                            letter-spacing: 0;
                            color: #64748B;
                        }
                    }
                }

                .fuels-container {
                    width: 100%;
                    display: flex;
                    justify-content: flex-start;
                    align-items: stretch;
                    flex-wrap: wrap;
                    gap: 24px;

                    .fuel-option {
                        width: calc((100% - 72px) / 4);
                        border-radius: 8px;
                        padding: 16px;
                        border: 1px solid #E2E8F0;
                        background-color: #FCFCFD;
                        display: flex;
                        flex-direction: column;

                        .fuel-category {
                            width: 100%;
                            font-weight: 600;
                            font-size: 14px;
                            line-height: 20px;
                            letter-spacing: 1px;
                            text-align: center;
                            color: #64748B;
                            margin-bottom: 8px;
                        }

                        .fuel {
                            display: flex;
                            justify-content: space-between;
                            align-items: flex-start;
                            width: 100%;
                            gap: 8px;
                            padding-top: 6px;
                            padding-bottom: 6px;
                            font-weight: 500;
                            font-size: 14px;
                            line-height: 20px;
                            letter-spacing: 0;
                            color: #334155;

                        }

                    }
                }
            }

        }

        .next-button-container, .submit-button-container {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 1em;
            width: 100%;

            .error-messages {
                font-size: 12px;
                color: red;
                text-align: left;
                display: none;
            }

            .next-button, .submit-button {
                height: 40px;
                width: 111px;
                padding: 10px 14px;
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 10px;
                border-radius: 32px;
                border: 1px solid var(--pre-order-color);
                font-family: Poppins-Semi-Bold, serif;
                font-weight: 600;
                font-size: 14px;
                line-height: 20px;
                letter-spacing: 0;
                color: white;
                background-color: var(--pre-order-color);
                transition: 0.3s;
            }
        }

        .fuel-checkbox {
            position: relative;
            display: inline-block;
            width: 20px;
            height: 20px;
        }

        .fuel-checkbox input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .checkmark {
            cursor: pointer;
            position: absolute;
            top: 2px;
            left: 0;
            width: 16px;
            height: 16px;
            border-radius: 4px;
            background-color: #fff;
            border: 1px solid #94A3B8;
            transition: background-color 0.3s, border-color 0.3s;
        }

        .fuel-checkbox input:checked ~ .checkmark {
            background-color: var(--pre-order-color);
            border-color: var(--pre-order-color);
        }

        .checkmark::after {
            content: "";
            position: absolute;
            display: none;
        }

        .fuel-checkbox input:checked ~ .checkmark::after {
            display: block;
            left: 5px;
            top: 1px;
            width: 5px;
            height: 10px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }

        .customer-info-block {
            display: flex;
            flex-direction: column;
            width: 100%;
            justify-content: center;
            align-items: center;
            gap: 16px;

            .cgv-checkbox {
                width: 100%;
                display: flex;
                gap: 8px;
                justify-content: flex-start;
                align-items: center;
                font-weight: 400;
                font-size: 14px;
                line-height: 20px;
                letter-spacing: 0;
                color: #475569;

                .cgv-label {
                    flex: none;
                }
            }

            label {
                flex: 1;
                font-family: Poppins, serif;
                font-weight: 500;
                font-size: 14px;
                line-height: 20px;
                letter-spacing: 0;
                color: #334155;
            }

            .full-width {
                width: 100%;
            }

            .info-row {
                width: 100%;
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 8px;
            }

            .info-input {
                flex: 1;
                height: 34px;
                justify-content: space-between;
                border-radius: 8px;
                padding: 8px 12px;
                box-shadow: 0 1px 2px 0 #1018280D;
                border: 1px solid #CBD5E1;
                background-color: white;
                transition: 0.3s;
                margin-top: 8px;
            }

            .info-input:focus {
                border: 1px solid var(--pre-order-color);
                box-shadow: none;
            }
        }

        .fuel-qty {
            width: 100%;
            height: 34px;
            justify-content: space-between;
            border-radius: 8px;
            padding: 8px 12px;
            box-shadow: 0 1px 2px 0 #1018280D;
            border: 1px solid #CBD5E1;
            background-color: white;
            display: none;
            transition: 0.3s;
        }

        .fuel-qty:focus {
            border: 1px solid var(--pre-order-color);
            box-shadow: none;
        }
    }

    .form-block.hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

.success-block {
    width: 100%;
    height: 550px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    color: #0F172A;

    .message {
        font-family: Poppins-Semi-Bold, serif;
        font-weight: 600;
        font-size: 32px;
        line-height: 42px;
        text-align: center;
    }

    .description {
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
        text-align: center;
    }

    .home-button {
        font-family: Poppins-Semi-Bold, serif;
        font-weight: 600;
        font-size: 14px;
        line-height: 20px;
        color: white;
        border: 1px solid #1D4851;
        background-color: #1D4851;
        width: 248px;
        height: 36px;
        gap: 4px;
        border-radius: 32px;
    }
}

@media only screen and (max-width: 768px) {
    .pre-order-form {

        .title-block {
            text-align: center !important;
            align-items: center;
        }

        .first-step {
            .next-button-container {
                align-items: center;
            }

            .title {
                text-align: center !important;
            }

            .options-block {
                flex-direction: column;

                .option {
                    width: 100%;

                    span {
                        max-width: 130px !important;
                    }
                }
            }

            .fuels-block {
                .title {
                    text-align: center !important;
                }

                .fuels-container {
                    justify-content: center !important;

                    .fuel-option {
                        width: 300px !important;
                    }
                }

            }
        }

        .second-step {
            .title {
                text-align: center !important;
            }

            .options-block {
                display: block !important;

                .option {
                    margin-top: 16px;
                }
            }
        }
    }
}
