/* Root container */
#root {
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  text-align: center;
  background: #181a20;
}

/* Video.js player styles */
.video-player-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  background: #000;
  
}

.video-tech {
  object-fit: contain;
}

/* Main app container */
.app-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 95vw;
  max-width: 95vw;
  margin: 0 auto;
  padding: 0;
  gap: 0;
  overflow: hidden;
}

/* Controls section */
.controls-section {
  width: 100%;
  margin-bottom: 12px;
  background: #23272f;
  border-radius: 10px;
  padding: 16px 0;
  text-align: center;
  box-sizing: border-box;
}

/* Control group wrapper */
.control-group {
  display: inline-block;
  vertical-align: middle;
  min-width: 10%;
  margin: 0 8px;
}

/* Status display section */
.status-section {
  width: 100%;
  margin-bottom: 12px;
}

/* Timeline container */
.timeline-section {
  width: 100%;
  min-height: 60px;
  background: #20232a;
  border-radius: 10px;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  text-align: center;
  box-sizing: border-box;
  margin-bottom: 12px;
  padding: 0;
  overflow: hidden;
  transition: flex 0.15s ease;
}

/* Video player section */
.video-section {
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  background: #23272f;
  border-radius: 10px;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  text-align: center;
  box-sizing: border-box;
  margin-bottom: 12px;
  padding: 0;
  overflow: hidden;
  transition: flex 0.15s ease;
}

/* Date range picker styles */
.date-picker-wrapper {
  max-width: 98vw;
  padding: 12px 8px;
  border-radius: 8px;
}

/* Responsive styles */
@media (max-width: 600px) {
  .app-container {
    gap: 0;
  }
  
  .video-section,
  .timeline-section {
    margin: 0 4px 8px 4px;
    border-radius: 6px;
  }
  
  .date-picker-wrapper {
    max-width: 98vw;
    padding: 12px 8px;
    border-radius: 8px;
  }
  
  .controls-section {
    padding: 8px 0;
  }
}


/* Animated drawer for logout button */
.controls-section.drawer-open {
    /* position: fixed; */
    /* top: 0; */
    /* left: 0; */
    /* width: 300px; */
    /* max-width: 80vw; */
    /* height: 100vh; */
    background: #23272f;
    /* box-shadow: 4px 0 24px rgba(0, 0, 0, 0.3); */
    /* padding: 60px 20px 20px 20px; */
    transform: translateY(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1500;
    overflow-y: auto;
    animation: slideInFromTop 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Animation keyframes */
@keyframes slideInFromTop {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Style the logout button inside the drawer */
.controls-section.drawer-open .control-group {
    display: block;
    margin: 15px 0;
    width: 100%;
}

.controls-section.drawer-open button {
    width: 100%;
    padding: 12px;
    margin: 5px 0;
    border: none;
    border-radius: 6px;
    background: #ff4757;
    color: white;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.2s ease;
}

.controls-section.drawer-open button:hover {
    background: #ff3838;
}