body {
    margin: 0;
    overflow: hidden;
    font-family: sans-serif;
}

#mapa_clanes {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
    background: #000;
}

#ventanas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    display: none;
}

#ventanas > .content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

#ventanas > .content > div {
    position: relative;
    max-width: 600px;
    height: auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    display: flex;
    flex-direction: column;
}

#ventanas > .content > div input,
#ventanas > .content > div select,
#ventanas > .content > div button {
    display: block;
    max-width: 130px;
    margin: 5px 0;
}

#ventanas > .content > div hr {
    width: 100%;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 10px 0;
}

#ventanas > .cerrar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000070;
    cursor: pointer;
    z-index: 1000;
}

#mapa_clanes .opciones {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
}

#mapa_clanes .opciones button {
    padding: 8px 16px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

#mapa_clanes .opciones button:hover {
    background: #45a049;
}

#mapa_clanes .mapa {
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: center;
    user-select: none;
    cursor: grab;
}

#mapa_clanes .mapa img {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
}

#mapa_clanes .puntos {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#mapa_clanes .punto {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: red;
    border: 2px solid white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: all;
    cursor: move;
    transition: transform 0.1s;
}

#mapa_clanes .punto:hover {
    transform: translate(-50%, -50%) scale(1.3);
}