/*------------------------------------------------------------------------------
    Por: Johannes Nogueira
    Site: http://www.jmultimidia.com.br
-------------------------------------------------------------------------------*/
@import url('themes/juan/colors.css');
@import url('themes/juan/fonts.css');
/* @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css"); */
/* Reset e configurações gerais */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html * {
	scroll-behavior: smooth;
}
body,
html {
	width: 100%;
}
body {
  background-color: var(--light-color);
  font-family: var(--font-default);
  line-height: 1.2;
  color: var(--secondary);
  overflow-x: hidden !important;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Header */
.header-gradient {
  background: linear-gradient(135deg, var(--hero-bg-1) 0%, var(--hero-bg-2) 100%);
  color: var(--light-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.header-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
      radial-gradient(ellipse at top left, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
      radial-gradient(ellipse at bottom right, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}
/* Blob background elements */
.w-80 {
  width: 20rem;
}
.h-80 {
  height: 20rem;
}
.rounded-full {
  border-radius: 9999px;
}
.-top-40 {
  top: -10rem;
}
.-left-40 {
  left: -10rem;
}
.fixed {
  position: fixed;
}
.fixed-in-block {
  position: absolute;
}
.blob {
  filter: blur(60px);
  opacity: 0.7;
}
.w-46 {
  width: 11rem;
}
.h-46 {
  height: 11rem;
}
.w-96 {
  width: 24rem;
}
.h-96 {
  height: 24rem;
}
.bottom-20 {
  bottom: 5rem;
}
.-right-40 {
  right: -10rem;
}
.navbar {
  padding: 1rem 0;
  position: relative;
  z-index: 2;
}

.logo-circle {
  width: 50px;
  height: 50px;
  background: var(--light-color);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  color: var(--hero-bg-1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding: 8px 16px !important;
  border-radius: 8px;
}

.nav-link:hover, .nav-link.active {
  color: var(--light-color) !important;
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.btn-add-station {
  background: linear-gradient(135deg, var(--text-bg-light-2) 0%, var(--text-bg-light-4) 100%);
  border: none;
  color: var(--light-color);
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(238, 90, 36, 0.3);
}

.btn-add-station:hover {
  background: linear-gradient(135deg, var(--text-bg-light-3) 0%, var(--text-bg-light-4) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(44, 20, 11, 0.6);
  color: var(--light-color);
}
/* Hero Section */
.hero-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--hero-bg-1) 0%, var(--hero-bg-2) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
      radial-gradient(ellipse at top left, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
      radial-gradient(ellipse at bottom right, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  line-height: 1.1;
  position: relative;
  z-index: 2;
}
.gradient-text-dark {
  background: linear-gradient(90deg, var(--text-bg-dark-1), var(--text-bg-dark-2), var(--text-bg-dark-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gradient-text-light {
  background: linear-gradient(135deg, var(--text-bg-light-1), var(--text-bg-light-2), var(--text-bg-light-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.btn-background-gradient-text-dark, .btn-outline-dark:hover, .btn-outline-secondary:hover, .btn-outline-primary:hover {
  background: linear-gradient(90deg, var(--text-bg-dark-1), var(--text-bg-dark-2), var(--text-bg-dark-3));
  color: var(--light-color)
}
.btn-background-gradient-text-dark:hover{
    background: linear-gradient(90deg, var(--text-bg-dark-3), var(--text-bg-dark-2), var(--text-bg-dark-1));
    color: var(--light-color)
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.95;
  font-weight: 400;
  position: relative;
  z-index: 2;
}

.apps-container p {
  margin-bottom: 8px;
  font-size: .75rem;
  color: var(--light-color);
}

/* CSS para controlar a exibição dos badges */
body:not(.android):not(.ios):not(.other) .app-badge,
.app-badge {
    display: none;
}

body.android .app-badge:not(.android) {
    display: none;
}

body.ios .app-badge:not(.ios) {
    display: none;
}

body.android .app-badge.android {
    display: inline-block;
}

body.ios .app-badge.ios {
    display: inline-block;
}

.app-badges {
  font-size: 0;
}

.app-badges a {
  font-size: initial; /* Restaura o tamanho da fonte normal */
  display: inline-block;
}
.app-badges img {
  height: 40px;
  transition: transform 0.3s ease;
}

.app-badges img:hover {
  transform: scale(1.05);
}
/* Margem apenas no primeiro link, apenas no desktop */
@media (min-width: 769px) {
  .app-badges a:first-child {
      margin-right: 8px;
  }
}
/* Para telas menores */
@media (max-width: 768px) {
  .col-md-6 {
      justify-content: center !important;
      margin-bottom: 20px;
  }

  .search-box {
      max-width: 100%;
  }

  .apps-container {
      text-align: center;
  }
  .app-badges a {
    margin-right: 0 !important;
    margin-bottom: 10px; /* espaçamento vertical no mobile */
    display: block; /* empilhar verticalmente no mobile */
}
}

.search-box {
  margin-top: 10px;
  max-width: 450px;
  min-width: 350px;
  width: 100%;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-radius: 60px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.search-box .form-control {
  border: none;
  padding: 12px 16px;
  border-radius: 25px 0 0 25px;
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--light-color);
}

.search-box .form-control:focus {
  box-shadow: none !important;
  outline: none !important;
  border: none !important;
}

.search-box .btn {
  border: none !important;
  border-radius: 0 60px 60px 0 !important;
  padding: 18px 30px !important;
  background: linear-gradient(135deg, var(--hero-bg-2) 0%, var(--hero-bg-1) 100%) !important;
  color: var(--light-color) !important;
  outline: none !important;
  box-shadow: none !important;
}

.search-box .btn:hover,
.search-box .btn:focus,
.search-box .btn:active,
.search-box .btn:focus-visible,
.search-box .btn.focus,
.search-box .btn.active {
  background: linear-gradient(135deg, var(--hero-bg-1) 0%, var(--hero-bg-2) 100%) !important;
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  transform: scale(1.02);
}

/* Seções */
.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-title-medium {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-title-color {
  color: var(--secondary);
}

.section-subtitle {
  font-size: 1.2rem;
  color: #718096;
  margin-bottom: 3rem;
  font-weight: 400;
}

/* Station Cards */
.station-card {
  background: var(--light-color-transparent);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.station-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
  border-color: rgba(255, 255, 255, 1);
}

.station-card:hover .logo-placeholder {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.logo-container {
  position: relative;
  display: inline-block;
}

/* Garantir que o navbar-brand não tenha margem automática conflitante */
.navbar-brand {
  margin: 0 !important;
}

.navbar-brand .logo-svg {
  width: 190px;
  vertical-align: middle;
}

.logo-fallback {
  display: none;
}

.logo-text {
  margin-left: 10px;
  vertical-align: middle;
}

.station-card a {
  text-decoration: none;
}
.station-card a i {
  margin-left: 0.3125rem;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}
.top-10 {
  padding: 0 6rem
}
.top-10 .station-logo {
  margin-bottom: 0;
}
.station-logo {
  position: relative;
  /* margin-bottom: 1.5rem; */
}

.logo-placeholder {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  margin: 0 auto;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  position: relative;
  overflow: hidden;
  padding: 1px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 2px solid rgba(102, 126, 234, 0.2);
}
.logo-placeholder img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Imagem lazy load */
.logo-placeholder img.lazyload,
.logo-placeholder img.loaded {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s ease;
}

/* Estado inicial - imagem invisível */
.logo-placeholder img.lazyload {
  /* opacity: 0; */
  opacity: 0.7;
}

/* Estado carregado - imagem visível */
.logo-placeholder img.loaded {
  opacity: 1;
}

/* Fallback text */
.logo-placeholder .fallback-text {
  transition: opacity 0.3s ease;
  z-index: 1;
  position: relative;
}

/* Esconder texto quando imagem carrega */
.logo-placeholder.has-image .fallback-text {
  opacity: 0;
  pointer-events: none;
}

/* Loading placeholder (opcional - skeleton effect) */
.logo-placeholder img.lazyload {
  background-color: rgba(255, 255, 255, 0.1);
}

/* .tv-card .logo-placeholder {
  box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
} */
.text-orange {
  background: linear-gradient(135deg, var(--text-bg-light-4) 0%, var(--text-bg-light-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.live-badge {
  position: absolute;
  top: -8px;
  right: 10px;
  background: linear-gradient(135deg, #dc3545 0%, #e53e3e 100%);
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 700;
  animation: pulse 2s infinite;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.play-btn {
  border-radius: 50px;
  padding: 10px 20px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  font-size: 0.9rem;
}

.play-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Anúncios */
.ads-section {
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.ad-banner {
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  border: 2px dashed #cbd5e0;
  border-radius: 15px;
  padding: 3rem 2rem;
  text-align: center;
  color: #718096;
  font-weight: 600;
  transition: all 0.3s ease;
}

.ad-banner:hover {
  background: linear-gradient(135deg, #edf2f7 0%, #e2e8f0 100%);
  border-color: #a0aec0;
}

.ad-placeholder {
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}
.ad-sidebar .ad-banner-sidebar .ad-content {
  margin-top:5px
}
.ad-sidebar .ad-banner-sidebar .ad-content img {
  border-radius: 20px;
}

/* Explorar por Cidade */
.explore-section {
  background: linear-gradient(135deg, var(--hero-bg-1) 0%, var(--hero-bg-2) 100%);
  position: relative;
}

.explore-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
  pointer-events: none;
}

.city-filter-container {
  position: relative;
  z-index: 2;
}

.city-filter-group {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  border-radius: 50px;
  overflow: hidden;
  background: white;
}

.city-filter-group .input-group-text {
  border: none;
  background: white;
  padding: 18px 20px;
  color: var(--hero-bg-1);
  font-size: 1.1rem;
}

.city-filter-group .form-select {
  border: none;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 500;
  background: var(--light-color);
  color: #2d3748;
}

.city-filter-group .form-select:focus {
  box-shadow: none;
  outline: none;
  border-color: transparent;
}

/* Radio Page */
.radio-page .station-card {
    background: var(--light-color-transparent);
    padding: 1.3rem 1.1rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
  }

.radio-page .station-card {
    background: var(--light-color-transparent);
    padding: 1.3rem 1.1rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
  }

  .radio-page .station-card {
    height: 440px;
  }

  .radio-page .tv-card {
    height: 410px;
  }

  .radio-page .station-card:hover {
    transform: none;
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
    border-color: rgba(255, 255, 255, 1);
  }

  .radio-page .station-card:hover .logo-placeholder {
    transform: none;
    transition: none;
  }
  .radio-page .station-logo .logo-placeholder, .radio-page .station-logo .logo-placeholder img {
    border-radius: 0;
    width: 145px;
    height: 145px;
  }
  .radio-page .station-logo .logo-placeholder img.lazyload,
  .radio-page .station-logo .logo-placeholder img.loaded {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s ease;
}

.radio-page .social-networks {
  text-align: center;
}

.radio-page .social-title {
  font-size: 0.7rem;
  font-weight: 400;
  color: #333;
  white-space: nowrap;
}

.radio-page .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: var(--light-color);
  border-radius: 50%;
  border: 1px solid var(--gray4);
  color: var(--gray);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.radio-page .social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.radio-page .social-networks i {
  margin-left:0
}
.radio-ads-vertical, .video-player {
  display: flex;
  margin: 0;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  position: relative;
  overflow: hidden;
  padding: 3px;
  background: linear-gradient(135deg, var(--light-color) 0%, #f8f9fa 100%);
  border: 2px solid rgba(102, 126, 234, 0.2);
}
.radio-ads-horizontal {
    display: flex;
    margin: 0;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
    padding: 2px;
    background: linear-gradient(135deg, var(--light-color) 0%, #f8f9fa 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
  }
.radio-ads-vertical img, .radio-ads-horizontal img {
  width: 100%;
  height: auto;
  display: block;
}
.station-single-title {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom:0.20rem
}
.station-single-city {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--gray);
  margin-bottom:0.20rem
}
.station-single-slogan {
  font-size: 0.7rem;
  font-weight: 300;
  color: var(--gray);
  margin-bottom: 5px;
}
.station-single-description {
  font-size: 0.7rem;
  font-weight: 300;
  color: var(--gray);
}

.suggested-radios .suggested-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.suggested-radios .suggested-item:last-child {
    border-bottom: none;
}

.suggested-radios .suggested-item:hover {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
    margin: -10px;
    transition: all 0.3s ease;
}

.radio-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.radio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.radio-logo img {
    border: 2px solid #eee;
    transition: border-color 0.3s ease;
}

.radio-item:hover .radio-logo img {
    border-color: var(-default);
}

.alphabet-section {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alphabet-section h6 {
    font-weight: bold;
    margin-bottom: 15px;
}

.filters-section .btn {
    margin-bottom: 5px;
}

.radio-name a {
    color: #333;
    font-weight: 600;
}

.radio-name a:hover {
    color: var(-default);
}

.radio-actions .btn {
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 12px;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

#content-display .content-body p, #content-display .content-body li{
    font-size: 14px;
    line-height: 22px;
}

#content-display .content-body h1{
    font-size: 1.5rem;
}

#content-display .content-body h2{
    font-size: 1.4rem;
}

#content-display .content-body h3{
    font-size: 1.3rem;
}

#content-display .content-body h4{
    font-size: 1rem;
}

#content-display .content-body h5{
    font-size: 0.9rem;
}

#content-display .content-body h6{
    font-size: 0.8rem;
}

#content-display .card-body p.text-muted{
    font-size: 0.7rem
}

/* Personalizando Player */
/* TV */
.video-player {
    width: 100%;
    height: auto;
    min-height: 400px; /* Altura mínima */
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Proporção 16:9 */
    background: #000;
}

.video-wrapper video,
.video-wrapper .plyr {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

/* Cor dos ícones/controles */
.plyr__control svg,
.plyr__control use {
    color: var(--text-bg-dark-2) !important;
    fill: var(--text-bg-dark-2) !important;
}

/* Hover nos controles */
.plyr__control:hover svg,
.plyr__control:hover use,
.plyr__control:focus svg,
.plyr__control:focus use {
    color: var(--text-bg-dark-1) !important;
    fill: var(--text-bg-dark-1) !important;
}

/* Botão play/pause principal */
.plyr__control--overlaid {
    background: rgba(204, 171, 240, 0.9) !important;
}

.plyr__control--overlaid:hover,
.plyr__control--overlaid:focus {
    background: rgba(204, 171, 240) !important;
}

/* Barra de progresso */
.plyr__progress input[type="range"] {
    color: var(--text-bg-dark-2) !important;
}

.plyr__progress input[type="range"]::-webkit-slider-thumb {
    background: var(--text-bg-dark-2) !important;
}

.plyr__progress input[type="range"]::-moz-range-thumb {
    background: var(--text-bg-dark-2) !important;
}

/* Barra de volume */
.plyr__volume input[type="range"] {
    color: var(--text-bg-dark-2) !important;
}

.plyr__volume input[type="range"]::-webkit-slider-thumb {
    background: var(--text-bg-dark-2) !important;
}

.plyr__volume input[type="range"]::-moz-range-thumb {
    background: var(--text-bg-dark-2) !important;
}

/* Texto dos controles */
.plyr__control {
    color: var(--text-bg-dark-2) !important;
}

.plyr__control:hover,
.plyr__control:focus {
    color: var(--light-color) !important;
}

/* Loading spinner (se usar) */
.plyr__spinner {
    border-left-color: var(--text-bg-dark-2) !important;
}

/* Poster/capa (para vídeo) */
.plyr__poster {
    background-color: #4a5464 !important;
}
/* Cores específicas para cada rede social */
.radio-page .social-icon.facebook:hover {
  background-color: #166fe5;
  color:var(--light-color);
}

.radio-page .social-icon.instagram:hover {
  background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
  color: var(--light-color);
}

.radio-page .social-icon.whatsapp:hover {
  background-color: #20ba5a;
  color: var(--light-color);
}

.radio-page .social-icon.twitter:hover {
  background-color: #1a91da;
  color: var(--light-color);
}

.radio-page .social-icon.tiktok:hover {
  background-color: #333333;
  color: var(--light-color);
}

.radio-page .social-icon.website:hover {
  background-color: #5a6268;
  color: var(--light-color);
}

.radio-page .section-title, .suggested-stations .section-title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.text-truncate-3-lines {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp:3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  cursor: pointer;
  transition: all 0.3s ease;
}

.text-truncate-3-lines:hover {
  color: var(--text-bg-dark-1);
  transform: translateY(-1px);
}
#descriptionModal p {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--gray);}
/* Estilo para a seção de estações sugeridas */
.suggested-stations .stations-slider {
  padding: 20px 0;
}

.suggested-stations .slider-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}

.suggested-stations .slider-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  margin-right: 20px;
}

.suggested-stations .station-circle {
  display: flex;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.suggested-stations .station-circle:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.suggested-stations .station-circle-img {
  display:block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.colored-toast.swal2-popup {
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

.swal2-timer-progress-bar {
    background: linear-gradient(45deg, var(--default) 0%, var(--default-2) 100%) !important;
}

.swal2-loading {
    border-color: var(--default) transparent var(--default) transparent !important;
}

/* Badge styling */
.badge {
    font-size: 10px;
    padding: 4px 8px;
}

/* CSS personalizado para paginação */

.custom-pagination-wrapper {
    background: #fff;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-top: 30px;
    border: 1px solid #e9ecef;
}

.pagination-info {
    text-align: center;
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: 500;
}

.pagination-info strong {
    color: #495057;
    font-weight: 600;
}

.custom-pagination {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.custom-pagination .page-item {
    margin: 0;
}

.custom-pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    color: #6c757d;
    background-color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.custom-pagination .page-link:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--default) 0%, var(--default-2) 100%);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.custom-pagination .page-item.active .page-link {
    color: #fff;
    background: linear-gradient(135deg, var(--default) 0%, var(--default-2) 100%);
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    transform: translateY(-1px);
}

.custom-pagination .page-item.disabled .page-link {
    color: #adb5bd;
    background-color: #f8f9fa;
    border-color: #dee2e6;
    cursor: not-allowed;
    opacity: 0.6;
}

.custom-pagination .page-item.disabled .page-link:hover {
    transform: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    background-color: #f8f9fa;
    color: #adb5bd;
    background: #f8f9fa;
}

/* Estilo especial para os pontos (...) */
.custom-pagination .dots {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: default !important;
    color: #6c757d !important;
    font-weight: bold;
}

.custom-pagination .dots:hover {
    transform: none !important;
    background: transparent !important;
    color: #6c757d !important;
}

/* Ícones das setas */
.custom-pagination .fa-chevron-left,
.custom-pagination .fa-chevron-right {
    font-size: 12px;
}

/* Responsive */
@media (max-width: 576px) {
    .custom-pagination-wrapper {
        padding: 20px 15px;
        margin-top: 20px;
    }

    .custom-pagination .page-link {
        width: 35px;
        height: 35px;
        font-size: 13px;
    }

    .pagination-info {
        font-size: 13px;
        margin-bottom: 15px;
    }

    /* Ocultar alguns números em mobile */
    .custom-pagination .page-item:not(.active):not(.disabled):nth-child(n+8):nth-last-child(n+4) {
        display: none;
    }
}

/* Animação de loading (opcional) */
.pagination-loading .custom-pagination .page-link {
    pointer-events: none;
    opacity: 0.7;
}

/* Efeito adicional para a página ativa */
.custom-pagination .page-item.active .page-link::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--default), var(--defatul-2));
    border-radius: 10px;
    z-index: -1;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.custom-pagination .page-item.active .page-link {
    position: relative;
}
.nav-tabs .nav-link {
    color: var(--default) !important;
}

.nav-tabs .nav-link.active {
    color: #495057 !important;
    background-color: #fff !important;
    border-color: #dee2e6 #dee2e6 #fff !important;
}
/* Responsivo */
@media (max-width: 768px) {
  .suggested-stations .stations-slider {
      gap: 1rem !important;
  }

  .suggested-stations .slider-label {
      font-size: 0.65rem;
      margin-right: 10px;
      margin-bottom: 10px;
  }

  .suggested-stations .station-circle {
      width: 65px;
      height: 65px;
  }

  .radio-item .card-body {
    flex-direction: column;
    text-align: center;
    }

    .radio-logo {
        margin-bottom: 15px !important;
        margin-right: 0 !important;
        align-self: center;
    }

    .alphabet-section .row .col-md-4 {
        margin-bottom: 10px;
    }

    .filters-section .btn,
    .departments-section .btn,
    .main-cities-section .btn {
        font-size: 14px;
        margin-bottom: 8px;
    }
}

@media (max-width: 576px) {
  .suggested-stations .stations-slider {
      flex-direction: column;
      gap: 1.5rem !important;
  }

  .suggested-stations .slider-item:first-child {
      order: -1;
      margin-bottom: 15px;
  }

  .suggested-stations .stations-slider .slider-item:not(:first-child) {
      display: flex;
      flex-direction: row;
      gap: 1rem;
  }

  /* No mobile, cria uma linha com as estações */
  .suggested-stations .stations-slider {
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
  }

  .suggested-stations .slider-item:first-child {
      width: 100%;
      text-align: center;
      margin-bottom: 20px;
  }
}
/* End Radio Page */

/* Footer */

footer {
  background: linear-gradient(135deg, var(--hero-bg-1) 0%, var(--hero-bg-2) 100%);
  color: var(--light-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}
footer a {
  text-decoration: none;
  transition: all 0.3s ease;
}
footer a:hover {
  color: var(--gray) !important;
  transform: translateY(-2px);
}
footer img.logo {
  width: 150px;
}
footer h6 {
  margin-bottom: 15px;
}
footer li, footer p.resume{
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.5rem;
}
footer p {
  font-size: 0.9rem
}
footer .app-badges img{
  width: 110px;
  height: 37px;
}
.social-links a {
  font-size: 1.5rem;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 8px;
  border-radius: 8px;
}

.social-links a:hover {
  color: var(--hero-bg-1) !important;
  transform: translateY(-2px);
  background: rgba(102, 126, 234, 0.1);
}
#scrollUp {
	display: none; /* Hidden by default */
	position: fixed; /* Fixed/sticky position */
	width:40px;
	height:40px;
	line-height: 35px;
	bottom: 15px; /* Place the button at the bottom of the page */
	right: 15px; /* Place the button 30px from the right */
	z-index: 9999; /* Make sure it does not overlap */
	border: none; /* Remove borders */
	outline: none; /* Remove outline */
	background-color: var(--text-bg-dark-2); /* Set a background color */
	cursor: pointer; /* Add a mouse pointer on hover */
	padding-top: 5px;
	border-radius: 50%; /* Rounded corners */
	text-align: center;
}
#scrollUp:hover {
	background-color: var(--text-bg-dark-1);
	padding-top: 0;
}
#scrollUp i {
	font-size:20px;
  color: var(--light-color)
}

/* Animações */
@keyframes pulse {
  0%, 100% {
      opacity: 1;
      transform: scale(1);
  }
  50% {
      opacity: 0.8;
      transform: scale(1.05);
  }
}

.station-card {
  animation: fadeInUp 0.6s ease-out;
}

[class*="col-"], .slider-item {
    position: relative !important;
}

.jm-custom-tooltip {
  --bs-tooltip-bg: var(--text-bg-dark-1);
  --bs-tooltip-color: var(--light-color);
}

.tooltip-no-wrap .tooltip-inner {
    white-space: nowrap !important;
    max-width: none !important; /* Remove limitação de largura */
}

/* Tooltip sem seta */
.tooltip-no-arrow .tooltip-arrow {
    display: none !important;
}

.tooltip-no-arrow {
    /* Opcional: ajustar border-radius para ficar mais redondo */
    --bs-tooltip-border-radius: 8px;
    --bs-tooltip-bg: var(--text-bg-dark-1);
    --bs-tooltip-color: var(--light-color);
}

.tooltip-no-arrow .tooltip-inner {
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}
@media (min-width: 992px) {
  .col-lg-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
  }
}
/* Responsividade */
@media (max-width: 768px) {
  .hero-title {
      font-size: 2.8rem;
  }

  .section-title {
      font-size: 2.2rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 1.4rem;
    font-weight: 300;
}

  .navbar .row {
    flex-direction: column;
}

  .navbar-brand {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
  }

  .navbar-nav {
      text-align: center;
      flex-direction: row;
      justify-content: center;
      flex-wrap: wrap;
  }
  .nav-link {
    padding: 0.25rem 0.5rem;
    font-size: 0.9rem;
}
  .logo-placeholder {
      width: 70px;
      height: 70px;
      font-size: 1.1rem;
  }
  .search-box {
    min-width: 280px;
    max-width: 100%;
}
  .station-card {
      padding: 1.5rem 1rem;
  }

  .logo-circle {
      width: 40px;
      height: 40px;
  }

  .logo-text {
      font-size: 1.5rem;
  }
  .top-10 {
    padding: 0
  }
  .city-filter-group .form-select {
    padding: 14px 18px 14px 10px;
    font-size: 1rem;
    font-weight: 400;
    }
    .suggested-radios {
        max-height: 300px;
        overflow-y: auto;
    }
}

@media (max-width: 576px) {
  .nav-link {
    padding: 0.20rem 0.4rem;
    font-size: 0.75rem;
}
  .hero-title {
      font-size: 2.2rem;
  }

  .hero-section {
      padding: 3rem 0;
  }
  .section-title {
      font-size: 1.7rem;
  }
  .search-box {
    min-width: 250px;
}
  .search-box .form-control,
  .search-box .btn {
    font-size: 14px;
    padding: 10px 12px;
  }
  .station-card {
    padding-left: 15%;
  }
  .ad-sidebar {
    max-width: fit-content;
  }
  .ad-sidebar .ad-banner-sidebar .ad-content {
    margin-top:0
  }
}

/* Melhorias adicionais */
.juan-bg-gradient {
  background: linear-gradient(135deg, var(--hero-bg-2) 0%, var(--hero-bg-1) 100%);
}
.bg-gradient-light {
  background-image: linear-gradient(135deg, var(--bg-gray) 0%, var(--gray4) 100%);
}

.container {
  max-width: 1200px;
}

section {
  position: relative;
}

/* Efeitos de hover para links */
a {
  transition: all 0.3s ease;
}

/* Estilo para botões */
.btn {
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-1px);
}
