* { box-sizing: border-box; }
body { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; margin: 0; background: #f0f2f5; color: #1a1a1a; }
nav { background: #0f2c4c; color: white; padding: 14px 24px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; box-shadow: 0 2px 4px rgba(0,0,0,.1); }
nav a { color: white; text-decoration: none; font-weight: 500; }
nav a:hover { text-decoration: underline; }
main { max-width: 1100px; margin: 24px auto; padding: 0 20px; }
h1 { color: #0f2c4c; margin-top: 0; font-weight: 600; }
h2, h3 { color: #0f2c4c; }

.stats { display: flex; gap: 16px; flex-wrap: wrap; margin: 20px 0; }
.stat { background: white; padding: 18px 24px; border-radius: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.08); min-width: 140px; }
.stat strong { font-size: 1.4em; color: #0f2c4c; }

table { width: 100%; background: white; border-collapse: collapse; margin: 20px 0; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid #eee; }
th { background: #edf2f7; font-weight: 600; color: #0f2c4c; }
tr:hover { background: #f8fafc; }

.form { background: white; padding: 24px; border-radius: 10px; margin: 20px 0; display: grid; gap: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.form input, .form textarea, .form select { padding: 10px 12px; border: 1px solid #d0d7de; border-radius: 6px; width: 100%; font-size: 1rem; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: #2b6cb0; box-shadow: 0 0 0 3px rgba(43,108,176,.15); }

button, .btn { background: #2b6cb0; color: white; border: none; padding: 10px 18px; border-radius: 6px; cursor: pointer; font-size: 1rem; font-weight: 500; }
button:hover, .btn:hover { background: #2c5282; }
.btn-danger { background: #c53030; }
.btn-danger:hover { background: #9b2c2c; }

.status { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 0.85em; font-weight: 600; text-transform: capitalize; }
.status-pending { background: #fef3c7; color: #92400e; }
.status-in_progress { background: #dbeafe; color: #1e40af; }
.status-completed { background: #d1fae5; color: #065f46; }

.login-box { max-width: 420px; margin: 80px auto; background: white; padding: 36px; border-radius: 12px; box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.error { color: #c53030; background: #fee2e2; padding: 10px; border-radius: 6px; }
.photos { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0; }
.photos img { max-width: 200px; border-radius: 8px; border: 1px solid #e5e7eb; }

@media (max-width: 600px) {
  nav { flex-direction: column; align-items: flex-start; }
  .stats { flex-direction: column; }
}