/* ============================================================
   PRONTIO – Componentes Reutilizáveis
============================================================ */

/* Títulos */
.page-title {
  margin: 0 0 0.15rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.page-subtitle {
  margin: 0 0 1.4rem;
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

/* Botões */
button { font-family: inherit; }

.btn-primario {
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-size: 0.86rem;
  background: var(--color-primary);
  color: white;
  border: none;
  cursor: pointer;
  transition: 0.15s ease;
}
.btn-primario:hover {
  background: var(--color-primary-dark);
}

.btn-primario-outlined {
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-size: 0.86rem;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  background: white;
  cursor: pointer;
  transition: 0.15s ease;
}

.btn-terciario {
  padding: 0.45rem 1rem;
  background: white;
  color: #555;
  border: 1px solid #d4d7da;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.15s ease;
}

.btn-tabela {
  padding: 0.35rem 0.8rem;
  background: #f1f3f4;
  border: 1px solid #dfe2e5;
  font-size: 0.8rem;
  border-radius: 8px;
}

/* Avatar */
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e0ebff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* Tags */
.tag-pill {
  padding: 0.2rem 0.6rem;
  border-radius: 30px;
  font-size: 0.75rem;
}

.tag-ativo {
  background: #e5f7ef;
  color: #166534;
}
.tag-inativo {
  background: #fdeaea;
  color: #b91c1c;
}
.tag-plano {
  background: #eef2ff;
  color: #4338ca;
}

.dot { margin: 0 0.3rem; }

/* Chips */
.chip-button {
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #f3f4f6;
  padding: 0.2rem 0.75rem;
  font-size: 0.78rem;
  cursor: pointer;
}

/* History List */
.history-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.history-item {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
}

.history-item-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
  font-size: 0.8rem;
  color: var(--color-text-soft);
}

/* Timeline */
.timeline {
  position: relative;
  margin-left: 0.5rem;
  padding-left: 1.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0.2rem;
  bottom: 0.2rem;
  left: 0.5rem;
  width: 2px;
  background: rgba(15,23,42,0.12);
}

.timeline-item {
  position: relative;
  margin-bottom: 1rem;
}

.timeline-marker {
  position: absolute;
  left: -0.1rem;
  top: 0.75rem;
  width: 10px;
  height: 10px;
  background: #0f766e;
  border-radius: 50%;
}
