@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/* Variáveis */
:root {
  --color-1: #36024a;
  --color-2: #36024a;
  --color-3: #36024a;
  --color-7: #36024a;
  --transition-default: all 0.3s ease;
  --border-radius-default: 0.4rem;
  --border-radius-circle: 50%;
  --border-radius-pill: 10rem;
  --shadow-default: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --shadow-small: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
  --shadow-medium: 0 2px 12px 0 rgba(0, 0, 0, 0.2);
  --shadow-large: 0px 13px 39px 0px rgba(0, 42, 58, 0.2);
}

/* Reset */
::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body #preloader {
  overflow: hidden;
}

/* Utilidades */
.hidden {
  display: none;
}

.hiden {
  display: none;
}

.cursor-pointer {
  cursor: pointer;
}

.text-space {
  letter-spacing: 0.07rem;
}

.centralizar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

.aspect-ratio-1-1 {
  position: relative;
  width: 100%;
  padding-top: 100%;
}

.aspect-ratio-1-1 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tipografia */
h2 {
  font-weight: 100;
  font-size: 32px;
}

h4 {
  font-weight: 300;
  line-height: 2.25rem;
}

.display-4 {
  font-weight: 600;
  font-size: 2.5em;
  padding-bottom: .1rem;
}

.display-5 {
  font-weight: 400;
  font-size: 1.8em;
}

.text-third {
  color: var(--color-7);
}

.text-dark {
  color: var(--color-7) !important;
}

/* Cores de Ícones de Redes Sociais */
.text-twitch { color: #9147ff; }
.text-facebook { color: #3b5998; }
.text-twitter { 
  color: #1da1f2; 
  margin-right: 10px; 
}
.text-google-play { color: #2196f3; }
.text-apple { 
  color: black; 
  font-size: 1.2em; 
}
.text-instagram { color: #c32aa3; }
.text-whatsapp { color: green; }
.text-youtube { color: red; }
.text-linkedin { color: #007bb5; }
.text-tiktok { color: #ee1d52; }

/* Layout e Componentes */
.plyr {
  display: none;
}

.brand-logo {
  max-height: 47px;
  max-width: 300px !important;
  object-fit: contain;
  object-position: left center;
}

.logo-link img {
  width: 100%;
  max-width: 300px;
}

/* Botões */
.btn {
  border-width: 0;
  font-size: 1.1rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-pill);
}

.btn:focus {
  box-shadow: none !important;
}

.btn-glass {
  font-weight: 500;
  color: #fff;
  padding: 0.75rem 1.5625rem;
  border-radius: var(--border-radius-pill) !important;
  transition: var(--transition-default);
}

.btn-glass:hover {
  color: #ffffff;
  transition: var(--transition-default);
  box-shadow: var(--shadow-default);
  cursor: default !important;
}

.btn-glass a {
  color: #d8dee3;
}

.btn-light {
  border-radius: var(--border-radius-pill);
  color: #000 !important;
  transition: var(--transition-default);
}

.btn-light:hover {
  color: #000 !important;
  background-color: #fff;
  box-shadow: 0px 3px 6px 0px rgba(91, 61, 145, 0.15);
  transition: var(--transition-default);
}

.btn-light:active {
  background-color: #fff !important;
  box-shadow: 0px 0px 0px 0px rgba(91, 61, 145, 0.15);
}

.btn-primary {
  padding: 0.75rem 1.25rem;
  color: #fff !important;
  border-color: var(--color-2);
  background-color: var(--color-2);
  transition: var(--transition-default);
}

.btn-primary:hover {
  border-color: var(--color-2) !important;
  background-color: var(--color-4) !important;
  transition: var(--transition-default);
}

.btn-primary:active {
  border-color: var(--color-7) !important;
  background-color: #fff !important;
  box-shadow: none;
  transition: var(--transition-default);
}

.btn-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-circle);
  border: 2px solid #fff;
  margin: .2rem;
  width: 2.5rem;
  height: 2.5rem;
  box-shadow: var(--shadow-default) !important;
}

.btn-circle i {
  color: white;
}

.btn-circle:hover {
  background-color: #00000050;
}

#signupBtn {
  background: #420328;
  background: var(--color-7, #36024a);
  font-size: .9rem;
}

.botoes {
  padding-right: 0;
  padding-left: 0;
  margin-top: 1.5rem;
}

/* Formulários */
.form-control {
  padding: 1.5rem 1.5rem 1.35rem 0.5rem;
  border: none;
  border-radius: var(--border-radius-default);
  background-color: #e4e8eb;
  transition: var(--transition-default);
}

.form-control:hover {
  background-color: #d8dee3;
  transition: var(--transition-default);
}

.form-control:focus {
  background-color: #fff;
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
  transition: var(--transition-default);
}

#signup-form .form-control {
  padding-left: 1rem !important;
  background: #fff;
  -webkit-appearance: none;
  -webkit-box-shadow: var(--shadow-medium) !important;
  -moz-box-shadow: var(--shadow-medium) !important;
  box-shadow: var(--shadow-medium) !important;
  border: none;
  border-radius: var(--border-radius-default);
  transition: var(--transition-default);
}

#signup-form .form-control:hover {
  -webkit-appearance: none;
  -webkit-box-shadow: var(--shadow-small) !important;
  -moz-box-shadow: var(--shadow-small) !important;
  box-shadow: var(--shadow-small) !important;
}

#signup-form .form-control:focus {
  background-color: #fff !important;
}

