@import url('fonts.css');
body {
    margin: 0;
    overflow: hidden;
    font-family: Poppins;
    font-size: 15px; /* Updated from 13.3333px to 15px globally */
}
label {
    color: #ffffff;
    font-size: 15px; /* Ensure labels match the new font size */
}
input[type="file"] {
    position: absolute;
    bottom: 10px;
    left: 500px;
    z-index: 10;
    font-size: 15px; /* Match font size */
}
#logo {
    position: absolute;
    top: 25px;
    left: 20px;
    z-index: 15;
    width: 150px;
    height: auto;
    border-radius: 5px; /* Optional: rounded corners */
}

/* File oading Div Start */
.load-button-container {
    position: fixed;
    width: 217px;
    bottom: 30px;
    left: 20px;
    padding: 10px 10px 10px 10px;
    border:1px solid rgba(255, 255, 255, 0.2);
    display: none;
    gap: 5px;
    border-radius: 15px;
    z-index: 100;
    background: rgba(0, 0, 0, 0.3);
}
.FilesText{
  font-family: Poppins;
  font-size: 18px;
  padding-left: 5px;
}
.load-button {
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    color: white;
    border:1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    cursor: pointer;
    font-family: Poppins, sans-serif;
    font-size: 15px;
    transition: background 0.2s ease;
}
.load-button:hover {
    background: rgba(255, 255, 255, 0.2);
}
.loadModelBtn{
  bottom: 40px;
}
.load-button .icon {
    vertical-align: middle; /* Aligns icon with text */
    margin-right: 3px; /* Space between icon and text */
}
.load-button .icon {
    width: 20px;  /* Bigger icon */
    height: 20px;
}
.load-button .icon {
    margin-top: -4px; /* Move icon up 4px */
    /* or margin-top: 4px; to move down */
}
/* File loading Div End */

/* Mesh controls Div Start */
.meshcontainer {
    position: fixed;
    bottom: 30px;
    left: 20px;
    width: 217px;
    background: rgba(0, 0, 0, 0.3);
    border:1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 10px;
    z-index: 50;
    text-align: left;
    color: white;
    font-family: 'Poppins', sans-serif;
}
.meshtxt {
    font-size: 18px;
    font-family: Poppins;
    padding-left: 5px;
    color: #ffffff;
}
.mesh-grid {
    display: grid;
    padding-top: 5px;
    grid-template-columns: 1fr 1fr; /* 2 columns */
    gap: 5px;
}
.meshbtn {
    padding: 8px 5px;
    background: rgba(0, 0, 0, 0.3);
    border:1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-family: Poppins;
    cursor: pointer;
}
.meshbtn:hover {
    background: rgba(255, 255, 255, 0.2);
}
/* Mesh controls Div End */

/* Anim controls Div Start */
#animationControls {
    position: fixed;
    bottom: 30px;
    right: 20px;
    z-index: 800;
    background: rgba(0, 0, 0, 0.3);
    border:1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 15px;
    width: 240px;
}
#animationControls button {
    padding: 8px 16px; /* Match Show All button size (updated from 6px 10px) */
    margin: 8px; /* Consistent spacing */
    background: rgba(0, 0, 0, 0);
    font-family: Poppins;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px; /* Match font size (updated from 16px) */
    line-height: 1;
    min-width: 60px; /* Consistent width */
    text-align: center; /* Proper alignment */
}
#animationControls button:hover {
    background: rgba(0, 0, 0, 0.3);
}
#animationTimeline {
    width: 100%;
    margin-top: 15px;
    height: 1px;
    display: block;
}
#animationSelectTrigger {
    display: block;
    background: rgba(0, 0, 0, 0.2);
    border:1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 10px 10px 10px 10px;
    text-align: center;
    font-family: Poppins;
    border-radius: 15px;
    cursor: pointer;
    margin-bottom: 10px;
    font-size: 15px; /* Match font size */
}
#animationOptionsDropdown {
    display: none;
    position: fixed;
    bottom: calc(80%);
    background: rgba(35,35,35,1);
    border:1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    width: 225px;
    z-index: 40;
    font-family: Poppins;
    backdrop-filter: blur(50%);
    max-height: 500px;
    text-align: left;
    overflow-y: auto;
    font-size: 15px; /* Match font size */
}
.options {
    display: none;
    position: absolute;
    background: rgba(0, 0, 0, 0.3);
    border:1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    z-index: 1px;
    backdrop-filter: blur(99%);
    padding: 5px;
    color: #ffffff;
    cursor: pointer;
    height: auto;
    font-size: 15px; /* Match font size */
}
.option:hover {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 3px;
    z-index: 1px;
    backdrop-filter: blur(50%);
    color: #ffffff;
    cursor: pointer;
}
#playAnimation {
    background-image:url('assets/play.png') ;
    background-repeat: no-repeat;
    position: relative;
    width: auto;
    height: auto;
}
#animationTimeline {
    --slider-color: #9BBCDA; /* Change this value to any color you want */
    width: 96%;
    height: 1px;
    outline: none;
    -webkit-appearance: none; /* Remove default styling */
    background: var(--slider-color); /* Fallback color */
}
#animationTimeline::-moz-range-track {
    height: 1px;
    background: var(--slider-color); /* Track color for Firefox */
}
#animationTimeline::-webkit-slider-runnable-track {
    height: 1px;
    background: var(--slider-color); /* Track color */
}
.animHeader{
  padding: 0px 5px 5px 0px;
  margin-left: 5px;
  display: block;
  font-size: 18px;
}
/* Anim controls Div End */

