.voice-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.voice-card:hover:not(.disabled) {
  border-color: #4096ff;
  box-shadow: 0 4px 12px rgba(64, 150, 255, 0.15);
  transform: translateY(-2px);
}

.voice-card.selected {
  border-color: #4096ff;
  background: #f6f9ff;
  box-shadow: 0 4px 12px rgba(64, 150, 255, 0.2);
}

.voice-card.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: #f5f5f5;
}

.voice-card:focus {
  outline: none;
  border-color: #4096ff;
  box-shadow: 0 0 0 3px rgba(64, 150, 255, 0.1);
}

.voice-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
  gap: 8px;
}

.voice-name-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.voice-name {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #262626;
  line-height: 1.3;
  word-break: break-word;
}

.voice-type-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 500;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  align-self: flex-start;
}

.voice-card-content {
  margin-bottom: 8px;
}

.voice-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  margin-bottom: 8px;
}

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

.info-label {
  font-size: 10px;
  color: #8c8c8c;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 500;
}

.info-value {
  font-size: 12px;
  color: #262626;
  font-weight: 500;
  word-break: break-word;
}

.voice-tags {
  margin-bottom: 8px;
}

.tag-group {
  margin-bottom: 4px;
}

.tag-group:last-child {
  margin-bottom: 0;
}

.tag-label {
  display: block;
  font-size: 10px;
  color: #8c8c8c;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 500;
  margin-bottom: 3px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.tag {
  display: inline-block;
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.style-tag {
  background: #e6f7ff;
  color: #1890ff;
  border: 1px solid #91d5ff;
}

.scenario-tag {
  background: #f6ffed;
  color: #52c41a;
  border: 1px solid #b7eb8f;
}

.voice-sample {
  margin-bottom: 8px;
}

.sample-label {
  display: block;
  font-size: 10px;
  color: #8c8c8c;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 500;
  margin-bottom: 3px;
}

.sample-text {
  margin: 0;
  font-size: 11px;
  color: #595959;
  line-height: 1.3;
  font-style: italic;
  background: #fafafa;
  padding: 6px;
  border-radius: 4px;
  border-left: 2px solid #d9d9d9;
}

.voice-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid #f0f0f0;
  gap: 8px;
}

.voice-id {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.id-label {
  font-size: 10px;
  color: #8c8c8c;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
  white-space: nowrap;
}

.id-value {
  font-size: 10px;
  color: #595959;
  background: #f5f5f5;
  padding: 2px 4px;
  border-radius: 3px;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  word-break: break-all;
}

.voice-status {
  display: flex;
  align-items: center;
}

.status-indicator {
  font-size: 10px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.status-indicator.supported {
  background: #f6ffed;
  color: #52c41a;
  border: 1px solid #b7eb8f;
}

.status-indicator.not-supported {
  background: #fff2e8;
  color: #fa8c16;
  border: 1px solid #ffd591;
}

/* Responsive design */
@media (max-width: 768px) {
  .voice-info-grid {
    grid-template-columns: 1fr;
  }

  .voice-card-header {
    flex-direction: column;
    align-items: stretch;
  }

  .voice-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .voice-id {
    justify-content: space-between;
  }
}
