/* ----------------------------
   AltErofTruth – Submit Page
----------------------------- */

/* Reset / base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #fff;
  overflow-x: hidden;
  overflow-y: auto;
}

/* --- Background image --- */
.bg {
  position: fixed;
  inset: 0;
  background: url("../img/img_1.png") center center / cover no-repeat;
  z-index: -3;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: -2;
}

/* --- Header bar --- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.brand {
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-size: 1.25rem;
  text-transform: uppercase;
}
.brand .alt { color: #e6e6e6; }
.brand .e { color: #49c6ff; }
.brand .roftruth { color: #fff; }

.nav-link {
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}
.nav-link:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* --- Form wrapper --- */
.wrap {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 96px 16px 40px; /* leaves room for header */
}

/* --- Glassy card --- */
.card {
  width: min(920px, 95vw);
  background: rgba(15, 15, 15, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 24px;
}

.card h1 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.card .sub {
  color: #d5f1ff;
  opacity: 0.9;
  margin-bottom: 16px;
}

/* --- Form grid --- */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.9);
  color: #111;
  font-size: 1rem;
  outline: none;
}

.field textarea {
  resize: vertical;
}

.field.checkbox label {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 500;
}

.field.checkbox input {
  width: 18px;
  height: 18px;
}

.span-2 {
  grid-column: span 2;
}

/* --- Submit button and note --- */
.actions {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.btn {
  border: none;
  cursor: pointer;
  padding: 12px 18px;
  border-radius: 10px;
  background: #49c6ff;
  color: #000;
  font-weight: 800;
  font-size: 1.05rem;
  transition: background 0.2s ease;
}
.btn:hover {
  background: #00aaff;
}

.note {
  color: #e6f7ff;
  opacity: 0.9;
}

/* --- Footer --- */
.site-footer {
  position: fixed;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  color: #ccc;
  font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 760px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .span-2 {
    grid-column: span 1;
  }
}