/*body {
    display: flex;
    flex-direction: column;
    height: 150vh;
    margin: 0;
    font-family: Arial, sans-serif;
}*/
#main {
    display: flex;
    flex: 1;
}
#sidebar {
    width: 35%;
    padding: 20px;
    background-color: #f4f4f4;
    overflow-y: auto;
}
#map {
    width: 65%;
    height: 150vh;
}
.distributor {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    background: #fff;
    border: 1px solid #ccc;
    flex-direction: row;
    cursor: pointer;
}
.distributor img {
    width: 125px;
    height: 125px;
    margin-right: 10px;
}
.distributor-name {
    margin: 0;
    font-size: 1rem;
}
.distributor-info {
    margin-bottom: 0;
    word-break: break-all;
}
.filters {
    margin-bottom: 20px;
}
.filters label {
    display: block;
    margin-bottom: 5px;
}
.filters select, .filters input {
    width: 100%;
    padding: 5px;
    margin-bottom: 10px;
}
#contact-form-link {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    margin: 20px;
}
#contact-form-link a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #df1923;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}
#modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
#modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    width: 400px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    position: relative;
}
#modal-content h2 {
    margin-top: 0;
}
#modal-content input, #modal-content textarea {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
#modal-content button {
    width: 100%;
    padding: 10px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
#modal-content .g-recaptcha {
    transform: none!important;
}
#modal-content label {
    margin-bottom: 0;
}
#modal-content .error {
    color: #df1923;
    font-size: 12px;
}
#modal-content .alert {
    width: 100%;
    position: relative;
    right: 0;
}
.dealer-subtitle {
    font-size: 22px;
}
.close-btn {
    font-size: 12px;
    border: 1px solid #df1923 !important;
    cursor: pointer;
    margin-top: 0.5rem;
    background-color: white !important;
    color: #df1923 !important;
    border: black 1px;
}
.close-btn:hover {
    background-color: #df1923 !important;
    color: white !important;
}

#pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

#pagination-controls button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 5px 10px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 5px;
}

#pagination-controls button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#pagination-controls span {
    margin: 0 10px;
}

p {
    font-size: 14px;
}

@media (max-width: 990px) {
    #main {
        flex-direction: column;
    }
    #sidebar {
        width: 100%;
        height: 50%;
    }
    #map {
        width: 100%;
        height: 50%;
        margin-right: 2rem;
    }
    .distributor {
        flex-direction: row;
        align-items: flex-start;
    }
    .distributor img {
        margin-top: 1rem;
        margin-right: 12px;
    }
}