/* header layout */
body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: black;
}

p {
  text-align: center;
  font-family: inherit;
  text-align: center;
  padding: 5px;
  color: black;
}

.header {
  height: 10%;
  font-size: 20px;
  position: relative;
  text-align: center;
  align-content: center;
  color: black;
  width: 99%;
  background-color: white;
}

.page-header {
  width: 100%;
  background: linear-gradient(90deg, #00b894 0%, #181818 100%);
  padding: 12px 0 6px 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.page-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.header-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  min-width: 220px;
  padding-left: 12px;
  margin-right: 8px;
}
.header-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  background: #fff;
  padding: 4px;
  margin-right: 8px;
  object-fit: cover;
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 260px;
  margin-left: auto;
  margin-right: 0;
  text-align: right;
  padding-right: 12px;
}
#headerVideoUrlInput::placeholder {
  color: #fff;
  opacity: 1;
}

.site-title {
  font-size: 2.2rem;
  font-weight: bold;
  color: #fff;
  margin: 0;
  letter-spacing: 2px;
}

.site-subtitle {
  font-size: 1.1rem;
  color: #e0e0e0;
  margin: 2px 0 0 0;
  font-style: italic;
}

.file-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-bottom: 10px;
}

.file-inputs label {
  font-size: 1rem;
}

.file-inputs input[type="file"],
.file-inputs input[type="text"] {
  background: #222;
  color: #f3f3f3;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 4px 8px;
}

#fName[type="file"], #headerVideoUrlInput[type="text"] {
  width: 220px;
}

.primary-btn {
  background: #00b894;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

.primary-btn:hover {
  background: #009e7a;
}

/* Player Information */
/* Modern player card style */
.content {
  max-height: 100%;
  min-height: 10%;
  min-width: 10%;
  max-width: 100%;
  padding: 5px;
  background-color: black;
}

.player-card {
  box-sizing: border-box;
  padding: 0;
  background: #181818;
  border-radius: 18px;
  width: 100vw;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  color: #f3f3f3;
}

/* Modern video Player Style */
.video-wrapper {
  width: 100vw;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  background: #181818;
  margin-bottom: 5px;
}

.media-video-player {
  width: 100vw;
  height: 80vh;
  background: #181818;
  display: block;
  margin: 0;
  align-content: center;
  object-fit: cover;
}

/* Player Controls */
.player-controls {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  padding: 16px 18px;
  z-index: 2;
  width: calc(100% - 48px);
  max-width: 600px;
  height: 110px;
  min-height: 110px;
  max-height: 110px;
  margin-top: 18px;
  border-radius: 10px;
  padding: 16px 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Move Player controls */
.drag-handle {
  width: 100%;
  padding-bottom: 4px;
  cursor: move;
  user-select: none;
  color: #ccc;
  font-size: 1.2em;
  text-align: right;
}

/* seek bar design */
#media-media-seekBar span,
input {
  align-content: center;
  vertical-align: middle;
  width: 70%;
}
#media-media-seekBar span {
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  color: #910379;
}
#media-media-seekBar input {
  height: 10px;
}

.seekbar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.seekbar-row span {
  color: #00b894;
  font-weight: bold;
  font-size: 1rem;
}

#startPos, #endPos {
  flex: 1 1 0;
  min-width: 50px;
  max-width: 80px;
  font-size: 1rem;
  /* background: #222; */
  padding: 2px;
  text-align: center;
}

#player-seekbar {
  flex: 5 1 0;
  /* flex: 1 1 60%; */
  min-width: 120px;
  max-width: 400px;
  margin: 0 12px;
  accent-color: #00b894;
  height: 10px;
  border-radius: 6px;
  background: #444;
}

/* media control buttons design */
#media-media-buttons {
  align-content: center;
  border: 5px;
  text-align: center;
}

#media-media-buttons button {
  height: 25px;
  vertical-align: middle;
  padding: 2px 2px;
  border: none;
  background-color: transparent;
  color: #910379;
}

#media-media-buttons select {
  color: #00b894;
  background: #222;
  border-radius: 6px;
  border: 1px solid #910379;
  padding: 4px 8px;
  font-size: 0.85em;
  /* height: 24px; */
}

/* player controls individual buttons */
.control-btn {
  color: #00b894;
  border: 1px solid #00b894;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.control-btn:hover {
  background: #00b894;
  color: #fff;
}

#volumeBar.control-btn {
  padding: 0;
}
#volumeBar {
  accent-color: #910379;
}
#volumeValue {
  font-size: 0.85em;
}
