body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin: 0;
  background: #f3f4f6;
  color: #111827;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: #111827;
  color: #f9fafb;
}

.top-bar nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: flex-start;
  margin-left: 2rem;
}

.phone-number {
  font-weight: 600;
  color: #f9fafb;
  font-size: 0.95rem;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-left: auto;
}

.top-bar nav form {
  margin-left: auto;
}

.logo {
  font-weight: 600;
  margin-right: 1rem;
}

.container {
  max-width: 1400px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.hero {
  background: white;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card {
  background: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

label {
  display: block;
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  font-weight: 500;
}

input[type='email'],
input[type='password'],
input[type='text'],
input[type='file'],
textarea {
  width: 100%;
  padding: 0.5rem;
  border-radius: 0.375rem;
  border: 1px solid #d1d5db;
  font-size: 0.9rem;
}

fieldset {
  margin-top: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  padding: 0.75rem 1rem;
}

legend {
  padding: 0 0.25rem;
  font-size: 0.9rem;
}

fieldset label {
  display: inline-block;
  margin-right: 1rem;
  margin-top: 0.25rem;
}

.btn,
.btn-sm,
button {
  border: none;
  cursor: pointer;
}

.btn,
button {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  background: #e5e7eb;
  color: #111827;
  font-weight: 500;
  text-decoration: none;
}

.btn-primary {
  background: #2563eb;
  color: #f9fafb;
}

.btn-sm {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  background: #2563eb;
  color: #f9fafb;
  font-size: 0.75rem;
  text-decoration: none;
}

.alert {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 0.9rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-top: 1rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  border-radius: 0.5rem;
  overflow: hidden;
}

.table th {
  background: #f9fafb;
  border-bottom: 2px solid #e5e7eb;
  padding: 0.75rem 0.5rem;
  font-weight: 600;
  text-align: left;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #374151;
}

.table td {
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: top;
  word-wrap: break-word;
}

.table tbody tr:nth-child(even) {
  background: #f9fafb;
}

.table tbody tr:hover {
  background: #f3f4f6;
}

.options-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.options-list li {
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  padding: 0.125rem 0;
}

.options-list li strong {
  color: #374151;
}

.option-selected {
  padding: 1rem;
  background: #dcfce7;
  border-radius: 0.5rem;
  border-left: 4px solid #16a34a;
}

.option-not-selected {
  padding: 1rem;
  background: #fee2e2;
  border-radius: 0.5rem;
  border-left: 4px solid #dc2626;
}

.option-text-selected {
  color: #166534;
  font-weight: 500;
}

.option-text-not-selected {
  color: #991b1b;
  font-weight: 500;
}

.dtc-visible {
  display: block;
}

.dtc-hidden {
  display: none;
}

.aligned-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  color: #374151;
  font-size: 0.9rem;
}

.form-group select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.9rem;
  background: white;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.9rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
