body {

    font-family: Arial, sans-serif;

    margin: 0;

    padding: 0;

    display: flex;

    flex-direction: column;

    min-height: 100vh;

}



header {

    background: #d97500;

    color: white;

    padding: 10px 0;

    text-align: center;

}



header img {

    max-width: 150px;

    /* Adjust the size of the logo */

    height: auto;

}



main {

    flex: 1;

    padding: 20px;

    display: flex;

    justify-content: center;

    align-items: center;

}



.form-container {

    background: #f2f2f2;

    padding: 20px;

    border-radius: 8px;

    max-width: 500px;

    width: 100%;

    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

}



.form-container h2 {

    margin-bottom: 20px;

}



.form-container label {

    display: block;

    margin-bottom: 5px;

}

.form-group{
    margin-bottom: 15px;
}

.text-danger{
    color: #dc3545 !important;
}
.form-group span {
    font-size: 14px;
}
.form-container .form-field {

    width: 100%;

    padding: 10px;

    border: 1px solid #ccc;

    border-radius: 4px;

    box-sizing: border-box;

}
.form-container .form-field.select2-search__field {

    width: 100%;

    padding: 10px;

    border: 1px solid #ccc;

    border-radius: 4px;

    box-sizing: border-box;

}



.form-container button {

    width: 100%;

    padding: 10px;

    background: #d97500;

    color: white;

    border: none;

    border-radius: 4px;

    cursor: pointer;

}



.form-container button:hover {

    background: #c46800;

}
button.btn-success {

    width: 100%;

    padding: 10px;

    background: green;

    color: white;

    border: none;

    border-radius: 4px;

    cursor: pointer;

}



button.btn-success:hover {

    background: green;

}



footer {

    background: #d97500;

    color: white;

    text-align: center;

    padding: 10px 0;

}



@media (max-width: 600px) {

    header img {

        max-width: 120px;

        /* Adjust for smaller screens */

    }

}

.select2-container {
    width: 100% !important;
}

.select2-selection {
    height: 38px;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.select2-selection__placeholder {
    color: #aaa;
}

.select2-selection__rendered {
    padding: 8px;
}

.select2-selection__arrow {
    height: 100%;
    top: 0;
}

.select2-results {
    max-height: 200px;
    overflow-y: auto;
}

.select2-container .select2-selection--single {
    height: 40px !important;
}

/* Dotted loader styles */
.loader-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
}

.loader div {
    width: 12px;
    height: 12px;
    margin: 0 3px;
    background-color: #d97500;
    border-radius: 50%;
    animation: dots 1.2s infinite ease-in-out;
}

.loader div:nth-child(1) {
    animation-delay: 0s;
}

.loader div:nth-child(2) {
    animation-delay: 0.2s;
}

.loader div:nth-child(3) {
    animation-delay: 0.4s;
}

.loader div:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes dots {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}
.toggle-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    display: flex;
}
.toggle-label {
    margin-right: 10px;
    font-size: 14px;
    font-weight: bold;
}
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 20px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: #4CAF50;
}
input:checked + .slider:before {
    transform: translateX(20px);
}
.info-icon {
    margin-left: 4px;
    font-size: 12px;
    cursor: pointer;
    position: relative;
    margin-bottom: 5px;
}
.info-icon:hover::after {
    content: "If you want to ship your car and return to the same place, enable this option.";
    position: absolute;
    left: 20px;
    bottom: 100%;
    width: 200px;
    background: #333;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    font-size: 12px;
    white-space: normal;
}