.mml-container {
    display: flex;
    padding: 40px 20px;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    color: white;
}
.mml-container {
    background: #4181d0!important;
}

.entry-content {
    background: #4181d0!important;
}

.mml-left {
    flex: 1;
}

.mml-right {
    flex: 1;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mml-map-placeholder {
    width: 100%;
    height: 300px;
    background-color: #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #888;
    border: 1px dashed #ccc;
}


.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
}

.leaflet-control-attribution {
    display:none;
}



.mml-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    background-color: #4181d0;
    border-left: 2px solid #ddd;
    max-width: 400px;
}

.mml-right h2 {
    font-size: 1.5em;
    margin: 0;
    color: #fff;
}

.mml-right p {
    margin: 0;
    font-size: 1em;
    color: #fff;
    line-height: 1.4;
}

.mml-right a.button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #29b961;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.mml-right a.button:hover {
    background-color: #29b961;
}



/*Admin interface*/

/* Style for admin interface */
.mml-location-row {
    background: #fff;
    border: 1px solid #ccd0d4;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.mml-location-row label {
    display: flex;
    flex-direction: column;
    font-weight: 600;
    color: #23282d;
}

.mml-location-row input[type="text"],
.mml-location-row input[type="url"],
.mml-location-row textarea {
    padding: 6px 10px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    margin-top: 5px;
}

.mml-location-row textarea {
    resize: vertical;
}

.mml-location-row .button {
    grid-column: span 2;
    margin-top: 10px;
    align-self: start;
}

#wpbody-content form .button-primary {
    margin-top: 10px;
}

@media (max-width: 768px) {
    .mml-location-row {
        grid-template-columns: 1fr;
    }
}




/*Responsive for mobile*/


@media only screen and (max-width: 768px) {
    .mml-container {
        display:block;
        padding:1em;
    }
    .entry-content {
        padding:0;
    }
    .mml-right {
        border-left: 0px;
    }
}