@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@300;500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=VT323&display=swap");

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style-type: none;
  outline: none;
}

html,
body,
#app {
  width: 100%;
  height: 100%;
  background: #000;
  font-family: "Rubik", sans-serif;
}

button:hover {
  cursor: pointer;
}

#app {
  display: flex;
}

.auth-form {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.auth-form > input[type="password"],
.auth-form > input[type="submit"] {
  padding: 8px;
  border: 0;
  border-bottom: 1px solid #d4bfec;
  border-top: 1px solid #d4bfec;
  border-radius: 5px;
  background: #000;
  color: #fff;
}

#channels-list {
  background: #000;
  color: #fff;
  width: 300px;
  min-width: 300px;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  /* justify-content: center; */
  align-content: flex-start;
  overflow-y: scroll;
}

.bbc-arabic {
  border: 2px solid #ccc9c985;
  padding: 10px;
  border-radius: 10px;
  width: 100%;
  text-align: center;
  cursor: pointer;
}
#bbc-iframe {
  display: none;
}

.channel-item {
  width: 50%;
  display: flex;
  align-items: center;
  padding: 8px;
  font-weight: 300;
}

.channels-group {
  width: 100%;
  background: rgb(28, 252, 196);
  color: #000;
  font-weight: 700;
  margin: 4px 0;
  border-radius: 8px;
}
.channels-group > p {
  margin: 0 auto;
}

.turn-off {
  width: 100%;
}

.channel-name {
  border: 2px solid #ccc9c985;
  padding: 10px;
  border-radius: 10px;
  width: 100%;
  text-align: center;
}
.channel-name:hover {
  background: #5d5d5d4f;
  cursor: pointer;
}

#selected-channel-indicator {
  background: linear-gradient(180deg, #d6d6d6, #f3f3f3);
  box-shadow: 0px 2px 7px -5px #fff, 0px -5px 8px -2px inset #000;
  color: #000;
  border: 0;
  font-weight: 500;
}

#content {
  display: flex;
  flex-direction: column;
  background: #000;
  position: relative;
}

.show-hide-sidebar,
.show-hide-input {
  position: absolute;
  font-size: 32px;
  padding-left: 8px;
  color: #eaeaea;
  text-shadow: 3px 2px #000;
  z-index: 1;
}
.show-hide-sidebar {
  transform: rotate(180deg);
}
.show-hide-input {
  right: 8px;
  transform: rotate(90deg);
}
.show-hide-sidebar:hover,
.show-hide-input:hover {
  cursor: pointer;
  opacity: 0.6;
}

#input-wrapper {
  height: 26px;
  margin: 15px;
  justify-content: center;
  display: none;
}

#player-src {
  height: 100%;
  width: 350px;
  margin-right: 8px;
  padding: 8px;
}
#play-button {
  height: 100%;
  width: 55px;
}

#content,
#player-wrapper,
#video-player {
  width: 100%;
}

#player-wrapper {
  height: 100%;
  display: none; /* Hide player by default */
}

/* Video.js player styling */
.video-js {
  width: 100% !important;
  height: 100% !important;
}

.video-js .vjs-tech {
  position: relative;
}

.video-js .vjs-big-play-button {
  background-color: rgba(0, 0, 0, 0.6);
  border: 2px solid #fff;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  line-height: 80px;
  margin-left: -40px;
  margin-top: -40px;
}

.video-js .vjs-big-play-button:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.video-js .vjs-control-bar {
  background-color: rgba(0, 0, 0, 0.7);
}

.video-js .vjs-slider {
  background-color: rgba(255, 255, 255, 0.3);
}

.video-js .vjs-play-progress {
  background-color: #fff;
}

@media (max-width: 800px) {
  #channels-list {
    width: 50px;
    min-width: 135px;
  }
  .channel-item {
    width: 100%;
  }
}

/* Hide Video.js logo */
.vjs-logo {
  display: none !important;
}