/* Viewer Div Start */
#mediaContainer {
  position: fixed;
  bottom: 210px;
  right: 20px;
  width: 261px;
  height: 185px;
  margin-top: auto;
  margin-bottom: auto;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3); /* Semi-transparent with blur */
  backdrop-filter: blur(10px);
  border:1px solid rgba(255, 255, 255, 0.2);
  z-index: 5; /* Below UI elements like #annotationDropdown */
}
.playerLabel{
  position: absolute;
  top: 5px;
  left: 5px;
  color: white;
  padding-top: 5px;
  padding-left: 5px;
  font-family: Poppins;
  font-weight: Regular;
  font-size: 18px;
  text-align: center;
  z-index: 20;
}
.overlay {
    display: block;
    position: fixed;
    bottom: 138px;
    right: -110px;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.0);
    color: white;
    padding: 5px;
    border-radius: 5px;
    z-index: 200;
    font-size: 25px; /* Match font size */
}
#videoContainer{
  position: relative;
  right: 6px;
  width: 245px;
  height: 138px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border:1px solid rgba(255, 255, 255, 0.2);
  z-index: 5; /* Below UI elements like #annotationDropdown */

}
#textOverlay span, #videoOverlay span, #imageOverlay span {
    position: absolute;
    border:0px solid rgba(255, 255, 255, 0.2);
    top: 7px;
    right: 15px;
    cursor: pointer;
    font-size: 15px; /* Match font size */
}
#imageOverlay {
    /* Specific styling for image overlay */
    padding: 20px; /* Match text and video overlay padding */
}
#imageOverlay img {
    max-width: 100%;
    max-height: 100%;
    display: block; /* Ensure proper alignment */
    margin: 0 auto; /* Center the image horizontally */
}
.close-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    font-size:60px; /* Increased from 15px to 24px, adjust as needed */
    width: 40px; /* Added width to make it a button-like shape */
    height: 40px; /* Added height to match width */
    line-height: 40px; /* Center the text vertically */
    text-align: center; /* Center the text horizontally */
    color: #ffffff; /* White text for visibility */
    background-color: rgba(0, 0, 0, 0.0);
    border:none; /* Semi-transparent background */
    z-index: 20;
    border-radius: 50%; /* Circular shape for a button effect */
    transition: background-color 0.3s; /* Smooth hover transition */
}
.close-icon:hover {
    background-color: rgba(255, 0, 0, 0.0); /* Red background on hover for feedback */
    color: #ffffff; /* Ensure text remains visible */
}
/* Viewer Div End */

/* Screenshot Div Start */
#screenshotButton{
    padding: 8px;
    width: 57px;
    height:62px;
    background: rgba(0, 0, 0, 0.3);
    border:1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border-radius: 10px;
    cursor: pointer;
    font-family: Poppins, sans-serif;
    font-size: 15px;
    text-align: center;
}
#screenshotButton:hover {
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.2s ease;
}
#SSBlock {
    position: fixed;
    top: 15px;
    right: 70px;
    background: rgba(0, 0, 0, 0.0); /* Semi-transparent with blur */
    backdrop-filter: blur(10px);
    z-index: 5;
  }
/* Screenshot Div End*/

/* Controls Div Start */
#controlsDropdown {
    position: fixed;
    top: 15px;
    right: 10px;
    width: 55px;
    height:60px;
    z-index: 80;
    border:1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}
