﻿#player_normal {
  position: fixed;
  bottom: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: transparent;
  padding: 0;
  margin: 0;
  color: white;
  z-index: 900;
}

#player_normal2 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  padding: 0;
  margin: 0;
  color: white;
  z-index: 1000;
}
 
.player_controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 8px 0;
  background-color: #000;
  width: 95%;
  max-width: 650px;
  gap: 23px;
}

.control-buttons {
  display: flex;
  gap: 20px;
}

.control-buttons button {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: white;
  transition: transform 0.3s ease, color 0.3s ease;
}

.control-buttons button:hover {
  transform: scale(1.2);
  color: #ffcc00;
}

#div_timer {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-family: 'Segoe UI', sans-serif;
  gap: 2px;
}

#cuTimer,
#slashTimer,
#toTimer {
  margin: 0 1px;
}

.hidden {
  display: none !important;
}

/* Barra de Progresso */
#progress-bar {
  width: 100%;
  height: 10px;
  border-radius: 5px;
  margin: 0;
  cursor: pointer;
}

#progress-bar::-webkit-progress-bar {
  background-color: #333;
  border-radius: 5px;
}

#progress-bar::-webkit-progress-value {
  background-color: #00ffcc;
  border-radius: 5px;
}

/* Barra de Progresso Vertical */
.vertical-progress-bar {
  height: 200px;
  width: 6px;
  position: absolute;
  transform: rotate(-180deg);
  left: 0;
  bottom: 0;
  background-color: #333;
}

.vertical-progress-fill {
  width: 100%;
  height: 0%;
  background-color: #00ffcc;
  transition: height 0.2s;
}

/* Botões de Repetição */
#repeat_button,
#repeat_button_compact {
  background-color: transparent;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.2s ease;
}

#repeat_button.active,
#repeat_button_compact.active {
  color: #00ff00;
}

#repeat_button:hover,
#repeat_button_compact:hover {
  color: #ffd700;
  transform: scale(1.1);
}


  /* Botões SVG compartilhados */

  #toggle-compact {
    width: 25px;
    height: 25px;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 20px;
    margin-left: 10px;
    vertical-align: -4px;
  }

  #toggle-compact svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: #fff;
    transition: stroke 0.3s ease-in-out, transform 0.3s ease-in-out;
  }

  #shareButton {
    width: 20px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 20px;
    margin-left: 10px;
    vertical-align: -4px;
  }

  #shareButton svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #fff;
    transition: stroke 0.3s ease-in-out, transform 0.3s ease-in-out;
  }

  #shareButton:hover svg,
  #toggle-compact:hover svg {
    transform: scale(1.1);
    stroke: var(--btn-hover);
  }

/* Player Compacto */
.player_compact {
  display: flex;
  flex-direction: column;
  width: 40px;
  height: 200px;
  cursor: grab;
  user-select: none;       /* Evita seleção de texto */
  touch-action: none;      /* Permite o drag no mobile */
  position: fixed;
  bottom: 20px;
  right: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  gap: 50px;
  background-color: #111;
  color: white;
  z-index: 2000;
}

/* Volume */
.volume {
  display: flex;
  align-items: center;
  position: relative;
}

.volume .icon-size {
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: 23px;
}

.volume .bar-hoverbox {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  width: 10px;
  height: 120px;
  background: #999;
  border-radius: 5px;
  overflow: hidden;
  transition: opacity 0.2s;
  cursor: pointer;
}

.volume:hover .bar-hoverbox {
  opacity: 1;
}

.volume .bar {
  position: relative;
  width: 100%;
  height: 100%;
  background: #ddd;
}

.volume .bar-fill {
  width: 100%;
  height: 50%;
  background: #3498db;
  position: absolute;
  bottom: 0;
}

/* Botões Gerais */
button {
  background: transparent;
  border: none;
  cursor: pointer;
}

button:focus {
  outline: none;
}

/* Texto do Info */
#info {
	overflow: hidden;
	width: 100%;
	height: 20px;
	white-space: nowrap;
	text-align: left;
	position: relative;
        z-index: 1000;
}

.scrolling-text {
	width: 100%;
	animation: marquee 35s linear infinite;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	letter-spacing: 2px;
	white-space: nowrap;
	display: inline-block;
}

@keyframes marquee {
	0% {
		transform: translateX(100%);
	}
	100% {
		transform: translateX(-100%);
	}
}

#player_normal {
    display: none;
    opacity: 0;
    transform: translateY(70%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#player_normal.showing {
    display: flex;
}

#player_normal.active {
    opacity: 1;
    transform: translateY(0%);
}

#play_button {
  background: transparent;
  border: none;
  cursor: pointer;
  color: white;
  font-size: 20px;
  transition: transform 0.2s ease, color 0.3s ease;
}

#play_button:hover {
  transform: scale(1.2);
  color: #00ffcc; /* Ou a cor neon que você quiser */
}

#play_button i {
  pointer-events: none; /* evita que o ícone capture o clique */
}

#play_button:focus,
#play_button:active {
  color: white;
  outline: none;
}


         

