.annotation-carousel {
    max-width: 100%;
    padding: 10px;
  }

  .thumbnail-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px;
  }

  .thumbnail {
    width: 150px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    opacity: 1 !important;
    transition: transform 0.2s;
  }

  .thumbnail:hover {
    transform: scale(1.05);
  }


  .annotation-carousel {
    max-width: 100%;
    padding: 10px;
  }

  .thumbnail-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px;
  }

  .thumbnail-item {
    position: relative;
    text-decoration: none;
    color: inherit;
    text-align: center;
  }

  .thumbnail {
    width: 150px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    opacity: 1 !important;
    transition: transform 0.2s;
    border-radius: 5px;
    border: 2px solid #ddd;
  }

  .thumbnail:hover {
    transform: scale(1.05);
  }

  .pdf-thumbnail {
    background: #f5f5f5;
    padding: 5px;
    border-radius: 5px;
  }

  .media-label {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #333;
  }

  /* Loading states */
  .loading {
    position: relative;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 5px;
  }

  .thumbnail-item.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1;
  }