.container {
  display: flex;
  align-items: flex-start;
  margin-top: 20px;
  /* margin-left: 40px; */ /* ❌ Remove this */
  gap: 20px; /* ✅ Better spacing between image and buttons */
  min-height: 220px;
  position: relative;
}


.sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 28px;
}

.captured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.video-preview {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
 /* optional to show it's loaded */
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
}

.canvas-hidden {
    display: none;
}

.sideview {
    width: 80px;
    /* Fit content */
    height: 60px;
    border: 1px solid var(--action-primary-default);
    display: flex;
    flex-direction: column;
    /* Stack iconnd text */
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-left: 20px;
    margin-top: 10px;
    cursor: pointer;
    padding: 5px;
    border-radius: 6px;
}
.content {
  width: 220px;
  height: 220px;
  position: relative;
}

.mat-icon {
    color: var(--action-primary-default);
}

.sideview span {
    font-size: 12px;
    white-space: nowrap;
    cursor: pointer;
    /* Prevents text wrapping */
}

video {
    transform: scaleX(-1);
    /* Flip the video horizontally */
}
.disabled {
    pointer-events: none;
    opacity: 0.5;
  }
  