.gear-btn {
    padding: 10px 16px; /* Match Show All button size */
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    width: 55px;
    height:60px;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 15px;
}
.gear-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}
.dropdown-content {
    display: none;
    position: absolute;
    top: 65px;
    right: 1px;
    background: rgba(0, 0, 0, 0.3);
    border:1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    min-width: 250px; /* Widened from 200px */
    padding: 1px 7px;
    z-index: 1;
    border-radius: 10px;
}
.dropdown-content.open {
    display: block; /* Shown on click */
}
.dropdown-content label {
    display: block;
    margin: 5px 0;
    font-size: 15px; /* Match font size */
}
.dropdown-content input, .dropdown-content select {
    border: 0px;
    margin-bottom: 5px;
    background-color: rgba(0, 0, 0, 0.0);
    border-radius: 5px;
    font-size: 15px; /* Match font size */
}
#gradientTypeContainer {
    margin: 5px 0;
    display: flex;
    flex-direction: row; /* Use flexbox for alignment */
    gap: 5px; /* Equal spacing */
    align-items: flex-start;
    border-radius: 10px;
    justify-content: space-between; /* Vertically align items */
}
.gradient-option {
    color: #ffffff;
    padding: 4px 8px; /* Match Show All button size */
    border:1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    border-radius: 8px;
    font-size: 15px; /* Match font size */
    text-align: center; /* Proper alignment */
    min-width: 60px; /* Consistent width */
}
.gradient-option:hover {
  background: rgba(255, 255, 255, 0.2);
  transition: background 0.2s ease;
}
.gradient-option.active {
    background: rgba(255, 255, 255, 0.2);
}
#gradientColorsContainer {
    display: flex;
    justify-content: space-between;
    border-radius: 40px;
    margin-bottom: 5px;
}
.color-container {
    flex: 1;
    margin-right: 5px;
    border-radius: 40px;
}
.color-container:last-child {
    margin-right: 0;
    border-radius: 10px;
}
.color-container label {
    display: block;
    margin-bottom: 2px;
    border-radius: 10px;
    font-size: 15px; /* Match font size */
}
.color-container input[type="color"] {
    width: 100%;
    height: 30px;
    border-radius: 100px;
}
.color-container input[type="color"]::-webkit-color-swatch {
    border-radius: 10px; /* Rounds the color swatch itself */
    border: none; /* Removes any swatch border */
}
#controlsDropdown.open .dropdown-content {
    display: block;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 10px;
}
#exposure::-webkit-slider-runnable-track,
#exposure {
    --slider-color: #9BBCDA; /* Change this value to any color you want */
    width: 96%;
    height: 1px;
    outline: none;
    -webkit-appearance: none; /* Remove default styling */
    background: var(--slider-color); /* Fallback color */
}
#exposure::-webkit-slider-thumb,
#animationTimeline::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px; /* Matches your original thumb size */
    height: 16px;
    background: var(--slider-color); /* Thumb color */
    border-radius: 50%;
    cursor: pointer;
    margin-top: -7px; /* Centers thumb on 1px track */
}
/* Controls Div End */

/* Views Div Start */
.viewsContainer {
    position: fixed;
    bottom: 175px;
    left: 20px;
    width: 217px;
    background: rgba(0, 0, 0, 0.3);
    border:1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 10px;
    z-index: 50;
    text-align: left;
    color: white;
    font-family: 'Poppins', sans-serif;
}
.viewstxt {
    font-size: 18px;
    font-family: Poppins;
    padding-left: 5px;
    color: #ffffff;
}
.viewsgrid {
    display: grid;
    padding-top: 5px;
    grid-template-columns: 1fr 1fr; /* 2 columns */
    gap: 5px;
}
.viewsbtn {
    padding: 8px 5px;
    border:1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-family: Poppins;
    cursor: pointer;
    transition: background 0.3s ease;
}
.viewsbtn:hover {
    background: rgba(255, 255, 255, 0.2);
}
#frontView{
    border:1px solid rgba(255, 255, 255, 0.2);
}
#backView{
    border:1px solid rgba(255, 255, 255, 0.2);
}
#leftView{
    border:1px solid rgba(255, 255, 255, 0.2);
}
#rightView{
    border:1px solid rgba(255, 255, 255, 0.2);
}
#topView{
    border:1px solid rgba(255, 255, 255, 0.2);
}
#bottomView{
    border:1px solid rgba(255, 255, 255, 0.2);
}
#resetView{
    grid-column: 1 / -1; /* Span both columns */
    border:1px solid rgba(255, 255, 255, 0.2);
}
/* Views Div End */

/* Parts Div Start */
#annotationPanel {
    position: fixed;
    bottom: 410px; /* Adjust vertical position as needed */
    right: 20px;
    width: 260px;
    height: 194px; /* Fixed height — panel size never changes */
    background: rgba(0, 0, 0, 0.3);
    border:1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    z-index: 50;
    display: none;
    flex-direction: column;
}
.annotation-header {
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.0);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    flex-shrink: 0; /* Header doesn't shrink */
}
.annotation-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 5px; /* Space between buttons */
    align-items: center;
}
.annotation-btn {
    width: 95%;
    padding: 10px 8px;
    background: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: background 0.3s ease;
}
.annotation-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}
.annotation-btn:active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(1px);
}
.annotation-list::-webkit-scrollbar {
    width: 6px;
}
.annotation-list::-webkit-scrollbar-track {
    background: transparent;
}
.annotation-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}
.annotation-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}
/* Parts Div End */

