body.form-bg {
  background: #141414 !important;
  min-height: 100vh;
}

.form-card {
  display: flex;
  flex-direction: column;
  margin: 5em auto 2em;
  width: 100%;
  padding: 2.2em 2em 2em 2em;
  max-width: 420px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(20,20,20,0.10), 0 1.5px 8px rgba(20,20,20,0.10);
  border: 1.5px solid #e0e0e0;
}

.form-card h2 {
  margin-bottom: 1em;
  text-align: center;
  color: #222;
  font-family: 'Play', 'Roboto Mono', sans-serif;
  font-size: 1.5em;
  letter-spacing: 1px;
}

.form-card label {
  font-size: 1.08em;
  color: #141414;
  font-family: 'Play', 'Roboto Mono', sans-serif;
  margin-bottom: 0.2em;
}

.form-card .form-control {
  display: block;
  width: 100%;
  font-size: 1.08em;
  padding: 0.9em 0.2em 0.4em 0.2em;
  margin-bottom: 1.2em;
  border: none;
  border-bottom: 1.2px solid #141414;
  border-radius: 0;
  background: none;
  box-sizing: border-box;
  font-family: 'Play', 'Roboto Mono', sans-serif;
  transition: border-bottom 0.2s;
  color: #222;
}

.form-card .form-control:focus, .form-card .form-control.is-valid, .form-card .form-control.is-invalid {
  border-color: #141414 !important;
  box-shadow: none !important;
}

.form-card .btn {
  width: 100%;
  font-size: 1.13em;
  padding: 1em 0;
  background: #dc9dc6;
  color: #141414;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  margin-top: 0.5em;
  cursor: pointer;
  font-family: 'Play', 'Roboto Mono', sans-serif;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(220,157,198,0.10);
  transition: background 0.2s, color 0.2s;
}

.form-card .btn:hover {
  background: #141414;
  color: #dc9dc6;
}

.form-card .flashes {
  margin-bottom: 1em;
  padding: 0;
  list-style: none;
  color: #b30000;
  text-align: center;
  font-size: 1.05em;
}

.form-card p {
  text-align: center;
  margin-top: 1.2em;
  color: #141414;
}

.form-card a {
  color: #141414;
  text-decoration: underline;
  transition: color 0.2s;
}

.form-card a:hover {
  color: #dc9dc6;
}

@media screen and (max-width: 600px) {
  .form-card {
    margin: 2.5em 0.1em 1em 0.1em;
    padding: 1.5em 0.7em;
    max-width: 98vw;
    min-width: 0;
    width: 98vw;
  }
  .form-card h2 {
    font-size: 1.18em;
  }
  .form-card .form-control {
    font-size: 1.08em;
    padding: 1em 0.7em;
  }
  .form-card .btn {
    font-size: 1.13em;
    padding: 1em 0;
  }
} 