/* Usuários auxiliares — /conta */

.sl-conta-auxiliares {
  max-width: 820px;
}

.sl-aux-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.sl-aux-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #1e293b;
}

.sl-aux-head p,
.sl-aux-hint,
.sl-aux-empty {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.sl-aux-form h3,
.sl-aux-vehicles h4 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 800;
  color: #1e293b;
}

.sl-aux-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0;
}

.sl-aux-grid label,
.sl-aux-form > label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}

.sl-aux-grid input,
.sl-aux-form input[type="text"],
.sl-aux-form input[type="email"],
.sl-aux-form input[type="password"] {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  background: #fff;
}

.sl-aux-perms,
.sl-aux-vehicles {
  margin: 14px 0;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}

.sl-aux-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
  margin: 4px 0;
  min-height: 28px;
}

.sl-aux-vehicle-list {
  max-height: 220px;
  overflow: auto;
  margin-top: 8px;
  padding: 8px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.sl-aux-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sl-aux-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}

.sl-aux-card__main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sl-aux-card__main strong {
  font-size: 13px;
  color: #1e293b;
}

.sl-aux-card__main > span {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.sl-aux-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.sl-aux-tags em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 6px;
  padding: 2px 8px;
}

.sl-aux-tags em.on {
  color: #1d4ed8;
  background: #dbeafe;
}

.sl-aux-card__actions,
.sl-aux-actions,
.sl-aux-confirm__actions {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  flex-shrink: 0;
}

.sl-aux-card__actions button,
.sl-aux-actions button,
.sl-aux-head button,
.sl-aux-confirm__actions button {
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  cursor: pointer;
  text-transform: none;
}

.sl-aux-card__actions button.danger,
.sl-aux-confirm__actions button.danger {
  color: #b91c1c;
  border-color: #fecaca;
}

button.primary,
.sl-aux-actions button.primary,
.sl-aux-head button.primary {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

button.ghost {
  background: #fff;
}

.sl-aux-confirm {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 88px;
}

.sl-aux-confirm__card {
  width: min(420px, calc(100vw - 24px));
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
  padding: 16px;
}

.sl-aux-confirm__card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
}

.sl-aux-confirm__card p {
  margin: 0 0 14px;
  font-size: 13px;
  color: #475569;
}

.sl-aux-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: auto;
  transform: none;
  z-index: 5100;
  max-width: min(380px, calc(100vw - 32px));
  background: #0f172a;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.sl-aux-toast.is-err {
  background: #b91c1c;
}

@media (max-width: 720px) {
  .sl-aux-grid {
    grid-template-columns: 1fr;
  }
  .sl-aux-card {
    flex-direction: column;
  }
}
