/* -------------------- Global styles -------------------- */
/* body {
   overflow: hidden;
} */


/* -------------------- head_Area -------------------- */
#refreshBtn {
  cursor: pointer;
}

#clearTime {
  cursor: pointer;
}

/* -------------------- Player area -------------------- */
#playerArea {
  width: 95%;
  height: auto;
  left: 3%;
  border: 3px solid #252525;
}

#playerArea.live {
  animation: animate-border 1000ms linear 0ms infinite normal both;
}

@keyframes animate-border {
  0% {
    border-color: #000000;
  }

  100% {
    border-color: #FF0000;
  }
}

@keyframes animate-fade-in-down {
  0% {
    transform: translate(0px, -100px) rotate(0deg);
    opacity: 0;
  }

  100% {
    transform: translate(0px, 0px) rotate(0deg);
    opacity: 1;
  }
}

#wb_noVideosText {
  position: absolute;
  top: 25%;
  left: 35%;
  width: auto;
  height: auto;
  z-index: 50;
}

#videoMeta {
  font-size: 16px;
  color: #ccc;
}

/* -------------------- Video list items -------------------- */
#videoList {
  overflow-y: auto;
  border-left: 2px solid #333;
}

.video-item {
  background-color: #222;
  border-radius: 8px;
  padding: 5px;
  margin-bottom: 10px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s;
}

.video-item:hover {
  background-color: #333;
}

.video-item video {
  width: 100%;
  border-radius: 8px;
}

.video-item span {
  margin-top: 5px;
  font-size: 14px;
  color: #ccc;
}

.video-item span.thumb-meta {
  font-size: 13px;
  margin-top: 6px;
  color: #ccc;
}

.thumb-size,
.video-size {
  color: #9ab;
}

#loadMore {
  text-align: center;
  padding: 10px;
  display: none;
  color: #999;
}

/* ---------------------- login/logout styles ---------------------------- */
#loginBtn,
#logoutBtn {
  background-color: #007bff;
  color: #fff;
  border: none;
  margin-left: 15%;
  padding: 8% 13%;
  border-radius: 25%;
  cursor: pointer;
}

#loginBtn:hover,
#logoutBtn:hover {
  background-color: #91bae5;
}

#loginPopup {
  display: none;
  position: fixed;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px;
  background-color: #1a1a1a;
  border: 2px solid #ccc;
  border-radius: 15px;
  z-index: 1000;
}

#loginPopup h2 {
  margin-bottom: 10px;
  color: #b0b0d2;
}

#loginPopup .form-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

#loginPopup .form-row label {
  text-align: left;
  margin-bottom: 5px;
  color: #b0b0d2;
}

#loginPopup .form-row input {
  width: 100%;
  padding: 5px;
  background-color: #b0b0d2;
  color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#loginPopup button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 5px 10px;
  border-radius: 7px;
  cursor: pointer;
}

#loginPopup p {
  color: #ace591;
}

#loginForm button[type="submit"] {
  background: #4CAF50;
  color: white;
}

#loginForm button[type="submit"]:hover {
  background: #45a049;
}

#loginForm button[type="button"] {
  background: #f44336;
  color: white;
}

#loginForm button[type="button"]:hover {
  background: #da190b;
}

/* -------------------- register popup styles -------------------- */
/* Основные стили popup */
.popup-overlay {
  display: none;
  position: fixed;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px;
  background-color: #1a1a1a;
  border: 2px solid #ccc;
  border-radius: 15px;
  z-index: 1000;
}

#registerPopup h2 {
  text-align: center;
  margin-bottom: 9px;
  color: #b0b0d2;
  font-size: 24px;
}

#registerPopup input:focus {
  outline: none;
  border-color: #4CAF50;
}

#registerPopup .form-row-tel {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 5px;
  justify-content: space-between;
}

#registerPopup .form-row-tel #tel {
  display: none;
  font-size: 18px;
  color: #b0b0d2;
}

#registerPopup .form-row-tel #tel_icon {
  font-size: 24px;
  cursor: pointer;
  color: #b0b0d2;
  transition: color 0.3s ease;
}

#registerPopup .form-row {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

#registerPopup .form-row label {
  flex: 0 0 67px;
  text-align: left;
  white-space: nowrap;
  font-weight: 600;
  color: #b0b0d2;
  align-self: flex-start;
  padding: 5px;
}

#registerPopup .form-row select {
  flex: 1;
  min-width: 80px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 14px;
  background-color: white;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

#registerPopup .form-row select:focus {
  outline: none;
  border-color: #4CAF50;
}

#registerPopup .form-row input {
  flex: 1;
  min-width: 80px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 14px;
  background-color: white;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

/* ლოგინის კოდის სტილი */
.code-display {
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #e20b0b;
    font-family: monospace;
    font-weight: bold;
    color: #b0b0d2;
}

/* Кнопки */
.button-group {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.button-group button {
  flex: 1;
  padding: 5px 10px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button-group button[type="submit"] {
  background: #4CAF50;
  color: white;
}

.button-group button[type="submit"]:hover {
  background: #45a049;
}

.button-group button[type="button"] {
  background: #f44336;
  color: white;
}

.button-group button[type="button"]:hover {
  background: #da190b;
}

/* Адаптивность */
/* @media (max-width: 480px) {
  .form-row {
    flex-direction: column;
    align-items: stretch;
  }

  .form-row label {
    text-align: left;
    flex: none;
    margin-bottom: 8px;
  }

  .popup-content {
    padding: 20px;
    margin: 10px;
  }
} */




/* -------------------- Refresh button -------------------- */

.fa-history {
  fill: #fff;
  transition: transform 0.6s ease;
}

.fa-history.spin {
  transform: rotate(360deg);
}

/* -------------------- Additional styles from styledate.css -------------------- */

/* -------------------- Responsive: tablets / small desktops -------------------- */