textarea {
  overflow-y: hidden;
  resize: none;
}

/* Formulários PHP */
.php-email-form {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.php-email-form .form-group {
  padding: 10px;
}

.php-email-form .form-control {
  height: 40px;
  border-radius: 5px;
  border: 1px solid #ccc;
  padding: 0 20px;
}

.php-email-form .form-control:focus {
  border-color: #007bff;
  box-shadow: none;
}

.php-email-form .form-control::placeholder {
  color: #aaa;
}

.php-email-form button[type="submit"] {
  background-color: #007bff;
  border: none;
  color: #fff;
  padding: 10px 30px;
  border-radius: 5px;
  transition: background-color 0.3s;
  cursor: pointer;
}

.php-email-form button[type="submit"]:hover {
  background-color: #0056b3;
}

/* Fundo e Cores */
.bg-light {
  background-color: #f0f2f4 !important;
  border-radius: var(--border-radius-default);
}

.bg-secondary {
  background: var(--color-7) !important;
  display: flex;
  align-items: center;
  width: 100%;
}

.diffuse {
  transition: all 0.5s ease;
}

.diffuse:hover {
  background-color: #fff !important;
  text-decoration: none;
  box-shadow: var(--shadow-large);
  transition: all 0.5s ease;
}

/* Controle de Áudio */
#volumeControl i {
  color: #fff;
  font-size: 22px;
  position: relative;
  top: 4px;
}

#volumeControl #volume {
  position: absolute;
  height: 5px;
  left: 2.3rem;
  margin: -12px auto;
  width: 100px;
  background-color: rgba(0, 0, 0, 0.3);
}

#volumeControl #volume .ui-slider-range-min {
  height: 5px;
  width: 300px;
  position: absolute;
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 10px;
  outline: none;
}

#volumeControl #volume .ui-slider-handle {
  width: 20px;
  height: 20px;
  border-radius: 20px;
  background-color: #fff;
  position: absolute;
  margin-left: -8px;
  margin-top: -8px;
  cursor: pointer;
  outline: none;
}

.audio-control {
  font-size: 1.2rem;
}

/* Now Playing */
.masthead #nowPlaying {
  width: 100%;
  text-align: center;
}

#now-playing-image-wrapper,
#now-playing-image-wrapper img {
  border-radius: 2rem;
}

#now-playing-image-wrapper {
  display: inline-block;
}

#nowPlaying-artist,
#nowPlaying-title,
.song-title,
.song-artist {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 3em;
}

/* Card de Música */
.song-card {
  background-color: #f4f4f4;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.song-card .song-link {
  color: inherit;
  text-decoration: none;
}

.song-time-wrapper {
  margin-bottom: -7px;
}

.song-likes-wrapper {
  line-height: 1.5;
}

.song-text .fa-regular {
  font-size: 12px;
  margin-right: 3px;
  margin-top: 10px;
}

.new-vote {
  transition: all 0.07s ease;
}

.last-played a {
  text-decoration: none;
}

.last-played .song-text {
  line-height: 1;
  font-size: 14px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Header e Seções */
#header {
  transition: all .7s;
}

#header.header-scrolled {
  position: fixed;
  transition: all 0.2s;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
  padding: 1.5rem 1rem;
  background-color: color-mix(in srgb, var(--color-7) 55%, transparent);
  backdrop-filter: blur(25px);
  border-radius: 0 0 1.5rem 1.5rem;
  box-shadow: 0px 7px 20px rgba(0, 0, 0, .2);
}

.section-title,
.section-title-canais {
  color: var(--color-7);
  letter-spacing: 0.3rem;
  font-weight: 400;
}

.section-canais {
  color: var(--color-7);
}

.section-canais h4 {
  margin-bottom: 0 !important;
  font-size: 1rem;
}

.masthead {
  background: linear-gradient(to bottom, var(--color-7), 90%, var(--color-3));
}

.masthead #nowPlaying #now-playing-image-wrapper {
  background-color: #00000015;
}

#signup-section {
  background: var(--color-7) 0.5;
}

