/* Styles for multi-language code examples */

.code-tabs {
  margin-bottom: 2rem;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.code-tabs-header {
  display: flex;
  background-color: #f5f5f5;
  border-bottom: 1px solid #e1e1e1;
}

.code-tab-trigger {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: none;
  transition: all 0.2s ease;
  color: #666;
}

.code-tab-trigger:hover {
  background-color: #eee;
  color: #333;
}

.code-tab-trigger.active {
  background-color: #1655c0;
  color: white;
  position: relative;
}

.code-tab-trigger.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #1655c0;
}

.code-tabs-content {
  position: relative;
}

.code-tab-pane {
  display: none;
}

.code-tab-pane.active {
  display: block;
}

.code-tab-pane .code-sample {
  margin: 0;
  border-radius: 0;
}

.code-language-label {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 12px;
  color: #999;
  padding: 2px 5px;
  border-radius: 3px;
  background-color: rgba(255,255,255,0.7);
  z-index: 2;
}