body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #0b0f14;
  color: #d7d7d7;
}

/* TOP BAR */
.topbar {
  display: grid;

  grid-template-columns: 250px 1fr 250px;

  align-items: center;

  padding: 14px 24px;

  background: #111827;

  border-bottom: 1px solid #222;
}

/* LEFT SIDE */
.nav-left {
  display: contents;
}

/* TITLE */
.title {
  justify-self: start;

  font-weight: bold;

  color: #e6d3a3;

  font-size: 18px;

  white-space: nowrap;
}

/* NAVIGATION */
.nav-links {
  justify-self: center;

  display: flex;

  align-items: center;

  gap: 40px;
}

/* LINKS */
.nav-links a {
  position: relative;

  color: #aaa;

  text-decoration: none;

  font-size: 14px;

  padding-bottom: 6px;

  transition: 0.15s;
}

/* UNDERLINE EFFECT */
.nav-links a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 0%;

  height: 2px;

  background: #d4af37;

  transition: 0.2s ease;
}

/* HOVER */
.nav-links a:hover {
  color: white;
}

.nav-links a:hover::after {
  width: 100%;
}

/* RIGHT CONTROLS */
.controls {
  justify-self: end;

  display: flex;

  align-items: center;
}

/* SEARCH */
.controls input {
  padding: 6px 10px;

  background: #0b0f14;

  border: 1px solid #333;

  color: white;

  border-radius: 4px;
}

/* BUTTONS */
.controls button {
  margin-left: 6px;

  padding: 6px 10px;

  background: #1f2937;

  border: 1px solid #333;

  color: white;

  cursor: pointer;

  border-radius: 4px;
}

.controls button:hover {
  background: #2a3442;
}

/* HEADER ROW */
.table-header {
  display: grid;

  grid-template-columns: 2fr 1fr 1.2fr 3fr 1fr;

  padding: 10px 12px;

  background: #0f1722;

  border-bottom: 1px solid #222;

  font-size: 12px;

  color: #aaa;
}

.table-header div {
  cursor: pointer;
}

.table-header div:hover {
  color: #d4af37;
}

/* SERVER LIST */
.server-list {
  display: flex;

  flex-direction: column;
}

/* SERVER ROWS */
.server-row {
  display: grid;

  grid-template-columns: 2fr 1fr 1.2fr 3fr 1fr;

  padding: 10px 12px;

  border-bottom: 1px solid #1a1f2b;

  font-size: 13px;

  transition: 0.1s;
}

.server-row:nth-child(even) {
  background: #0c111a;
}

.server-row:hover {
  background: #162033;
}

.server-row:active {
  background: #1f2a3d;
}

/* SERVER BUTTONS */
.server-row button {
  padding: 4px 8px;

  margin-right: 6px;

  font-size: 12px;

  background: #1f2937;

  border: 1px solid #333;

  color: white;

  cursor: pointer;

  border-radius: 4px;
}

.server-row button:hover {
  background: #2a3442;
}

/* MODAL */
.modal {
  display: none;

  position: fixed;

  inset: 0;

  background: rgba(0,0,0,0.85);

  align-items: center;

  justify-content: center;
}

.modal-content {
  background: #111827;

  padding: 20px;

  border-radius: 6px;

  width: 360px;
}

.modal-content code {
  display: block;

  background: #0b0f14;

  padding: 10px;

  margin: 10px 0;

  border: 1px solid #222;
}

/* SUBMIT PAGE */
.submit-container {
  width: 500px;

  margin: 60px auto;

  display: flex;

  flex-direction: column;

  gap: 12px;

  background: #111827;

  padding: 24px;

  border: 1px solid #222;

  border-radius: 6px;
}

/* INPUTS */
.submit-container input,
.submit-container textarea {
  padding: 10px;

  background: #0b0f14;

  border: 1px solid #333;

  color: white;

  font-size: 14px;

  outline: none;
}

.submit-container textarea {
  min-height: 120px;

  resize: vertical;
}

/* INPUT FOCUS */
.submit-container input:focus,
.submit-container textarea:focus {
  border-color: #d4af37;
}

/* SUBMIT BUTTON */
.submit-container button {
  padding: 10px;

  background: #1f2937;

  border: 1px solid #333;

  color: white;

  cursor: pointer;

  font-weight: bold;

  transition: 0.15s;

  border-radius: 4px;
}

.submit-container button:hover {
  background: #2a3442;

  border-color: #d4af37;
}