/* AsyncStandUp — base stylesheet */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    background: #f4f6f8;
    color: #1a1a2e;
    line-height: 1.5;
}

a { color: #1976d2; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ── */
.container { max-width: 960px; margin: 0 auto; padding: 24px 16px; }
.card { background: #fff; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.1); padding: 24px; margin-bottom: 16px; }

/* ── Nav ── */
nav { background: #1976d2; color: #fff; padding: 10px 16px; display: flex; align-items: center; gap: 16px; }
nav a { color: #fff; font-weight: 500; }
nav .nav-right { margin-left: auto; display: flex; gap: 12px; }

/* ── Forms ── */
label { display: block; margin-bottom: 4px; font-weight: 500; }
input[type=text], input[type=email], input[type=password], input[type=time],
select, textarea {
    width: 100%; padding: 8px 10px; border: 1px solid #ccc; border-radius: 4px;
    font-size: 14px; margin-bottom: 12px;
}
textarea { resize: vertical; min-height: 80px; }
.form-group { margin-bottom: 12px; }
.form-row { display: flex; gap: 12px; }
.form-row > * { flex: 1; }

/* ── Buttons ── */
.btn { display: inline-block; padding: 8px 16px; border-radius: 4px; border: none; cursor: pointer; font-size: 14px; font-weight: 500; text-align: center; }
.btn-primary { background: #1976d2; color: #fff; }
.btn-primary:hover { background: #1565c0; }
.btn-danger { background: #d32f2f; color: #fff; }
.btn-danger:hover { background: #b71c1c; }
.btn-secondary { background: #e0e0e0; color: #333; }
.btn-secondary:hover { background: #bdbdbd; }
.btn-sm { padding: 4px 10px; font-size: 12px; }

/* ── Alerts ── */
.alert { padding: 10px 14px; border-radius: 4px; margin-bottom: 16px; }
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.alert-error   { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }

/* ── Tables ── */
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: 8px 12px; border-bottom: 1px solid #e0e0e0; text-align: left; }
th { background: #f5f5f5; font-weight: 600; }
tr:hover { background: #fafafa; }

/* ── Dashboard grid cells ── */
.cell-submitted { color: #2e7d32; font-weight: bold; }
.cell-missed    { color: #c62828; font-weight: bold; }
.cell-na        { color: #9e9e9e; }

/* ── Misc ── */
.page-title { font-size: 1.4em; font-weight: 700; margin-bottom: 16px; }
.text-muted { color: #757575; font-size: 12px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.actions { display: flex; gap: 8px; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 12px; font-size: 11px; font-weight: 600; }
.badge-owner { background: #e3f2fd; color: #1565c0; }
.badge-dev   { background: #e8f5e9; color: #2e7d32; }
.badge-recip { background: #fff3e0; color: #e65100; }
