.tab2-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #08111f;
  padding: 20px;
}

.render-header-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  background: #111e31;
  border: 1px solid #263750;
  border-radius: 12px;
  margin-bottom: 16px;
}

.header-buttons-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.render-primary-btn {
  background: #0284c7;
  color: #fff;
  border: none;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.render-primary-btn:hover {
  background: #0369a1;
}

.render-secondary-btn {
  background: #17263c;
  color: #9eb1cb;
  border: 1px solid #314b6d;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.render-secondary-btn:hover {
  color: #fff;
  border-color: #38bdf8;
}

.render-status-msg {
  font-size: 12px;
  color: #91a5c2;
}

.render-canvas-box {
  flex: 1;
  overflow-y: auto;
  background: #111e31;
  border: 1px solid #263750;
  border-radius: 12px;
  padding: 24px;
}

.rendered-spec-card {
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid #263750;
  border-radius: 8px;
  background: #0d1726;
}

.badge-tag {
  display: inline-block;
  padding: 4px 10px;
  background: #1d3554;
  color: #38bdf8;
  font-family: monospace;
  font-size: 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.empty-render-notice {
  text-align: center;
  padding: 60px 20px;
  color: #8fa5c4;
  font-size: 14px;
}

.render-alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
}

.render-alert.warning {
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid #ca8a04;
  color: #fde047;
}

.render-alert.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #dc2626;
  color: #fca5a5;
}