@import url('https://fonts.googleapis.com/css2?family=Lora&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Diphylleia&display=swap');
body {
    margin: 0;
    padding: 0;
}

#map {
    height: 100vh;
    width: 100%;
}

.admin-container {
    max-width: 800px;
    margin: auto;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

input {
    width: 100%;
    /*min-height: 100px;*/
    margin: 10px 0;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
}

textarea {
    width: 100%;
    min-height: 100px;
    margin: 10px 0;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 15px;
}

button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background-color: #4D6341;
    color: white;
}

button:hover {
    background-color: #45a049;
}

#cancelMarker {
    background-color: #9B150B;
}

#cancelMarker:hover {
    background-color: #da190b;
}

.modal-note {
    margin-top: 15px;
    color: #666;
    font-size: 0.9em;
    font-style: italic;
}

#markerContent {
    margin-bottom: 15px;
    line-height: 1.5;
}

.marker-pin {
    background-color: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    border: 2px solid white;
    transition: all 0.3s ease;
}

.marker-pin:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

.marker-people {
    transform: rotate(45deg);
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.form-group {
    margin: 10px 0;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.custom-div-icon {
    background: none;
    border: none;
}

.edit-form {
    padding: 20px;
}

.edit-form label {
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: bold;
}

.edit-form textarea,
.edit-form input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.edit-form textarea {
    height: 100px;
    resize: vertical;
}

.edit-buttons {
    margin-top: 20px;
    text-align: right;
}

.edit-buttons button {
    margin-left: 10px;
}

#editContainer.modal {
    z-index: 1001;
}

#editContainer .modal-content {
    max-width: 600px;
}

.leaflet-popup-content {
    margin: 13px;
    transform: rotate(0deg) !important;
}

.marker-popup {
    padding: 5px;
    text-align: center;
    transform: rotate(0deg) !important;
}

.marker-popup .marker-message {
    margin: 0;
    font-size: 14px;
    transform: rotate(0deg) !important;
    line-height: 1.4;
}

.marker-popup .marker-people {
    margin: 0;
    color: #4CAF50;
    font-weight: bold;
    font-size: 12px;
    transform: rotate(0deg) !important;
}
div, p, label, input { font-family: Lora, sans-serif; }
h3 { font-family: Diphylleia, sans-serif; text-transform: uppercase;}