*, *:before, *:after {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    font-family: Arial, Helvetica, sans-serif;
}

#top-bar {
    height: 80px;
    background-color: #3b3835;
    width: 100%; 
    display: flex;
    align-items: center;
    justify-content: initial;
}

    #top-bar img {
        height: 60px;
        width: auto;
    }

.container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .container {
        display: block;
    }
}

.section {
    margin-top: 20px;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.section-header {
    margin-top: 20px;
    width: 100%;
    font-size: 18px;
    font-weight: bold;
}

.section-title {
    background-color: #e24329;
    color: #ffffff;
    padding: 10px;
    border-radius: 5px 5px 0 0;
    font-size: 18px;
    font-weight: bold;
}

.section-main {
    width: 100%;
    padding: 10px;
}

.section input[type="text"], .section select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #ffffff;
}

    .section input[type="text"]:focus, .section select:focus {
        outline: none;
        border-color: #e24329;
        box-shadow: 0 0 5px rgba(226, 67, 41, 0.5);
    }

.section select {
    cursor: pointer;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" width="24" height="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z" fill="%23ccc"></path></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.input-group-same {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
}

    .input-group-same .company-zip {
        width: 100px !important;
    }

.input-group input, .input-group select {
    width: 100%;
    box-sizing: border-box;
}

.section label {
    font-size: 16px;
    font-weight: bold;
    display: block;
    margin: 10px 0;
    vertical-align: middle;
    color: #333;
}

.button-container {
    margin-top: 20px;
    text-align: center;
}

.button-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.submit-button {
    background-color: #e24329;
    color: #ffffff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s;
    width: 100% !important;
    text-align: center;
}

    .submit-button:hover {
        background-color: #c7311f;
    }

.section-info {
    width: 100%;
}

.info-container {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.map-container {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.label-item {
    left: 5px;
    font-weight: bold;
}

.label-description {
    left: 5px;
    font-weight: normal !important;
}

.error {
    border: 1px solid red !important;
}


@media (min-width: 768px) {

    .section-info {
        display: flex !important;
    }


    .section-main {
        flex-direction: row;
    }

    .info-container {
        flex: 0 0 auto;
        max-width: 400px;
    }

    .map-container {
        flex: 1;
    }

    .input-group {
        flex-direction: row;
        gap: 10px;
    }

    .input-group-same {
        flex-direction: row !important;
        gap: 10px;
    }

    .input-group-split {
        width: 100%;
    }

    .input-group-desktop {
        display: flex;
        flex-direction: row;
        gap: 10px;
        align-items: center;
        justify-content: flex-start;
    }

    .company-state {
        min-width: 105px;
    }


    .input-group .company-name {
        width: calc(100% - 5px) !important;
    }

    .input-group .mc-number,
    .input-group .dot-number {
        width: 100% !important;
    }

    .input-group .company-address {
        width: calc(60% - 5px) !important;
    }

    .input-group .company-city {
        width: calc(40% - 5px) !important;
    }

    .submit-button {
        width: 200px !important; /* Reset to auto width for desktop */
        padding: 15px 30px;
    }

    .button-container {
        justify-content: flex-end; /* Align to the right for desktop */
    }
}




