* { box-sizing: border-box; }
body { font-family: system-ui, sans-serif; margin: 0; background: #f5f6f8; color: #1c1e21; }
header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; background: #1c3d5a; color: #fff; }
header h1 { margin: 0; font-size: 1.3rem; }
nav a { color: #fff; margin-left: 1rem; text-decoration: none; }
nav a.button { background: #2d7dd2; padding: .4rem .8rem; border-radius: 4px; }

table { width: 100%; border-collapse: collapse; background: #fff; margin: 1.5rem auto; max-width: 1000px; }
th, td { padding: .6rem 1rem; border-bottom: 1px solid #e2e4e8; text-align: left; }
th { background: #eef1f4; }

.stufe { display: inline-block; padding: .15rem .5rem; margin: .1rem; border-radius: 12px; background: #ffe3b3; font-size: .8rem; }
.stufe.gesendet { background: #c8e6c9; text-decoration: line-through; opacity: .7; }

.card { max-width: 500px; margin: 2rem auto; background: #fff; padding: 1.5rem 2rem; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.login-page { display: flex; align-items: center; justify-content: center; height: 100vh; }
label { display: block; margin-bottom: 1rem; font-size: .9rem; }
input[type=text], input[type=password], input[type=date], input[type=number] {
    width: 100%; padding: .5rem; margin-top: .3rem; border: 1px solid #ccc; border-radius: 4px;
}
button, .button-danger {
    padding: .5rem 1rem; border: none; border-radius: 4px; background: #2d7dd2; color: #fff; cursor: pointer; font-size: .9rem;
}
.button-danger { background: #d23b3b; text-decoration: none; display: inline-block; margin-left: .5rem; }
fieldset { border: 1px solid #ddd; border-radius: 6px; margin-bottom: 1rem; }
.stufe-zeile { display: flex; gap: .5rem; margin-bottom: .4rem; align-items: center; }
.stufe-zeile input { width: 100px; }
#add-stufe { background: #eef1f4; color: #1c1e21; margin-top: .3rem; }
.error { color: #d23b3b; }
