#viewer-container {
    opacity: 0;
    transition: opacity 0.5s ease;
    width: 40vw;
    height: 40vh;
    background: white;
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    min-height: 40vh;
  }
  
  #viewer {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }
  
  #viewer:active {
    filter: brightness(0.95);
  }
  #viewer-container:hover {
    box-shadow: 0 0 20px rgba(120, 120, 120, 0.15);
    transition: box-shadow 0.3s ease;
  }
    
  #pause-tooltip {
    position: absolute;
    top: 10px;
    right: 12px;
    background: rgba(50, 50, 50, 0.85);
    color: #f0f0f0;
    padding: 4px 10px;
    font-family: 'Saira', sans-serif;
    font-size: 13px;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  