
/* Viewer page */
* {
    box-sizing: border-box
}

:root {
    --bg: #0f172a;
    --panel: #111827;
    --muted: #334155;
    --text: #e5e7eb;
    --accent: #60a5fa;
    --accent2: #22c55e;
    --danger: #ef4444
}

html, body {
    height: 100%
}

body {
    margin: 0;
    font-family: system-ui;
    background: var(--bg);
    color: var(--text)
}



.btn {
    display: inline-block;
    background: var(--accent);
    color: #0b1220;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    font-weight: 600;
    cursor: pointer
}


.viewer-page {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;

}

.viewer-toolbar {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 10px;

    .btn {
        background: #fff;
    }
}

.viewer-stage {
    position: relative;
    flex: 1;
    height: 100%;
    width: 100%;
}

#vviewer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.play-indicator {
    position: fixed;
    left: 50%;
    bottom: 80px;
    transform: translateX(-50%);
    background: #0b1220;
    border: 1px solid #1f2937;
    border-radius: 8px;
    padding: 6px 8px;
}


/* Hotspot custom UI */
/* Label above, circular arrow marker centered, actions centered below (on hover) */
.pnlm-hotspot-base .hotspot-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    pointer-events: auto
}

.pnlm-hotspot-base .hotspot-label {
    background: rgba(15, 23, 42, .85);
    border: 1px solid #1f2937;
    color: #e5e7eb;
    padding: 4px 6px;
    border-radius: 6px;
    font-size: 12px;
    display: inline-block;
    text-align: center;
    text-wrap: nowrap;
}

.pnlm-hotspot-base .hotspot-pin {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #0b1220;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
    transition: transform .12s ease, background .12s ease
}

.pnlm-hotspot-base .hotspot-pin .arrow {
    color: #0b1220;
    font-size: 20px;
    line-height: 1;
    transform: none

    /*img {*/
    /*    box-shadow: 0 0 15px rgba(0,0,0,0.6); !* x-offset, y-offset, blur, color *!*/
    /*    border-radius: 50%;*/
    /*}*/
}

.pnlm-hotspot-base:hover .hotspot-pin {
    transform: scale(1.08)
}

.pnlm-hotspot-base .hotspot-actions {
    display: flex;
    gap: 6px;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease
}

.pnlm-hotspot-base:hover .hotspot-actions {
    opacity: 1;
    pointer-events: auto
}

.pnlm-hotspot-base .hotspot-actions button {
    background: #1f2937;
    color: #e5e7eb;
    border: 1px solid #334155;
    border-radius: 6px;
    padding: 3px 6px;
    font-size: 11px
}

#playIndicator {
    display: none;
}
