/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1a1a2e;
  line-height: 1.5;
}

.flash {
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.95rem;
}
.flash--notice { background: #e6f4ea; color: #1e4620; }
.flash--alert  { background: #fbe9e7; color: #611a15; }

.button {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  border: 0;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.button--primary { background: #4338ca; color: #fff; }
.button--primary:hover { background: #3730a3; }

.landing {
  max-width: 720px;
  margin: 0 auto;
  padding: 6rem 1.5rem;
  text-align: center;
}
.landing__hero h1 { font-size: 3rem; margin: 0 0 1rem; }
.landing__tagline { font-size: 1.25rem; color: #4a4a68; margin: 0 0 2rem; }

.auth {
  max-width: 380px;
  margin: 5rem auto;
  padding: 0 1.5rem;
}
.auth h1 { margin: 0 0 1.5rem; }
.auth__form .field { margin-bottom: 1.25rem; }
.auth__form label { display: block; margin-bottom: 0.35rem; font-weight: 600; }
.auth__form input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #cbd0dd;
  border-radius: 8px;
  font-size: 1rem;
}
.auth__form input[type="submit"] { width: auto; }
