/* general.css – Modern Minimalist */
:root {
  --mainbg:    linear-gradient(135deg, #1c1c1d, #29292a);
  --main2:     #3a3a3a; 
  --text:      #E0E0E0;
  --text2:     #bc3a88;
  --accent:    #bc3a88;
  --accent2:   #be9fb2;;
}


body {
  background: var(--mainbg);
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  overflow-x: hidden;
  color: #e0e0e0;
}

.body-container{
  position: relative;
  margin-bottom: 1rem;
  margin-right: 1rem;
  margin-left: 16rem; /* Increased left margin to avoid sidebar overlap */
  top: 80px;
}


.material-symbols-outlined {
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

button {
  transition: all 0.15s ease-in-out;
  cursor: pointer;
  border: none;
  border-radius: 4px;

}

button:hover {
  opacity: 0.85;
}

button:active {
  opacity: 0.7;
}

.upload-button:active, .create-button:active,.quality button.active,
.aspect-ratio button.active,
.category.active,
.splitscreen button.active {
  background-color:  #bc3a88;
  color: white;
}



.title-flex, .flex-controls{
  display: flex;
  flex: 1;
  align-items: baseline;
  gap: .2rem;
}

.title-flex h3{
  display: flex;
  flex: 1;
  justify-content: start;
  font-weight: 300;
  color: #bc3a88;
  font-size: .9rem;
  align-items: baseline;
}
.flex-controls, .title-flex h2 {
  display: flex; 
  justify-content: flex-end;
  margin-right: 1rem;
}

#video-modal.pseudo-fullscreen {
  width: 100vw;
  height: 100vh;
}

.split-modal-container video {
  position: relative;
  /* You may also try a higher z-index if controls are hidden */
  z-index: 1;
}

/* If custom controls are implemented, ensure they are positioned absolutely within the video: */
.custom-video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

/* This pseudo-element targets the progress timeline container in WebKit browsers */
video::-webkit-media-controls-timeline-container {
  color: #bc3a88 !important;
  background: #bc3a88 !important;
}

/* This targets the filled (played) portion of the timeline; note that support may vary */
video::-webkit-media-controls-current-time-display {
  color: #bc3a88 !important;
}

/* Responsive typography adjustments */
@media (max-width: 1200px) {
  body {
    font-size: 16px;
  }
}

@media (max-width: 992px) {
  body {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .body-container {
    margin-left: 0; /* Default when sidebar is hidden */
  }

  .body-container.sidebar-open {
    margin-left: 11rem; /* Shift right by the sidebar’s width */
  }
}

@media (max-width: 480px) {
  body {
    font-size: 13px;
  }
}
