body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #f6f7fb;
  margin: 0;
  padding: 20px;
  color: #111827;
}

h1 {
  margin: 0 0 20px 0;
  font-size: 22px;
  font-weight: 700;
  color: #111827;
}

form {
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}

/* Labels & inputs */
label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
  color: #374151;
}
input, select, textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
  box-sizing: border-box;
}
textarea {
  min-height: 80px;
  resize: vertical;
}

/* Grid system */
.row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.col-12 { grid-column: span 12; }
.col-9  { grid-column: span 9; }
.col-6  { grid-column: span 6; }
.col-4  { grid-column: span 4; }
.col-3  { grid-column: span 3; }

/* Compact alignment for inline radios/checkboxes */
.inline-options {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.inline-options label {
  font-weight: 500;
  color: #374151;
  margin: 0;
}

/* Out-of-State license styling */
.outofstate-wrapper {
  display: block;
  margin-bottom: 14px;
}
.outofstate-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.outofstate-row label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: #374151;
}
.outofstate-row input[type="text"] {
  width: 150px;
  padding: 6px 8px;
  font-size: 14px;
}/* Base button styles */
.btn {
  appearance:none;
  border:0;
  cursor:pointer;
  border-radius:12px;
  padding:10px 14px;
  font-size:14px;
  font-weight:600;
  text-align:center;
  display:inline-block;
  transition:background .2s ease, color .2s ease;
  background:var(--accent);
  color:#fff;
}

/* Variants */
.btn.secondary {
  background:#e5e7eb;
  color:#111;
}

.btn.success {
  background:#10b981;
  color:#fff;
}

.btn.warn {
  background:#f59e0b;
  color:#fff;
}

.btn.danger {
  background:#ef4444;   /* solid red */
  color:#fff;
}

.btn.danger:hover {
  background:#b91c1c;   /* darker red */
}


/* Smaller buttons inside tables */
table .btn {
  padding:6px 12px;
  font-size:13px;
  border-radius:8px;
}
