/* Dedicated Styles for Gemini TTS Voice Studio (suara.html) */
.studio-2col-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.studio-panel-left, .studio-panel-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--neo-yellow);
  border: var(--border-width) solid var(--border-color);
  box-shadow: 4px 4px 0 #000;
  border-radius: 10px;
}

.panel-title {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.model-tag {
  font-size: 10px;
  font-weight: 900;
  padding: 4px 8px;
  background: #000;
  color: #fff;
  border-radius: 4px;
  text-transform: uppercase;
}

.studio-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border: var(--border-width) solid var(--border-color);
  box-shadow: 4px 4px 0 #000;
  padding: 16px;
  border-radius: 10px;
}

.studio-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.studio-prompt-input {
  width: 100%;
  border: 2px solid #000;
  border-radius: 8px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13px;
  outline: none;
  background: #fafafa;
}

.studio-prompt-input:focus {
  background: #fff;
  border-color: var(--neo-cyan);
}

.intonation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.intonation-card-item {
  padding: 10px;
  background: #fff;
  border: 2px solid #000;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  box-shadow: 2px 2px 0 #000;
}

.intonation-card-item.active {
  background: var(--neo-yellow);
  box-shadow: 3px 3px 0 #000;
}

.intonation-title {
  font-weight: 800;
  font-size: 11px;
}

.intonation-sub {
  font-size: 10px;
  color: #666;
}

/* Voice Filter Bar & Scrollable Container */
.voice-filter-group {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.btn-voice-filter {
  flex: 1;
  padding: 6px 10px;
  background: #fff;
  border: 2px solid #000;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 2px 2px 0 #000;
  transition: all 0.15s ease;
}

.btn-voice-filter.active {
  background: var(--neo-yellow, #ffeaa7);
  box-shadow: 3px 3px 0 #000;
}

.voice-scroll-container {
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}

.voice-scroll-container::-webkit-scrollbar {
  width: 6px;
}

.voice-scroll-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border: 1px solid #000;
  border-radius: 4px;
}

.voice-scroll-container::-webkit-scrollbar-thumb {
  background: #000;
  border-radius: 4px;
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.voice-card-btn {
  position: relative;
  padding: 8px 10px;
  background: #fff;
  border: 2px solid #000;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  box-shadow: 2px 2px 0 #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
}

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

.voice-card-btn.active {
  background: var(--neo-cyan, #81ecec);
  box-shadow: 3px 3px 0 #000;
}

.voice-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.voice-name {
  font-weight: 900;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.voice-desc {
  font-size: 10px;
  color: #555;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.voice-gender-tag {
  font-size: 9px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 3px;
  border: 1px solid #000;
  display: inline-block;
}

.voice-gender-tag.female {
  background: #ff7675;
  color: #fff;
}

.voice-gender-tag.male {
  background: #74b9ff;
  color: #000;
}

.btn-play-sample {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border: 2px solid #000;
  border-radius: 50%;
  background: var(--neo-yellow, #ffeaa7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  box-shadow: 1px 1px 0 #000;
  transition: transform 0.1s ease, background 0.15s ease;
}

.btn-play-sample:hover {
  transform: scale(1.1);
  background: #fff;
}

.btn-play-sample.playing {
  background: var(--neo-orange, #ff7675);
  color: #fff;
}

.btn-generate-hero {
  width: 100%;
  padding: 14px;
  background: var(--neo-orange, #ff7675);
  color: #fff;
  border: var(--border-width) solid var(--border-color);
  box-shadow: 5px 5px 0 #000;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
}

.preview-stage-card {
  background: #fff;
  border: var(--border-width) solid var(--border-color);
  box-shadow: 5px 5px 0 #000;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.preview-card-header {
  padding: 14px 18px;
  border-bottom: var(--border-width) solid var(--border-color);
  background: #fafafa;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.preview-content-box {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #fdfdfd;
}

.empty-studio-state {
  text-align: center;
}

@media (max-width: 900px) {
  .studio-2col-layout {
    grid-template-columns: 1fr;
  }
}
