/* ── Shared ─────────────────────────────────────────────────────────────── */
.el360-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    background: #1a1a2e;
    border: 2px dashed #4a90e2;
    border-radius: 8px;
    color: #aac;
    gap: 12px;
    padding: 24px;
    text-align: center;
}
.el360-placeholder .eicon-eye,
.el360-placeholder .eicon-google-maps {
    font-size: 40px;
    color: #4a90e2;
}
.el360-placeholder p {
    margin: 0;
    font-size: 14px;
}

/* ── Single Viewer ──────────────────────────────────────────────────────── */
.el360-viewer-wrap {
    width: 100%;
    height: 500px;
    position: relative;
    background: #000;
}

/* ── Tour Wrapper ───────────────────────────────────────────────────────── */
.el360-tour-wrap {
    display: flex;
    width: 100%;
    position: relative;
    background: #000;
    overflow: hidden;
}
.el360-tour-viewer {
    flex: 1 1 auto;
    min-width: 0;
    height: 600px;
    position: relative;
}

/* ── Sidebar ─────────────────────────────────────────────────────────────── */
.el360-tour-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: #1a1a2e;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    z-index: 10;
}
.el360-sidebar-inner {
    padding: 12px 8px;
}
.el360-sidebar-heading {
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 12px 6px;
    opacity: 0.6;
}

/* Scene Items */
.el360-scene-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    border-left: 3px solid transparent;
    margin-bottom: 4px;
    transition: background 0.2s, border-color 0.2s;
}
.el360-scene-item:hover {
    background: rgba(255,255,255,0.07);
}
.el360-scene-item.active {
    border-left-color: #4a90e2;
    background: rgba(74,144,226,0.15);
}
.el360-scene-thumb {
    width: 46px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    background-color: #333;
}
.el360-scene-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.el360-scene-title {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.el360-scene-desc {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

/* Sidebar positions */
.el360-sidebar-left  { order: -1; }
.el360-sidebar-right { order: 1; }

/* ── Pannellum overrides ─────────────────────────────────────────────────── */
/* Custom scene-change hotspot style */
.pnlm-hotspot.pnlm-scene span {
    border-radius: 4px;
    font-size: 12px;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .el360-tour-wrap {
        flex-direction: column;
    }
    .el360-tour-sidebar {
        width: 100%;
        max-height: 120px;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
    }
    .el360-sidebar-inner {
        display: flex;
        flex-direction: row;
        gap: 6px;
        padding: 8px;
        width: max-content;
    }
    .el360-sidebar-heading { display: none; }
    .el360-scene-item {
        flex-direction: column;
        width: 80px;
        text-align: center;
        border-left: none;
        border-bottom: 3px solid transparent;
        margin-bottom: 0;
        padding: 6px;
    }
    .el360-scene-item.active {
        border-left-color: transparent;
        border-bottom-color: #4a90e2;
    }
    .el360-scene-desc { display: none; }
}
