body {
  background: #1b2550;
  min-height: 100vh;
}

main.container {
  max-width: 860px;
}

.preview {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
}

.designs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 575.98px) {
  .designs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.design-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  cursor: pointer;
  font-size: .8rem;
  text-align: center;
}
.design-option canvas {
  width: 100%;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
}
.design-option:has(input:checked) {
  border-color: #1b2550;
  background: #eef0f7;
  font-weight: 600;
}
.design-option:has(input:focus-visible) {
  outline: 3px solid #86a0e6;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  padding: 16px 12px;
  border: 1px dashed #c3c8d8;
  border-radius: 10px;
  font-size: .9rem;
}
.step span:last-child { color: #5c6170; }
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1b2550;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.cmd {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #141b3a;
  border-radius: 8px;
}
.cmd code {
  flex: 1;
  color: #cfdcff;
  font-size: .85rem;
  word-break: break-word;
}
.cmd .btn { flex-shrink: 0; }

.nav-pills .nav-link {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .35);
}
.nav-pills .nav-link.active {
  background: #fff;
  color: #1b2550;
  font-weight: 600;
}

.designs-id { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 575.98px) {
  .designs-id { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.preview-id {
  width: 100%;
  max-width: 260px;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .2));
}

.lang-select {
  width: auto;
  background-color: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: rgba(255, 255, 255, .4);
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}
.lang-select option { color: #212529; }
