* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #10131b;
  color: #f3f5fa;
  font-family: Arial, sans-serif;
}

header {
  background: #1a2030;
  padding: 22px;
  border-bottom: 1px solid #394258;
}

h1 {
  margin: 0 0 18px;
  color: #b99aff;
  font-size: 30px;
}

h2 {
  color: #c5a7ff;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

button {
  background: #8055e8;
  color: white;
  border: none;
  border-radius: 9px;
  padding: 12px 18px;
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  background: #956fff;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

main {
  max-width: 1000px;
  margin: 30px auto;
  padding: 0 16px;
}

section {
  background: #1a2030;
  border: 1px solid #394258;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 20px;
}

input,
textarea {
  display: block;
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  background: #10131b;
  border: 1px solid #59647c;
  border-radius: 8px;
  color: white;
}

input:focus,
textarea:focus {
  outline: 2px solid #8055e8;
}

.columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.tile {
  background: #252d40;
  border: 1px solid #394258;
  border-radius: 10px;
  padding: 16px;
  margin: 12px 0;
}

.muted {
  color: #aab3c5;
}

.price {
  color: #c5a7ff;
  font-weight: bold;
}

[hidden] {
  display: none !important;
}

#message,
#adminMessage {
  color: #c5a7ff;
  min-height: 22px;
}

#userBadge {
  color: #c5a7ff;
  margin-bottom: 15px;
}