.transcript-container {
  margin: 2rem 0;
  border: 2px solid #ddd;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.transcript-header {
  padding: 1.5rem;
  background: #fff;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.transcript-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

.transcript-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.transcript-toggle {
  background: #ff6c00;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.transcript-toggle:hover {
  background: #e66100;
}

.transcript-download {
  background: #0073aa;
  color: white;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-size: 0.95rem;
  transition: background 0.2s;
  display: inline-block;
}

.transcript-download:hover {
  background: #005a87;
  color: white;
}

.transcript-content {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background: white;
}

.transcript-content.open {
  padding: 2rem;
  max-height: 10000px;
  transition: max-height 0.5s ease-in, padding 0.3s ease-in;
}

.transcript-text {
  font-family: Georgia, serif;
  font-size: 1rem;
  line-height: 1.8;
}

.speaker-line {
  margin: 1.5rem 0;
}

.speaker-label {
  font-weight: bold;
  color: #333;
}

@media (max-width: 768px) {
  .transcript-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .transcript-actions {
    width: 100%;
  }

  .transcript-toggle,
  .transcript-download {
    width: 100%;
    text-align: center;
  }
}
