* { box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background: #f4f6f9;
  color: #1f2937;
  margin: 0;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px;
}

.card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  margin-bottom: 20px;
}

h1 { font-size: 1.4rem; margin-top: 0; }

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 6px;
}

input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

button {
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}

button:hover { background: #1d4ed8; }
button.secondary { background: #e5e7eb; color: #1f2937; }
button.danger { background: #dc2626; }
button:disabled { opacity: 0.6; cursor: not-allowed; }

.alert {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px; border-bottom: 1px solid #e5e7eb; font-size: 0.85rem; }
th { color: #6b7280; text-transform: uppercase; font-size: 0.7rem; }

.row { display: flex; gap: 8px; align-items: center; }
.muted { color: #6b7280; font-size: 0.85rem; }
.dropzone {
  border: 2px dashed #e5e7eb;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: #6b7280;
  cursor: pointer;
  margin-bottom: 20px;
}
.dropzone.dragging { border-color: #2563eb; background: #eef2ff; }
nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
nav a { color: #2563eb; text-decoration: none; margin-right: 12px; }
