:root {
  --bg: #071313;
  --card: rgba(255,255,255,.07);
  --line: rgba(255,255,255,.12);
  --text: #fff;
  --muted: rgba(255,255,255,.68);
  --green: #35d07f;
  --danger: #ff7878;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(
      rgba(5, 10, 8, 0.78),
      rgba(5, 10, 8, 0.88)
    ),
    url('/images/berlin-backdrop-dark-runners.webp');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text);
  min-height: 100vh;
}

.app {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 20px 70px rgba(0,0,0,.28);
}

.login {
  max-width: 420px;
  margin: 12vh auto;
}

h1, h2, h3 { margin-top: 0; }

p { color: var(--muted); }

input, button {
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  font-size: 16px;
}

input {
  margin: 8px 0 14px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.24);
  color: white;
}

button {
  border: 0;
  background: var(--green);
  color: #062016;
  font-weight: 800;
  cursor: pointer;
}

button.secondary {
  background: rgba(255,255,255,.12);
  color: white;
}

.topbar {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
}

.value {
  font-size: 28px;
  font-weight: 900;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.table th, .table td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

	.formGroup {
	  display: flex;
	  flex-direction: column;
	  gap: 6px;
	  margin-bottom: 16px;
	}

	.formGroup textarea,
	.formGroup input {
	  width: 100%;
	}

	.colorGrid {
	  display: flex;
	  flex-wrap: wrap;
	  gap: 10px;
	}

	.colorBtn {
	  width: 34px;
	  height: 34px;
	  border-radius: 999px;
	  border: 2px solid rgba(255,255,255,0.35);
	  cursor: pointer;
	}

	.colorBtn.selected {
	  outline: 3px solid white;
	  outline-offset: 3px;
	}

  .legalFooter {
    position: fixed;
    bottom: 10px;
    left: 0;
    right: 0;
    width: fit-content;
    margin: auto;
    padding: 4px 10px;
    font-size: 12px;
    background: rgba(0,0,0,0.45);
    color: white;
    border-radius: 8px;
    z-index: 9999;
  }

  .legalFooter a {
    color: white;
    text-decoration: none;
    margin: 0 5px;
  }

  .legalFooter a:hover {
    text-decoration: underline;
  }
  
.error { color: var(--danger); }

@media (max-width: 800px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .topbar { align-items: flex-start; flex-direction: column; }
}