/* Footer */
.footer {
  background-color: #f8f9fa;
}

.border-top-op {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.border-bottom-op {
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

/* Links */
a.logo-link {
  color: rgba(0, 0, 0, 0);
}

a.logo-link:hover {
  color: rgba(0, 0, 0, 0);
  text-decoration: none;
}

/* Dropdown e Modais */
.dropdown-menu {
  border-radius: 1rem;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
}

.dropdown-menu a {
  padding: 0.75rem 2rem 0.75rem 1.25rem;
  color: #000 !important;
  transition: all 0.5s ease;
}

.dropdown-menu a:hover {
  transition: all 0.5s ease;
}

.modal-dialog {
  max-width: 800px;
  margin: 30px auto;
}

.modal-content {
  background-color: #ffffff00;
  border-radius: 10px;
}

.modal-body {
  max-height: calc(100vh - 210px);
  overflow-y: auto;
}

.modal-footer {
  justify-content: center;
}

.modal-open {
  overflow: hidden !important;
}

.modal-title {
  color: #333;
  font-weight: bold;
}

.modal-body input,
.modal-body textarea,
.modal-body select {
  border: 1px solid #ccc;
  padding: 10px;
  width: 100%;
  margin-bottom: 10px;
}

.modal-body label {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}

.modal-body button[type="submit"] {
  background-color: #007bff;
  border: none;
  padding: 10px 20px;
  color: white;
  cursor: pointer;
  border-radius: 5px;
}

.modal-body button[type="submit"]:hover {
  background-color: #0056b3;
}

/* Carrossel Owl */
.owl-carousel {
  margin: 0 auto;
  max-width: 1140px;
}

.owl-carousel .item {
  height: 3rem;
  background: var(--color-7);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px 0 20px 0;
  color: white;
  border-radius: 10px;
  transition: transform .3s ease;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.owl-carousel .item:hover {
  transform: scale(1.03);
}

.owl-carousel .item h4 {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.2rem;
}

.owl-carousel a {
  text-decoration: none;
}

.owl-theme .owl-nav.disabled+.owl-dots {
  display: none;
  margin-bottom: 15px;
}

/* Carrossel Swiper */
.swiper-slide {
  display: flex;
  align-items: center;
  width: auto !important;
}

.card-link {
  display: flex;
  width: auto;
}

/* Mensagens */
.error-message,
.sent-message,
.loading {
  display: none;
  padding: 10px;
  border-radius: 5px;
  margin-top: 10px;
}

.error-message {
  color: red;
  background-color: #f8d7da;
  color: #721c24;
}

.sent-message {
  color: green;
  background-color: #d4edda;
  color: #155724;
}

#error-message {
  padding: 1rem;
  background-color: #f44336;
  color: white;
  max-width: 1000px;
  text-align: center;
  border-radius: 2rem 2rem 0 0;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 1000;
  display: none;
}

#error-footer {
  padding: 1rem;
  background-color: #f44336;
  color: white;
  max-width: 1000px;
  text-align: center;
  border-radius: 2rem 2rem 0 0;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 1001;
  display: none !important;
}

.error-message-visible {
  display: block;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-7);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 1.5s ease-out;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

#preloader .content {
  text-align: center;
  flex: 1;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#preloader .logo {
  width: 10rem;
  margin: 0 auto;
}

#preloader .footer {
  color: #ccc;
  text-align: center;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.05);
}

#preloader p,
#preloader a {
  color: #f3f1f1;
  text-decoration: none !important;
  font-weight: 400;
}

#typing-output {
  color: #d8dee3;
}

.typed-cursor {
  display: none;
}

/* PWA Install Banner */
#install-banner {
  display: none;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.4s ease-in-out, max-height 1s ease-in-out;
  top: 0;
  left: 0;
  right: 0;
  align-items: center;
  background-color: #0061B2;
  flex-wrap: wrap;
  justify-content: space-between;
}

#install-banner.show {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  padding: 20px 10%;
}

#banner-logo {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  margin-right: 20px;
}

.banner-message {
  flex-grow: 1;
  color: white;
}

button {
  padding: 10px 15px;
  margin-left: 5px;
  font-size: 0.9rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#install-btn {
  background-color: white;
  color: #0061B2;
}

#install-btn:hover {
  background-color: #e0e0e0;
}

#close-btn {
  background-color: transparent;
  color: white;
  text-decoration: underline;
}

#close-btn:hover {
  color: #dddddd;
}

#install-banner img {
  border-radius: .7rem;
}

/* Chat */
.chat-container {
  display: none;
  position: fixed;
  bottom: 0;
  right: 1px;
  width: 375px;
  height: 65vh;
  background-color: var(--color-7);
  border: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1031;
}

