.reseller-map-container {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.reseller-map-content {
    position: relative;
    width: 50%;
    padding: 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.reseller-map-content h2 {
    color: #006731;
    font-size: 36px;
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: 500;
}

.reseller-search-container {
    position: relative;
    margin-bottom: 10px;
    width: 100%;
    max-width: 450px;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    font-size: 18px;
    z-index: 1;
}

#reseller-search {
    width: 100%;
    padding: 12px 12px 12px 45px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-size: 16px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    box-sizing: border-box;
}

#use-my-position {
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 20px;
    background-color: transparent;
    color: #006731;
    border: none;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    padding: 0;
}

#use-my-position:hover {
    text-decoration: underline;
}

.location-icon {
    margin-right: 8px;
    color: #006731;
}

#reseller-map {
    height: 600px;
    width: 100%;
    margin: 0;
    border: none;
    box-sizing: border-box;
}

/* Firefox-spetsiifiline parandus */
@-moz-document url-prefix() {
    #reseller-map {
        height: 600px !important;
        width: 100% !important;
        position: relative !important;
    }
}

#reseller-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
    max-width: 450px;
    margin-top: 25px;
    overflow-y: auto;
    max-height: 300px;
}

.reseller-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 2px;
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    transition: background-color 0.2s;
    text-align: left;
}

.reseller-item:hover {
    background-color: #f0f0f0;
}

.reseller-item h3 {
    margin-top: 0;
    color: #006731;
    font-size: 18px;
}

.info-window {
    padding: 5px 0;
}

.info-window h3 {
    margin-top: 0;
    color: #006731;
}

@media (max-width: 768px) {
    .reseller-map-content,
    #reseller-map {
        width: 100%;
    }

    #reseller-map {
        height: 300px;
        order: 2;
    }

    .reseller-map-content {
        order: 1;
        padding: 20px;
    }

    .reseller-search-container {
        max-width: 100%;
    }
}