/*fonts*/
@font-face {
    font-family: 'yekanbakh2';
    src: url('fonts/Regular.ttf') format('truetype');
}

.plg-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 1200px;
    margin: 20px auto;
    flex-direction: row-reverse;
    background-color: white;
    border-radius: 10px;
    font-family: 'yekanbakh2';
    border: 2px solid #ccc;
}

.map-container {
    flex: 1;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin: 15px;
    position: relative;
}

.map-header {
    padding: 0px 0px 10px;
    text-align: center;
}

.map-header h2 {
    margin: 0;
    font-size: 17px;
    color: #333;
    padding: 0px 10px;
}

.map-header button {
    margin-right: 10px;
    padding: 5px 10px;
    cursor: pointer;
    text-align: center;
    border-radius: 8px;
    font-family: 'yekanbakh2';
    font-size: 14px;
    color: #fff;
    border: none;
    background: #e30613;
    margin-bottom: 0px;
    width: max-content;
}

#map {
    height: 480px;
    margin: 5px;
}

#find-my-location {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 10px;
    cursor: pointer;
    text-align: center;
    border-radius: 8px;
    font-family: 'yekanbakh2';
    font-size: 14px;
    color: #fff;
    border: none;
    background: #e30613;
    z-index: 1000;
    display: none;
}

@media (max-width: 768px) {
    #find-my-location {
        display: block;
    }
}

.locations-list {
    flex: 0 0 300px;
    padding: 10px;
    margin: 10px;
    background-color: #fff;
    border-radius: 8px;
}

.locations-list h2 {
    margin-top: 0;
    font-size: 20px;
    text-align: right;
}

.select-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

select {
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'yekanbakh2';
    font-size: 14px;
    text-align: right;
    cursor: pointer;
    width: 100%;
    height: 34px;
}

select:focus {
    outline: none;
    border-color: #e30613;
}

#location-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#location-list li {
    padding: 10px;
    text-align: right;
}

#location-list li p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

#location-list li strong {
    font-size: 16px;
    color: #3e3e3e;
}

#location-list li a {
    color: #0078A8;
    text-decoration: none;
}

#location-list li a:hover {
    text-decoration: underline;
}

.location-buttons {
    display: flex;
    gap: 8px;
    margin-top: 5px;
}

.location-buttons button {
    padding: 5px 10px;
    cursor: pointer;
    text-align: center;
    border-radius: 8px;
    font-family: 'yekanbakh2';
    font-size: 14px;
}

.location-buttons button:first-child {
    flex: 2;
    color: #343434;
    border: 3px solid transparent;
    background-image: linear-gradient(#f5fff7, #f5fff5), linear-gradient(to right, #e30613, #e30613);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.location-buttons button:last-child {
    flex: 1;
    color: #fff;
    border: none;
    background: linear-gradient(to bottom, #e30613, #e30613);
    box-shadow: inset 0px -2px 0px rgba(0, 0, 0, 0.2), 0px 0px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .plg-container {
        flex-direction: column;
        align-items: center;
        width: 95%;
    }

    .map-container {
        margin: 15px 0;
        width: 100%;
    }

    .locations-list {
        width: 100%;
        margin: 0 15px 15px 15px;
        height: 100%;
    }

    #map {
        height: 400px;
    }
}

.leaflet-bottom {
    display: none;
}