* { box-sizing: border-box; }
body {
  font-family: system-ui, sans-serif;
  background: #f4f5f7;
  color: #1f2430;
  margin: 0;
}
header {
  background: #1f2430;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
header h1 { font-size: 1.2rem; margin: 0; }
nav a { color: #cfd6e4; text-decoration: none; margin-left: 1rem; }
nav a:hover { color: #fff; }
main { max-width: 900px; margin: 2rem auto; padding: 0 1rem; }
.card {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  max-width: 420px;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}
.card label { display: block; margin-bottom: 1rem; font-size: .9rem; }
.card input, .card select {
  display: block;
  width: 100%;
  padding: .5rem;
  margin-top: .25rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
button, .button {
  background: #2d6cdf;
  color: #fff;
  border: none;
  padding: .6rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-size: .9rem;
}
button:hover, .button:hover { background: #2259bf; }
.link-danger {
  background: none;
  color: #c0392b;
  border: none;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
  font-size: .85rem;
}
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; }
th, td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid #eee; font-size: .9rem; }
.actions form { display: inline; margin-left: .5rem; }
.hint { font-size: .8rem; color: #666; }
.flashes { list-style: none; padding: 0; margin: 0 0 1rem; }
.flashes li { padding: .6rem .8rem; border-radius: 4px; margin-bottom: .5rem; font-size: .9rem; }
.flashes .error { background: #fdecea; color: #c0392b; }
.flashes .success { background: #e8f6ec; color: #1e7e34; }
.flashes .warning { background: #fff8e1; color: #8a6d00; }
