
/* ADMIN */

.cl-admin-hotspots {
    border-top:1px solid #ddd;
    padding:10px 0;
    margin-top:8px;
    min-width:0;
}

.cl-admin-hotspots summary {
    cursor:pointer;
    font-size:12px;
    font-weight:600;
}

.cl-admin-hotspots p {
    font-size:11px;
    margin:8px 0;
}

.cl-admin-hotspot-stage {
    position:relative;
    width:100%;
    background:#222;
}

.cl-admin-hotspot-stage img {
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    display:block!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
    cursor:crosshair;
}

.cl-admin-pin-layer {
    position:absolute;
    inset:0;
    pointer-events:none;
}

.cl-admin-pin {
    position:absolute;
    transform:translate(-50%,-50%);
    display:grid;
    place-items:center;
    width:23px;
    height:23px;
    border-radius:50%;
    background:#fff;
    color:#222;
    border:1px solid #222;
    font-size:11px;
    font-weight:700;
}

.cl-admin-pin.active {
    background:#e4ee91;
}

.cl-admin-pin-fields {
    display:grid;
    gap:6px;
    border:1px solid #ddd;
    padding:8px;
    margin-top:8px;
}

.cl-admin-pin-fields label {
    display:block;
    font-size:11px;
}

.cl-admin-pin-fields input,
.cl-admin-pin-fields textarea {
    box-sizing:border-box;
    width:100%;
    min-width:0;
    padding:6px;
    border:1px solid #ccc;
    background:transparent;
    color:inherit;
    font-size:12px;
}

.cl-admin-pin-fields button {
    font-size:11px;
    padding:5px;
    cursor:pointer;
    border:1px solid #ccc;
    background:transparent;
    color:inherit;
}

.cl-admin-pin-fields button[aria-pressed="true"] {
    background:#e4ee91;
    color:#20231e;
    border-color:#a9b15d;
}

.cl-admin-pin-coords {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:6px;
}

/* MAGAZA */

.cl-hotspot-host {
    position:relative;
}

.cl-hotspot-layer {
    position:absolute;
    pointer-events:none;
    z-index:3;
}

.cl-hotspot-layer[hidden],
.cl-hotspot-note[hidden] {
    display:none!important;
}

.cl-hotspot-button {
    position:absolute;
    transform:translate(-50%,-50%);
    display:grid;
    place-items:center;
    width:29px;
    height:29px;
    border:1px solid #20231e;
    border-radius:50%;
    background:#e4ee91;
    color:#20231e;
    font:500 22px/1 Arial,sans-serif;
    padding:0;
    pointer-events:auto;
    cursor:pointer;
    box-shadow:0 0 0 4px #e4ee9138;
    touch-action:manipulation;
}

.cl-hotspot-button:hover,
.cl-hotspot-button[aria-expanded="true"] {
    background:#fffdf5;
}

.cl-hotspot-button:focus-visible {
    outline:2px solid #fff;
    outline-offset:3px;
}

.cl-hotspot-note {
    position:relative;
    padding:12px 36px 12px 14px;
    margin:8px 0;
    border:1px solid #c5ce83;
    background:#e4ee91;
    color:#20231e;
    font:400 13px/1.5 "DM Sans",Arial,sans-serif;
    overflow-wrap:anywhere;
}

.cl-hotspot-note strong {
    display:block;
    font-weight:600;
}

.cl-hotspot-note p {
    margin:4px 0 0;
}

.cl-hotspot-note button {
    position:absolute;
    top:6px;
    right:8px;
    padding:3px;
    border:0;
    background:transparent;
    color:#20231e;
    font-size:21px;
    cursor:pointer;
}
