/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styles removed to prevent conflicts */

.sphere-ui-container {
    position: relative;
    width: 100%;
    height: 600px;
    margin: 2rem auto;
    border-radius: 20px;
    overflow: hidden;
    max-width: 1000px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#sphere-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Glassmorphism Controls Overlay - Intaker Style */
.sphere-ui-dash {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    background: rgba(30, 41, 59, 0.4);
    padding: 12px 24px;
    border-radius: 999px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    gap: 30px;
}

.dash-btn-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.dash-btn-icon:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.dash-btn-icon.active {
    color: #10b981;
    background: rgba(16, 185, 129, 0.15);
}

.dash-center-controls {
    display: flex;
    gap: 24px;
}

.dash-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.dash-label:hover {
    color: #fff;
    cursor: pointer;
}

.dash-btn-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.dash-btn-pill:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.dash-btn-pill.connected {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.5);
    color: #10b981;
}

#sphere-status {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: rgba(148, 163, 184, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.subtitles-overlay {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
    max-width: 80%;
}
