/**
 * Géoplan — styles
 * (styles communs dans public/css/materiel-commun.css)
 */

.gp-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    touch-action: none;
}

.gp-peg {
    fill: #8d6e63;
    stroke: #5d4037;
    stroke-width: 1;
}

.gp-peg-hit {
    fill: transparent;
    cursor: pointer;
}

.gp-peg-hit:hover + .gp-peg,
.gp-peg.gp-peg-hover {
    fill: #4a69bd;
}

.gp-elastic {
    fill: none;
    stroke-width: 6;
    stroke-linejoin: round;
    stroke-linecap: round;
    cursor: pointer;
}

.gp-elastic-closed {
    fill-opacity: 0.18;
}

.gp-elastic-selected {
    stroke-dasharray: none;
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.45));
}

.gp-elastic-current {
    stroke-dasharray: 10 6;
}

.gp-vertex {
    stroke: #fff;
    stroke-width: 2;
}

/* Pastilles de couleur du panneau */
.gp-color-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: -2px;
}
