/* Shared by every sample design: the "sample" bar and the popup for demo-only buttons. */

.ss-sample-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 18px;
  min-height: 40px;
  padding: 8px 16px;
  background: #111114;
  color: #f2f2f0;
  font: 400 14px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  text-align: center;
}
.ss-sample-bar b {
  color: #7fa6ff;
  font-weight: 700;
}
.ss-sample-bar a {
  color: #f2f2f0;
  text-decoration: underline;
  text-decoration-color: #7fa6ff;
  text-underline-offset: 3px;
}
.ss-sample-bar a:hover {
  color: #7fa6ff;
}
.ss-sample-bar a:focus-visible {
  outline: 2px solid #7fa6ff;
  outline-offset: 2px;
}
@media (max-width: 600px) {
  .ss-sample-bar {
    font-size: 13px;
  }
}

.ss-dialog {
  width: min(440px, calc(100vw - 32px));
  padding: 32px 28px 26px;
  border: 0;
  border-radius: 16px;
  background: #111114;
  color: #f2f2f0;
  font: 400 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}
.ss-dialog::backdrop {
  background: rgba(10, 10, 12, 0.55);
}
.ss-dialog h2 {
  margin: 12px 0 0;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 650;
}
.ss-dialog p {
  margin: 10px 0 0;
  color: #c4c4cc;
}
.ss-dialog-star {
  width: 24px;
  height: 24px;
  fill: #7fa6ff;
}
.ss-dialog-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ss-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(242, 242, 240, 0.3);
  background: transparent;
  color: #f2f2f0;
  font: 600 15px/1 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.ss-btn:hover {
  border-color: #f2f2f0;
}
.ss-btn-primary {
  background: #7fa6ff;
  border-color: #7fa6ff;
  color: #111114;
}
.ss-btn-primary:hover {
  background: #a3bfff;
  border-color: #a3bfff;
}
.ss-btn:focus-visible {
  outline: 2px solid #7fa6ff;
  outline-offset: 3px;
}