.chat-container iframe {
  width: 100%;
  height: calc(100% - 0px);
  border: none;
}

.chat-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  transform: translateX(-50%);
  color: white;
  cursor: pointer;
  z-index: 1032;
}

/* Tabelas */
.table-container {
  height: calc(100% - 80px);
  overflow-y: auto;
}

.table-sticky thead th {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: white;
}

.table-hover :hover {
  color: #ffffff !important;
}

.current-program {
  background-color: green !important;
  color: white;
}

.table-hover tbody .current-program:hover {
  background-color: green !important;
  color: white;
}

/* Anúncios */
.anuncio,
.anuncio-mobile {
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAQAAAD8x0bcAAAAIElEQVR42mNg4GXgZmBkIAC4iVHGOKpsVBlRyhiIUAYAQgcCgbCeD98AAAAASUVORK5CYII=) repeat #f7f7f7;
  background-size: 9px;
}

/* Cards e Imagens */
.card,
img {
  border-radius: var(--border-radius-default) 0 0 var(--border-radius-default);
}

.card-body h4 {
  line-height: 0rem;
}

/* Tooltips */
.tooltip-inner {
  background-color: #fff;
  color: var(--color-7);
  font-size: 12px;
  padding: 5px 8px;
  border-radius: 4px;
}

.tooltip.bs-tooltip-top .arrow::before {
  border-top-color: #fff;
}

.tooltip.bs-tooltip-bottom .arrow::before {
  border-bottom-color: #fff;
}

.tooltip.bs-tooltip-left .arrow::before {
  border-left-color: #fff;
}

.tooltip.bs-tooltip-right .arrow::before {
  border-right-color: #fff;
}

.tooltip {
  opacity: 0.9;
}

/* Ícones personalizados */
.fa-alexa-icon {
  background-image: url('../img/alexa.png');
  display: inline-block;
  width: 1em;
  height: 1em;
  background-size: cover;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-bottom: 0.2em;
}

/* Utilitários */
#hora {
  cursor: default;
}

.carousel-item-left {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

/* Media Queries */
@media (max-width: 330px) {
  #stop-text,
  #play-text {
    display: none;
  }

  .audio-control-button {
    padding-right: .5rem !important;
  }

  .audio-control {
    width: 20% !important;
  }
}

@media (max-width: 400px) {
  .btn-circle {
    width: 1.8rem !important;
    height: 1.8rem !important;
    padding: 1rem;
  }
}

@media (max-width: 576px) {
  .player-text {
    font-size: 110% !important;
  }

  .now-play {
    font-size: 75%;
  }

  .display-4 {
    font-size: 1.5rem;
  }

  .btn-circle {
    width: 2rem !important;
    height: 2rem !important;
  }
}

@media (max-width: 768px) {
  #header.header-scrolled {
    padding: 2rem 1rem !important;
  }

  .last-played .song-text {
    font-size: 16px;
  }

  h2 {
    font-size: 28px !important;
  }

  .table-container {
    font-size: 0.7rem !important;
  }

  .mobile-controls i {
    display: block;
  }

  .btn {
    font-size: 1rem;
    font-weight: 600;
  }

  #nowPlaying-artist,
  #nowPlaying-title {
    font-size: 1.3rem !important;
  }

  .owl-carousel .item h4 {
    letter-spacing: 0;
    font-size: 12px;
  }

  .radio-branding h5,
  .radio-branding h6,
  #hora,
  #nowPlaying-title {
    font-weight: 500 !important;
  }

  .chat-container {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
  }

  .chat-close {
    position: absolute;
    top: 0.8rem;
    right: 0.5rem;
  }

  #cookie-banner {
    bottom: 0 !important;
    border-radius: 1.5rem 1.5rem 0 0 !important;
  }
  
  #install-banner {
    justify-content: center;
  }

  .banner-message {
    margin: 10px 0;
    flex-basis: calc(100% - 100px);
  }

  button {
    margin: 5px;
  }
}

@media (max-width: 991.98px) {
  .buttons-container {
    display: flex;
    flex-wrap: wrap;
    order: 0;
    width: 100%;
  }

  .audio-control {
    order: 1;
    width: 40%;
    margin-top: 1rem;
  }
}

@media (max-width: 992px) {
  .audio-control-button {
    padding: .5rem 0 !important;
    font-size: 1.3rem !important;
  }

  .song-card {
    flex-direction: row;
    margin-bottom: 0.75rem;
  }

  .masthead {
    padding: 1.5rem 0 3.5rem 0;
  }
}

@media (min-width: 992px) {
  .masthead {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .buttons-container {
    display: flex;
    flex-wrap: nowrap;
    order: 1;
  }

  .audio-control {
    order: 0;
    width: auto;
  }
}