* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --background: hsl(20, 14%, 4%)

}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--background);
}

/* ================= HEADER ================= */
.brand-header {
  height: 64px;
  width: 100%;
  background: #0b0909;
  color: #f2f0e4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.5px;
}

.brand-subtitle {
  font-size: 14px;
  opacity: 0.7;
}

/* ================= FORM ================= */
.apply-page {
  height: calc(100vh - 64px);
  width: 100%;
}

.tally-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ================= LOADER ================= */
.loader {
  position: fixed;
  inset: 64px 0 0 0;
  background: #f2f0e4;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.loader span {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(0, 0, 0, 0.15);
  border-top-color: #0b0909;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ================= MOBILE ================= */
@media (max-width: 600px) {
  .brand-header {
    padding: 0 16px;
  }

  .brand-subtitle {
    display: none;
  }
}
