/* /Components/Features/CameraReplay/Replay.razor.rz.scp.css */
/* Main Replay Page Styles */
.camera-timeline-card[b-1t3h8ikmse] {
  animation: slideInUp 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 20px !important;
  overflow: hidden;
  background: rgba(30, 30, 46, 0.7) !important;
  backdrop-filter: blur(25px);
  border: 1px solid rgba(119, 107, 231, 0.15);
  margin-bottom: 24px;
}

.camera-timeline-card:hover[b-1t3h8ikmse] {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(119, 107, 231, 0.25) !important;
  border-color: rgba(119, 107, 231, 0.4);
}

@@keyframes slideInUp {
  to[b-1t3h8ikmse] {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Video Container Styles */
.video-container[b-1t3h8ikmse] {
  position: relative;
  width: 100%;
  background: rgba(15, 15, 25, 0.8);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(119, 107, 231, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  margin-bottom: 16px;
  cursor: pointer;
}

.video-container video[b-1t3h8ikmse] {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
  border-radius: 12px;
}

.camera-overlay[b-1t3h8ikmse] {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 5;
}

.video-container:hover .camera-overlay[b-1t3h8ikmse] {
  opacity: 1;
}

.camera-info-overlay[b-1t3h8ikmse] {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(30, 30, 46, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(119, 107, 231, 0.3);
  border-radius: 8px;
  padding: 4px 12px;
  z-index: 10;
}

/* Timeline Section */
.timeline-section[b-1t3h8ikmse] {
  padding: 16px;
  height: 100%;
}

.timeline-header[b-1t3h8ikmse] {
  border-bottom: 1px solid rgba(119, 107, 231, 0.2);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

/* General Animations */
.pulse-animation[b-1t3h8ikmse] {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@@keyframes pulse {
  0%[b-1t3h8ikmse],
  100%[b-1t3h8ikmse] {
    opacity: 1;
    transform: scale(1);
  }

  50%[b-1t3h8ikmse] {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

/* Enhanced Components */
.mud-chip[b-1t3h8ikmse] {
  backdrop-filter: blur(10px);
  font-weight: 500;
  border-radius: 20px;
}

.mud-chip-color-success[b-1t3h8ikmse] {
  background: rgba(76, 175, 80, 0.2) !important;
  color: #4caf50 !important;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.mud-chip-color-error[b-1t3h8ikmse] {
  background: rgba(244, 67, 54, 0.2) !important;
  color: #f44336 !important;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

.mud-chip-color-warning[b-1t3h8ikmse] {
  background: rgba(255, 152, 0, 0.2) !important;
  color: #ff9800 !important;
  border: 1px solid rgba(255, 152, 0, 0.3);
}

/* Filter Section Styling */
.mud-paper[b-1t3h8ikmse] {
  background: rgba(30, 30, 46, 0.6) !important;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(119, 107, 231, 0.1);
}

.mud-input-outlined .mud-input-outlined-border[b-1t3h8ikmse] {
  border-color: rgba(119, 107, 231, 0.2) !important;
  transition: all 0.3s ease;
}

.mud-input-outlined:hover .mud-input-outlined-border[b-1t3h8ikmse] {
  border-color: rgba(119, 107, 231, 0.4) !important;
  box-shadow: 0 0 0 1px rgba(119, 107, 231, 0.1);
}

.mud-input-outlined:focus-within .mud-input-outlined-border[b-1t3h8ikmse] {
  border-color: #776be7 !important;
  box-shadow: 0 0 0 2px rgba(119, 107, 231, 0.2);
}

/* Select dropdown styling */
.mud-select .mud-input-outlined .mud-input-outlined-border[b-1t3h8ikmse] {
  border-color: rgba(119, 107, 231, 0.2) !important;
}

.mud-select:hover .mud-input-outlined .mud-input-outlined-border[b-1t3h8ikmse] {
  border-color: rgba(119, 107, 231, 0.4) !important;
}

/* Date picker styling */
.mud-picker-input-button[b-1t3h8ikmse] {
  color: #776be7 !important;
}

/* ========== TIMELINE COMPONENT STYLES ========== */

/* Main Timeline Container */
.timeline-container[b-1t3h8ikmse] {
  background: linear-gradient(
    135deg,
    rgba(30, 30, 46, 0.9) 0%,
    rgba(45, 45, 68, 0.9) 100%
  );
  border-radius: 20px;
  border: 1px solid rgba(119, 107, 231, 0.3);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  padding: 24px 38px 24px 38px;
  position: relative;
  overflow: visible; /* Allow time labels to be visible */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 200px; /* More height to accommodate everything */
}

.timeline-container:hover[b-1t3h8ikmse] {
  border-color: rgba(119, 107, 231, 0.6);
  box-shadow: 0 12px 40px rgba(119, 107, 231, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.timeline-container[b-1t3h8ikmse]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(119, 107, 231, 0.03),
    transparent
  );
  pointer-events: none;
  z-index: 1;
}

/* Timeline Track */
.timeline-track[b-1t3h8ikmse] {
  margin-bottom: 5em;
  position: relative;
  height: 40px;
  background: linear-gradient(
    90deg,
    rgba(15, 15, 25, 0.8) 0%,
    rgba(25, 25, 40, 0.8) 50%,
    rgba(15, 15, 25, 0.8) 100%
  );
  border-radius: 5px;
  border: 1px solid rgba(119, 107, 231, 0.2);
  overflow: visible;
  z-index: 2;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Timeline Markers */
.timeline-markers[b-1t3h8ikmse] {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5; /* Higher z-index to ensure visibility */
  pointer-events: none; /* Allow clicks to pass through */
}

.timeline-marker[b-1t3h8ikmse] {
  bottom: 0px;
  width: 3px;
  height:50px;
  background: linear-gradient(
    to top,
    rgba(119, 107, 231, 0.8),
    rgba(119, 107, 231, 0.4)
  );
  z-index: 6;
  transition: all 0.3s ease;
  pointer-events: none;
}

.timeline-marker.minute-marker[b-1t3h8ikmse] {
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.6),
    rgba(255, 255, 255, 0.3)
  );
  opacity: 0.8;
  height: 12px;
}

.timeline-marker.round-marker[b-1t3h8ikmse] {
  background: linear-gradient(to top, #776be7, rgba(119, 107, 231, 0.6));
  width: 3px;
  opacity: 1;
  box-shadow: 0 0 8px rgba(119, 107, 231, 0.6);
  height: 24px;
}

.marker-label[b-1t3h8ikmse] {
  font-size: 10px;
  font-weight: 600;
  color: rgba(119, 107, 231, 1);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  background: rgba(30, 30, 46, 0.95);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(119, 107, 231, 0.5);
  backdrop-filter: blur(15px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  z-index: 7;
  pointer-events: auto; /* Allow labels to be clickable/selectable */
  display: block; /* Ensure labels are displayed */
}

/* Timeline Events */
.timeline-events[b-1t3h8ikmse] {
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  bottom: 8px;
  z-index: 4;
  pointer-events: none;
}

.timeline-event[b-1t3h8ikmse] {
  position: absolute;
  height: 20px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  pointer-events: all;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.timeline-event:hover[b-1t3h8ikmse] {
  transform: translateY(-50%) scale(1.005);
  z-index: 10;
}

.timeline-event.AvailableVideoChunkEvents[b-1t3h8ikmse] {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: 1px solid rgba(16, 185, 129, 0.5);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.timeline-event.AvailableVideoChunkEvents:hover[b-1t3h8ikmse] {
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border-color: rgba(16, 185, 129, 0.8);
}

.timeline-event.MissingVideoChunkEvents[b-1t3h8ikmse] {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border: 1px solid rgba(239, 68, 68, 0.5);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.timeline-event.MissingVideoChunkEvents:hover[b-1t3h8ikmse] {
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border-color: rgba(239, 68, 68, 0.8);
}

/* Timeline Range Cursor */
.timeline-range-cursor[b-1t3h8ikmse] {
    width: 100%;
    margin: 8px 0 0;
    cursor: pointer;
    position: absolute;
    appearance: none;
    -webkit-appearance: none;
    z-index: 99;
    background: none;
    top:2px;
}

.timeline-range-cursor[b-1t3h8ikmse]::-webkit-slider-runnable-track {
    height: 0;
    background: transparent;
    border: none;
}

.timeline-range-cursor[b-1t3h8ikmse]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 4px;
    height: 50px;
    border-radius: 0;
    background: #e5e0e0;
    cursor: pointer;
    margin-top: -10px;
    border-radius:50px;
    transition: transform .15s ease;
}

.timeline-range-cursor:active[b-1t3h8ikmse]::-webkit-slider-thumb {
    box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
    -webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);

    transform: scale(1.1);
}

.timeline-range-cursor:hover[b-1t3h8ikmse]::-webkit-slider-thumb {
    -webkit-box-shadow:0px 0px 89px 4px rgba(255,255,255,0.9);
    -moz-box-shadow: 0px 0px 89px 4px rgba(255,255,255,0.9);
    box-shadow: 0px 0px 89px 4px rgba(255,255,255,0.9);
}

.timeline-range-cursor[b-1t3h8ikmse]::-moz-range-track {
    height: 0;
    background: transparent;
    border: none;
}

.timeline-range-cursor[b-1t3h8ikmse]::-moz-range-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 4px;
    height: 50px;
    border-radius: 0;
    background: #e5e0e0;
    cursor: pointer;
    margin-top: -10px;
    border-radius:50px;
}

.timeline-range-cursor:active[b-1t3h8ikmse]::-moz-range-thumb {
    box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
    -webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);

    transform: scale(1.1);
}

.timeline-range-cursor:hover[b-1t3h8ikmse]::-moz-range-thumb {
     -webkit-box-shadow:0px 0px 89px 4px rgba(255,255,255,0.9);
-moz-box-shadow: 0px 0px 89px 4px rgba(255,255,255,0.9);
box-shadow: 0px 0px 89px 4px rgba(255,255,255,0.9);

}

.timeline-sync-label[b-1t3h8ikmse] {
  color: #776be7;
  font-size: 0.875rem;
  cursor: pointer;
  user-select: none;
}

/* Timeline Controls */
.timeline-controls[b-1t3h8ikmse] {
  background: rgba(30, 30, 46, 0.5);
  border-radius: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(119, 107, 231, 0.2);
  backdrop-filter: blur(15px);
}

.timeline-sync-controls[b-1t3h8ikmse] {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Current Time Display */
#current-time-cam span[id^="current-time-"][b-1t3h8ikmse] {
  font-weight: 600;
  color: #776be7;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Enhanced Animation for Timeline Cards */
@@keyframes timelineSlideIn {
  0%[b-1t3h8ikmse] {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  100%[b-1t3h8ikmse] {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.camera-timeline-card[b-1t3h8ikmse] {
  animation: timelineSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Responsive Design */
@@media (max-width: 768px) {
  .camera-timeline-card:hover[b-1t3h8ikmse] {
    transform: translateY(-2px);
  }

  .video-container[b-1t3h8ikmse] {
    max-width: 100%;
    margin-bottom: 24px;
  }

  .timeline-container[b-1t3h8ikmse] {
    padding: 16px;
    padding-bottom: 45px;
    min-height: 150px;
  }

  .timeline-track[b-1t3h8ikmse] {
    height: 100px;
  }

  .marker-label[b-1t3h8ikmse] {
    font-size: 9px;
    bottom: -25px;
    padding: 3px 6px;
  }

  .timeline-section[b-1t3h8ikmse] {
    padding: 12px;
    padding-bottom: 35px;
  }
}

@@media (max-width: 1024px) {
  .video-container[b-1t3h8ikmse] {
    max-width: 400px;
  }
}

/* Prevent timeline overflow on very small screens */
@@media (max-width: 480px) {
  .timeline-container[b-1t3h8ikmse] {
    margin: 0 -8px;
    border-radius: 16px;
  }

  .marker-label[b-1t3h8ikmse] {
    font-size: 8px;
    bottom: -22px;
  }

  .timeline-track[b-1t3h8ikmse] {
    height: 45px;
  }
}
/* /Components/Features/CameraStreamsLiveGrid/Components/CameraStreamComponent.razor.rz.scp.css */
.camera-container[b-sa073ngd5l] {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
    min-height: 120px;
}

.camera-container.fill[b-sa073ngd5l] {
    height: 100%;
}

.camera-loading[b-sa073ngd5l] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 1;
    pointer-events: none;
    color: rgba(255, 255, 255, 0.7);
}

.camera-loading-text[b-sa073ngd5l] {
    font-size: 0.75rem;
    letter-spacing: 0.04em;
}

.camera-stream[b-sa073ngd5l] {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
    z-index: 2;
}

.camera-container.fill .camera-stream[b-sa073ngd5l] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fullscreen-btn[b-sa073ngd5l] {
    background: rgba(255,255,255,0.1) !important;
    backdrop-filter: blur(10px);
    pointer-events: auto;
}

.camera-overlay[b-sa073ngd5l] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: auto;
    z-index: 3;
}

.camera-container:hover .camera-overlay[b-sa073ngd5l] {
    opacity: 1;
}
/* /Components/Features/CameraStreamsLiveGrid/Dialogs/FullscreenCameraDialog.razor.rz.scp.css */
.fullscreen-camera[b-muhynrdjnn] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: black;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
}

.fullscreen-header[b-muhynrdjnn] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 16px 24px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0));
    z-index: 10;
}

.fullscreen-controls[b-muhynrdjnn] {
    display: flex;
    align-items: center;
}

.fullscreen-video-container[b-muhynrdjnn] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.fullscreen-loading[b-muhynrdjnn] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 1;
    pointer-events: none;
    color: rgba(255, 255, 255, 0.75);
}

.fullscreen-loading-text[b-muhynrdjnn] {
    font-size: 0.875rem;
    letter-spacing: 0.04em;
}

.fullscreen-stream[b-muhynrdjnn] {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    user-select: none;
    -webkit-user-drag: none;
    z-index: 2;
}

/* Responsive design for different screen sizes */
@@media (max-width: 768px) {
    .fullscreen-header[b-muhynrdjnn] {
        padding: 12px 16px;
    }

    .fullscreen-stream[b-muhynrdjnn] {
        object-fit: cover;
    }
}

@@media (orientation: portrait) and (max-width: 768px) {
    .fullscreen-stream[b-muhynrdjnn] {
        object-fit: contain;
        width: 100%;
        height: auto;
        max-height: 100%;
    }
}

@@media (orientation: landscape) and (max-height: 500px) {
    .fullscreen-header[b-muhynrdjnn] {
        padding: 8px 12px;
    }

    .close-button[b-muhynrdjnn] {
        width: 32px !important;
        height: 32px !important;
        min-height: 32px !important;
    }
}



.close-button[b-muhynrdjnn] {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px);
}

    .close-button:hover[b-muhynrdjnn] {
        background: rgba(255, 255, 255, 0.2) !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        transform: scale(1.05) !important;
    }

/* Force MudDialog to be truly fullscreen - target only our fullscreen dialog */
:global(.fullscreen-camera-dialog .mud-overlay)[b-muhynrdjnn] {
    background: rgba(0,0,0,1) !important;
}

:global(.fullscreen-camera-dialog.mud-dialog-container)[b-muhynrdjnn] {
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    align-items: stretch !important;
    justify-content: stretch !important;
}

:global(.fullscreen-camera-dialog .mud-dialog)[b-muhynrdjnn] {
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

:global(.fullscreen-camera-dialog .mud-dialog-content)[b-muhynrdjnn] {
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    overflow: hidden !important;
}

/* Alternative approach - target by content */
:global(.mud-dialog-container:has(.fullscreen-camera))[b-muhynrdjnn] {
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    align-items: stretch !important;
    justify-content: stretch !important;
}

:global(.mud-dialog:has(.fullscreen-camera))[b-muhynrdjnn] {
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

:global(.mud-dialog-content:has(.fullscreen-camera))[b-muhynrdjnn] {
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    overflow: hidden !important;
}
/* /Components/Features/CameraStreamsLiveGrid/Pages/CameraStreamsLiveGrid.razor.rz.scp.css */
.camera-board[b-3fs3cbn5tl] {
    display: grid;
    grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
    grid-auto-rows: var(--cell-h, 220px);
    gap: var(--grid-gap, 16px);
    align-items: stretch;
}

.camera-board[b-3fs3cbn5tl]  .board-cell {
    position: relative;
    overflow: visible;
    min-width: 0;
    height: var(--cell-h, 220px);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
}

.camera-board[b-3fs3cbn5tl]  .board-cell-reserved {
    background: transparent;
}

.camera-board[b-3fs3cbn5tl]  .board-cell-can {
    outline: 2px dashed var(--mud-palette-success);
    outline-offset: -2px;
}

.camera-board[b-3fs3cbn5tl]  .board-cell-no {
    outline: 2px dashed var(--mud-palette-error);
    outline-offset: -2px;
}

.camera-board[b-3fs3cbn5tl]  .mud-drop-item {
    height: var(--cell-h, 220px);
    min-width: 0;
}

.camera-board[b-3fs3cbn5tl]  .board-item-tall {
    height: calc(var(--cell-h, 220px) * 2 + var(--grid-gap, 16px));
    position: relative;
    z-index: 2;
}

.camera-board[b-3fs3cbn5tl]  .camera-card {
    height: 100%;
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.camera-board[b-3fs3cbn5tl]  .camera-card-content {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
}

.camera-board[b-3fs3cbn5tl]  .camera-drag-handle {
    cursor: grab;
}

.camera-board[b-3fs3cbn5tl]  .camera-drag-handle:active {
    cursor: grabbing;
}

.camera-board[b-3fs3cbn5tl]  .camera-drag-indicator {
    cursor: grab;
    opacity: 0.7;
}

.camera-board[b-3fs3cbn5tl]  .camera-tile-dragging {
    opacity: 0.5;
}
/* /Components/Features/DeviceConfig/Components/ConfigureDeviceComponent.razor.rz.scp.css */
.configure-wrapper[b-5ugvpij77a] {
    position: relative;
    width: 100%;
}

.camera-stack[b-5ugvpij77a] {
    width: 100%;
}

.vertical-slider-side[b-5ugvpij77a] {
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-end;
    gap: 4px;
}

.vertical-label[b-5ugvpij77a] {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-align: center;
    white-space: nowrap;
    opacity: 0.7;
    font-size: 0.75rem;
    line-height: 1;
    align-self: center;
    user-select: none;
}

.vertical-crop-slider[b-5ugvpij77a] {
    margin: 0 !important;
    min-height: 200px;
    align-self: stretch;
}

.camera-stream-wrapper[b-5ugvpij77a] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.camera-stream-wrapper[b-5ugvpij77a]  .camera-container {
    width: 100%;
}

.zoom-controls[b-5ugvpij77a] {
    flex: 0 0 auto;
    align-self: center;
}

.horizontal-crop-wrapper[b-5ugvpij77a] {
    width: 100%;
    padding: 0 8px;
}

.slider-label[b-5ugvpij77a] {
    opacity: 0.85;
    margin-bottom: -4px;
    user-select: none;
}

.slider-row[b-5ugvpij77a] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.slider-row[b-5ugvpij77a]  .mud-slider,
.horizontal-crop-wrapper[b-5ugvpij77a]  .mud-slider {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

@media (max-width: 960px) {
    .vertical-label[b-5ugvpij77a] {
        font-size: 0.7rem;
    }
}
/* /Components/Features/DeviceConfig/Components/FullscreenQrDialog.razor.rz.scp.css */
.fullscreen-qr[b-n92duuklm2] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
}

.fullscreen-qr-header[b-n92duuklm2] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    z-index: 10;
}

.fullscreen-qr-container[b-n92duuklm2] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    cursor: zoom-out;
    box-sizing: border-box;
    overflow: hidden;
}

.fullscreen-qr-image[b-n92duuklm2] {
    width: min(95vw, 95vh);
    height: min(95vw, 95vh);
    max-width: 95vw;
    max-height: 95vh;
    object-fit: contain;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-sizing: border-box;
    cursor: default;
    user-select: none;
    -webkit-user-drag: none;
}

.header-button[b-n92duuklm2] {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px);
}

    .header-button:hover[b-n92duuklm2] {
        background: rgba(255, 255, 255, 0.2) !important;
        border-color: rgba(255, 255, 255, 0.4) !important;
        transform: scale(1.05) !important;
    }

@@media (max-width: 768px) {
    .fullscreen-qr-header[b-n92duuklm2] {
        padding: 12px 16px;
    }

    .fullscreen-qr-image[b-n92duuklm2] {
        padding: 10px;
        border-radius: 8px;
    }
}

:global(.mud-dialog-container:has(.fullscreen-qr))[b-n92duuklm2] {
    padding: 0 !important;
    margin: 0 !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    overflow: hidden !important;
}

:global(.mud-dialog:has(.fullscreen-qr))[b-n92duuklm2] {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    overflow: hidden !important;
}

:global(.mud-dialog-content:has(.fullscreen-qr))[b-n92duuklm2] {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
}
/* /Components/Features/DeviceConfig/Components/SecretsCodeBlockComponent.razor.rz.scp.css */
.secrets-card[b-vo0aggzcx3] {
    background-color: #1e1e1e !important;
    border-color: #333 !important;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.secrets-card-header[b-vo0aggzcx3] {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    background-color: #252526;
    border-bottom: 1px solid #333;
    color: #cccccc;
    flex-shrink: 0;
}

.secrets-code[b-vo0aggzcx3] {
    background-color: #1e1e1e;
    color: #d4d4d4;
    padding: 16px;
    margin: 0;
    font-family: 'Cascadia Code', 'Consolas', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.65;
    white-space: pre;
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}

    .secrets-code[b-vo0aggzcx3]::-webkit-scrollbar {
        height: 8px;
        width: 8px;
    }

    .secrets-code[b-vo0aggzcx3]::-webkit-scrollbar-thumb {
        background: #3a3a3a;
        border-radius: 4px;
    }

        .secrets-code[b-vo0aggzcx3]::-webkit-scrollbar-thumb:hover {
            background: #4a4a4a;
        }
/* /Components/Features/DeviceConfig/Components/SelectDeviceTypeComponent.razor.rz.scp.css */
.device-type-picker-scroll[b-dpejca2f15] {
    height: 33vh; /* up to 60vh, but shrinks for less content */
    overflow-y: auto;
}
/* /Components/Features/DeviceConfig/Components/SelectNetworkComponent.razor.rz.scp.css */
/* /Components/Features/DeviceConfig/Components/UploadCredentialsComponent.razor.rz.scp.css */
.qr-clickable[b-70s42zp9lw] {
    position: relative;
    cursor: zoom-in;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .qr-clickable:hover[b-70s42zp9lw] {
        transform: scale(1.01);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    }

    .qr-clickable:hover .qr-clickable-hint[b-70s42zp9lw] {
        opacity: 1;
    }

.qr-clickable-hint[b-70s42zp9lw] {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    opacity: 0.85;
    transition: opacity 0.2s ease;
    pointer-events: none;
    backdrop-filter: blur(6px);
}

.success-check[b-70s42zp9lw] {
    width: 10rem;
    height: 10rem;
    margin: 0 auto;
    display: block;
    animation: success-check-pop-b-70s42zp9lw 0.3s ease-out both;
}

.success-check__circle[b-70s42zp9lw] {
    stroke: var(--mud-palette-success);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 151;
    stroke-dashoffset: 151;
    transform-origin: center;
    animation: success-check-draw-b-70s42zp9lw 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-check__mark[b-70s42zp9lw] {
    stroke: var(--mud-palette-success);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: success-check-draw-b-70s42zp9lw 0.35s cubic-bezier(0.65, 0, 0.45, 1) 0.55s forwards;
}

@keyframes success-check-draw-b-70s42zp9lw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes success-check-pop-b-70s42zp9lw {
    0% {
        transform: scale(0.6);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}
/* /Components/Features/DeviceConfig/Dialogs/AddDeviceDialog.razor.rz.scp.css */
/* /Components/Features/DeviceConfig/Pages/DevicesConfig.razor.rz.scp.css */
