﻿.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}
.card h3 { margin: 0.25rem 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  padding: 0.72rem 1rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-primary { background: linear-gradient(90deg, var(--accent), var(--primary)); color: #fff; }
.btn-outline { border: 1px solid var(--accent); color: var(--primary); background: #fff; }
.btn-block { width: 100%; }
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #dce9ff;
  color: var(--primary-strong);
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
}
input, select, textarea {
  width: 100%;
  padding: 0.72rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}
label { font-weight: 600; font-size: 0.9rem; display: block; margin-bottom: 0.35rem; }
.form-row { margin-bottom: 0.85rem; }
.table {
  width: 100%;
  border-collapse: collapse;
}
.table th, .table td {
  padding: 0.62rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.chat {
  height: 54vh;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 0.75rem;
}
.message {
  max-width: 75%;
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  margin-bottom: 0.5rem;
}
.message.assistant { background: #0d6ee7; color: #fff; }
.message.user { background: #e8ecf3; margin-left: auto; }
