.chart-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    height: 300px;
    max-height: 400px;
}
@media (min-width: 768px) {
    .chart-container {
        height: 350px;
    }
}
.stat-card h3 {
    color: #FBBF24;
}
.listen-btn {
    cursor: pointer;
    transition: all 0.2s ease;
}
.listen-btn:hover {
    transform: scale(1.1);
    color: #FBBF24;
}
.listen-btn.loading {
    animation: pulse 1.5s infinite;
}
.listen-btn.playing {
    color: #34D399; /* Verde para indicar reproducción */
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
/* Estilos para la nueva tarjeta de IA */
.gemini-feature-card {
    background-color: #1F2937;
    border: 1px solid #374151;
    transition: all 0.3s ease;
}
.gemini-feature-card:hover {
    border-color: #FBBF24;
}


#gemini-response {
  line-height: 1.9;
}

#gemini-response ul {
  list-style: disc;
  margin-left: 2em;
}

#gemini-response p, #gemini-response h2,  #gemini-response h3, #gemini-response li {
  margin: 0.5em auto;
}

#gemini-response h2 {
  font-weight: 900;
  font-size: 175%;
  margin-top: 2em;
}

#gemini-response h3 {
  font-weight: 900;
  font-size: 140%;
  margin-top: 2em;
}

#gemini-response h2:first-child {
  margin-top: 0;
}


#gemini-response > div:first-child {
    border: 1px solid #888;
    border-radius: 2em;
    padding: 1.5em;
    margin: 1.5em 1em 0 !important;
    font-family: inherit !important;
}
