/* ========== EDITOR PAGE STYLES ========== */

body {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: auto;
}

.map-container {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: crosshair;
    display: flex;
    justify-content: center;
    align-items: center;
}

#mapWrapper {
    cursor: crosshair;
}

.map-container.example {
    background-image: url('../mapexample.png');
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.marker {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.marker:hover {
    width: 40px !important;
    height: 40px !important;
}

.marker-tooltip {
    font-size: 11px;
    font-weight: bold;
    color: #333;
}

.marker-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1000;
}

.marker-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: #2a2a2a;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    max-width: 400px;
    width: 90%;
}

.modal-content h3 {
    margin-bottom: 20px;
}

.modal-content p {
    margin-bottom: 15px;
    font-size: 12px;
}

.modal-content input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #444;
    border-radius: 4px;
    background-color: #1a1a1a;
    color: white;
    font-size: 12px;
}

.modal-content input:focus {
    outline: none;
    border-color: #4a9eff;
}

.modal-content button {
    width: 100%;
    padding: 10px;
    background-color: #4a9eff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.modal-content button:hover {
    background-color: #2d7dd4;
}

.nav-button {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 16px;
    background-color: #4a9eff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    z-index: 100;
    transition: all 0.2s ease;
}

.nav-button:hover {
    background-color: #2d7dd4;
    box-shadow: 0 0 10px rgba(74, 158, 255, 0.5);
}

.status-bar {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #4a9eff;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 11px;
    z-index: 100;
}