/* Materials Div Start */
.material-panel {
    position: fixed;
    bottom: 640px; /* Adjust to not overlap other panels */
    left: 20px;
    width: 238px;
    height: 210px; /* Fixed height, scrollable */
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    z-index: 50;
    display:none; /* none to hide, flex to show*/
    flex-direction: column;
}

.material-header {
    padding: 16px;
    background: rgba(0, 0, 0, 0.0);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    text-align: center;
    font-weight: 600;
    flex-shrink: 0;
}

.material-list {
    flex: 1;
    overflow-y: auto;
    padding: 3px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.material-btn {
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: background 0.3s ease;
}

.material-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.material-btn:active {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(1px);
}

/* Scrollbar */
.material-list::-webkit-scrollbar {
    width: 6px;
}
.material-list::-webkit-scrollbar-track {
    background: transparent;
}
.material-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}
.material-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}
/* Materials Div End */
/* Model Loading Overlay */
.model-loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.model-loading-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.loading-content {
  text-align: center;
  color: #ffffff;
  max-width: 320px;
  padding: 2rem;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.spinner {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  border: 5px solid rgba(255, 255, 255, 0.2);
  border-top: 5px solid #ffffff;
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-text {
  font-size: 2rem;
  font-weight: 500;
  font-family: Bebas Neue;
  margin-bottom: 1.2rem;
  background: #ffffff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
  margin: 0.8rem 0 0.5rem;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: #ffffff;
  transition: width 0.25s ease-out;
}

.progress-percent {
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 500;
}
/* Make spinner larger / faster */
.spinner {
  width: 80px;
  height: 80px;
  border-width: 6px;
  animation-duration: 1s;
}

/* Gradient text animation */
.loading-text {
  background-size: 200% 200%;
  animation: gradientFlow 6s ease infinite;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ─── Responsive Sidebar System ─────────────────────────────────────────────
   On small screens (≤768px) all fixed UI panels are hidden.
   A burger button appears top-left. Clicking it opens a right-side drawer
   that stacks all panels vertically inside a scrollable container.
   ─────────────────────────────────────────────────────────────────────────── */

/* Burger button — hidden on desktop */
#burgerBtn {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 2000;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    backdrop-filter: blur(10px);
}
#burgerBtn span {
    display: block;
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}
#burgerBtn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
#burgerBtn.open span:nth-child(2) {
    opacity: 0;
}
#burgerBtn.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Sidebar drawer — hidden by default on small screens */
#sidebarDrawer {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1900;
    overflow-y: auto;
    transition: right 0.3s ease;
    padding: 70px 12px 20px;
    box-sizing: border-box;
    flex-direction: column;
    gap: 12px;
}
#sidebarDrawer.open {
    right: 0;
}

/* Overlay behind drawer */
#sidebarOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1800;
}
#sidebarOverlay.open {
    display: block;
}

/* Section label inside sidebar */
.sidebar-section-label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: Poppins, sans-serif;
    padding: 4px 4px 2px;
    margin-top: 4px;
}

/* Cloned panel wrappers inside sidebar */
.sidebar-panel {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}
.sidebar-panel button,
.sidebar-panel .meshbtn,
.sidebar-panel .viewsbtn,
.sidebar-panel .annotation-btn,
.sidebar-panel .viewpoint-btn {
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    /* Show burger */
    #burgerBtn {
        display: flex;
    }

    /* Show drawer container */
    #sidebarDrawer {
        display: flex;
    }

    /* Hide logo on small screens */
    #logo {
        display: none;
    }

    /* Hide all desktop-specific fixed panels safely */
    .meshcontainer,
    .viewsContainer,
    .viewpointPanel,
    #animationControls,
    #annotationPanel,
    #videoOverlay,
    .material-panel,
    #SSBlock,
    #controlsDropdown,
    #videoContainer,
    #mediaContainer,
    .load-button-container {
        display: none !important;
    }



    /* Custom styling for your mobile panel inside the drawer */
    .mobile-media-container {
        min-height: 185px;
        position: relative;
        background: rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        display: block !important; /* Ensure it overrides parent block hiding if inherited */
    }

    .mobile-video-box {
        width: 100%;
        height: 138px;
        background: rgba(0, 0, 0, 0.4);
        border-radius: 8px;
        margin-top: 35px;
    }

    /* Keep loading overlay and FPS counter visible */
    .model-loading-overlay,
    #fpsCounter {
        display: flex !important;
    }
}

/* ─────────────────────────────────────────────────────────────────────────── */
