/* 360 Viewer CSS */

.media-showcase {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    background: #f8fafc;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#exterior-360-container, #interior-360-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.spritespin-instance {
    margin: 0 auto;
}

#interior-360-container {
    background: #000;
}

.view-toggle-bar {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 0.4rem;
    border-radius: 99px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.view-toggle-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    cursor: pointer;
}

.view-toggle-btn.active {
    background: var(--primary);
    color: white;
}

.view-toggle-btn:hover:not(.active) {
    background: #f1f5f9;
    color: #1e293b;
}

/* Pannellum Customization */
.pnlm-container {
    border-radius: 1.5rem;
}

.pnlm-load-box {
    background-color: var(--primary) !important;
}

.pnlm-lbox-label {
    font-family: inherit !important;
}
