.rbxspace-wizard {
  margin: 0;
  padding: 0;
  color: #f2f2f2;
}
.rbxspace-wizard.is-waiting-option { display: none; }

.rbxspace-step { display: none; }
.rbxspace-step.is-active { display: block; }
.rbxspace-step h3 { margin: 0 0 8px; color: #fff; }
.rbxspace-muted { color: #a8a8a8; margin-bottom: 16px; }
.rbxspace-label { display: block; margin-bottom: 9px; color: #fff; font-size: 16px; font-weight: 700; }
.rbxspace-wizard .form-control {
  border-color: #3b3b3b;
  background: #1a1a1a;
  color: #fff;
}
.rbxspace-wizard .form-control:focus { border-color: #eb554f; box-shadow: 0 0 0 2px rgba(235, 85, 79, .18); }
.rbxspace-wizard .form-control::placeholder { color: #777; }
.rbxspace-message { min-height: 20px; margin: 10px 0; color: #aaa; }
.rbxspace-message:empty { display: none; }
.rbxspace-message.is-error { color: #ff706a; }
.rbxspace-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
  gap: 10px;
  max-height: 310px;
  overflow-y: auto;
  margin: 10px 0 16px;
  padding-right: 3px;
  scrollbar-color: #555 #191919;
}

.rbxspace-state {
  grid-column: 1 / -1;
  display: flex;
  min-height: 120px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid #292929;
  border-radius: 10px;
  background: #181818;
}
.rbxspace-state:not(.is-loading) { text-align: center; }
.rbxspace-spinner {
  width: 30px;
  height: 30px;
  border: 3px solid #3a3a3a;
  border-top-color: #eb554f;
  border-radius: 50%;
  animation: rbxspace-spin .8s linear infinite;
}
.rbxspace-state-text strong,
.rbxspace-state-text small { display: block; }
.rbxspace-state-text strong { color: #fff; }
.rbxspace-state-text small { margin-top: 3px; color: #999; }
@keyframes rbxspace-spin { to { transform: rotate(360deg); } }

.rbxspace-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 10px;
  border: 2px solid #292929;
  border-radius: 10px;
  background: #1a1a1a;
  color: #f4f4f4;
  text-align: center;
  cursor: pointer;
}

.rbxspace-card:hover,
.rbxspace-card:focus { border-color: #666; background: #222; color: #fff; outline: none; }
.rbxspace-card.is-selected { border-color: #eb554f; background: #271817; box-shadow: 0 0 0 1px rgba(235, 85, 79, .2); }
.rbxspace-card-media { display: block; width: 86px; height: 86px; margin-bottom: 8px; overflow: hidden; border-radius: 10px; background: #292929; }
.rbxspace-user-card .rbxspace-card-media { border-radius: 50%; }
.rbxspace-card-media img { width: 100%; height: 100%; object-fit: cover; }
.rbxspace-placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: #888; font-size: 30px; }
.rbxspace-card strong,
.rbxspace-card small { display: block; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rbxspace-card small { margin-top: 3px; color: #999; }
.rbxspace-pass-instruction {
  margin: 14px 0;
  padding: 14px 16px;
  border-left: 3px solid #eb554f;
  background: #181818;
  color: #cfcfcf;
  line-height: 1.55;
}
.rbxspace-pass-instruction > strong { display: block; color: #fff; }
.rbxspace-pass-instruction ol { margin: 10px 0 0; padding-left: 20px; }
.rbxspace-pass-instruction li + li { margin-top: 5px; }
.rbxspace-pass-instruction li::marker { color: #eb554f; font-weight: 700; }
.rbxspace-pass-instruction li strong { color: #fff; }
.rbxspace-navigation { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.rbxspace-navigation .btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 4px;
  font-weight: 700;
  line-height: 1.4;
}
.rbxspace-back .fa { margin-right: 7px; }
.rbxspace-pass-actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.rbxspace-pass-price {
  padding: 8px 13px;
  border: 1px solid #4a2927;
  border-radius: 4px;
  background: #271817;
  color: #ff7771;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}
.rbxspace-pass-price:hover,
.rbxspace-pass-price:focus { border-color: #eb554f; background: #321b1a; color: #ff8b86; outline: none; }
.rbxspace-pass-price .fa { margin-left: 7px; font-size: 14px; }
.rbxspace-create-pass {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 4px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}
.rbxspace-create-pass .fa { margin-left: 7px; }
.rbxspace-success { margin-top: 12px; padding: 11px 13px; border: 1px solid #245d37; border-radius: 8px; background: #14251a; color: #6ed58e; }

.rbxspace-wizard .rbxspace-secondary {
  border-color: #444;
  background: #242424;
  background-image: none;
  box-shadow: none;
  color: #eee !important;
  opacity: 1;
  text-shadow: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.rbxspace-wizard .rbxspace-secondary:hover,
.rbxspace-wizard .rbxspace-secondary:focus {
  border-color: #666;
  background: #303030;
  color: #fff !important;
  opacity: 1;
  text-decoration: none;
}
.rbxspace-wizard .rbxspace-secondary:active {
  border-color: #555;
  background: #1d1d1d;
  color: #fff !important;
  opacity: 1;
}

@media (max-width: 600px) {
  .rbxspace-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rbxspace-pass-actions { align-items: stretch; flex-direction: column; }
  .rbxspace-pass-price,
  .rbxspace-create-pass { width: 100%; text-align: center; }
  .rbxspace-navigation .btn { flex: 1; }
}
