/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Montserrat", sans-serif;
  background: #ededed;
  color: #1c1c1c;
}

/* =========================
   VARIÁVEIS
========================= */

:root {
  --black: #1c1c1c;
  --gold: #b5ac8e;
  --gray: #5a5a5a;
  --light-gray: #ededed;
  --white: #ffffff;

  --shadow:
    0 10px 25px rgba(0, 0, 0, 0.08);
}

/* =========================
   UTILIDADES
========================= */

.hidden {
  display: none !important;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
}

/* =========================
   LOGIN
========================= */

.login-screen {
  height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;
}

.login-card {
  width: 100%;
  max-width: 420px;

  background: var(--white);

  border-radius: 16px;

  padding: 32px;

  box-shadow: var(--shadow);
}

.login-card h1 {
  margin-top: 8px;
  margin-bottom: 12px;

  font-size: 32px;
}

.login-description {
  color: var(--gray);
  margin-bottom: 24px;
}

#login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#login-form label {
  font-size: 14px;
  font-weight: 600;
}

#login-form input {
  padding: 14px;

  border: 1px solid #dcdcdc;
  border-radius: 10px;

  outline: none;
}

#login-form input:focus {
  border-color: var(--gold);
}

#login-form button {
  margin-top: 8px;

  border: none;

  background: var(--black);
  color: var(--white);

  padding: 14px;

  border-radius: 10px;

  cursor: pointer;

  font-weight: 600;

  transition: 0.2s;
}

#login-form button:hover {
  background: #000;
}

/* =========================
   APP
========================= */

.app {
  display: flex;
  min-height: 100vh;
}

/* =========================
   SIDEBAR
========================= */

.sidebar {
  width: 260px;

  background: var(--black);

  color: var(--white);

  padding: 24px;

  display: flex;
  flex-direction: column;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 14px;

  margin-bottom: 40px;
}

.brand-mark {
  width: 48px;
  height: 48px;

  border-radius: 12px;

  background: var(--gold);
  color: var(--black);

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 700;
}

.sidebar-brand small {
  color: rgba(255, 255, 255, .6);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-nav a {
  text-decoration: none;

  color: rgba(255, 255, 255, .8);

  padding: 12px 14px;

  border-radius: 10px;

  transition: .2s;
}

.sidebar-nav a:hover {
  background: rgba(255, 255, 255, .08);
}

.sidebar-nav a.active {
  background: var(--gold);
  color: var(--black);
  font-weight: 600;
}

/* =========================
   MAIN
========================= */

.main {
  flex: 1;
  padding: 32px;
}

/* =========================
   HEADER
========================= */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 32px;
}

.header h2 {
  margin-top: 6px;
}

.user-pill {
  background: var(--white);

  border-radius: 999px;

  padding: 12px 18px;

  box-shadow: var(--shadow);
}

/* =========================
   DASHBOARD
========================= */

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 20px;
  align-items: stretch;
}

.metric-card {
  background: var(--white);
  padding: 24px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 120px;
}

.metric-card span {
  color: var(--gray);
  font-size: 14px;
}

.metric-card strong {
  margin-top: 12px;
  font-size: 38px;
  color: var(--black);
  line-height: 1;
}

.metric-card small {
  margin-top: 8px;
  color: var(--gray);
  line-height: 1.4;
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 900px) {
  .app {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.user-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logout-btn {
  border: none;
  cursor: pointer;

  background: #1c1c1c;
  color: white;

  padding: 12px 16px;

  border-radius: 999px;

  font-weight: 600;

  transition: .2s;
}

.logout-btn:hover {
  opacity: .9;
}

/* =========================
   VIEWS
========================= */

.view {
  width: 100%;
}

.active-view {
  display: block;
}

/* =========================
   PAGE SECTION
========================= */

.page-section {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.section-header h3 {
  margin-top: 6px;
  font-size: 24px;
}

.status-badge {
  background: var(--light-gray);
  color: var(--gray);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

/* =========================
   FORM
========================= */

.form-card {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-section {
  border-top: 1px solid var(--light-gray);
  padding-top: 24px;
}

.form-section h4 {
  margin-bottom: 18px;
  font-size: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  padding: 13px 14px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  outline: none;
  background: var(--white);
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
}

/* =========================
   FORM ACTIONS
========================= */

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 8px;
}

.form-actions button {
  border: none;
  background: var(--black);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s;
}

.form-actions button:hover {
  background: #000;
}

#send-ged-btn {
  background: #0f766e;
}

#send-ged-btn:hover {
  background: #115e59;
}

/* =========================
   TOAST
========================= */

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: var(--black);
  color: var(--white);
  padding: 14px 18px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  font-weight: 600;
  z-index: 100;
}

/* =========================
   RESPONSIVO FORM
========================= */

@media (max-width: 700px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-actions {
    justify-content: stretch;
  }

  .form-actions button {
    width: 100%;
  }
}


/* =========================
   SALE SUMMARY
========================= */

.sale-summary {
  margin-top: 28px;
  border-top: 1px solid var(--light-gray);
  padding-top: 28px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 18px;
}

.summary-item {
  background: var(--light-gray);
  border-radius: 14px;
  padding: 18px;
}

.summary-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--gray);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.summary-item strong {
  color: var(--black);
  font-size: 15px;
  word-break: break-word;
}

@media (max-width: 900px) {
  .summary-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   PRODUCT CARDS
========================= */

.product-card {
  background: #fafafa;
  border: 1px solid var(--light-gray);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
}

.product-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.product-card-header strong {
  font-size: 14px;
}

.remove-product-btn {
  border: none;
  background: transparent;
  color: var(--gray);
  cursor: pointer;
  font-weight: 600;
}

.remove-product-btn:hover {
  color: var(--black);
}

/* =========================
   PARTICIPANTS
========================= */

.participant-card {
  background: #fafafa;
  border: 1px solid var(--light-gray);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
}

.participant-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.remove-participant-btn {
  border: none;
  background: transparent;
  color: var(--gray);
  cursor: pointer;
  font-weight: 600;
}

.remove-participant-btn:hover {
  color: var(--black);
}

/* =========================
   TIMELINE
========================= */

.sale-timeline {
  margin-top: 32px;
  border-top: 1px solid var(--light-gray);
  padding-top: 28px;
}

.timeline-item {
  position: relative;
  padding-left: 24px;
  margin-bottom: 18px;
}

.timeline-item::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  left: 0;
  top: 6px;
}

.timeline-date {
  display: block;
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 4px;
}

.timeline-text {
  font-weight: 600;
}

/* =========================
   SALE STATUS
========================= */

.sale-status-card {
  margin-top: 32px;
  border-top: 1px solid var(--light-gray);
  padding-top: 28px;
}

.status-container {
  display: flex;
  align-items: center;
}

.sale-status-badge {
  color: var(--black);
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 999px;
}

/* STATUS */

.status-new {
  background: var(--gold);
}

.status-onboarding {
  background: #3FA7D6;
  color: white;
}

.status-completed {
  background: #2ECC71;
  color: white;
}

.status-cancelled {
  background: #E74C3C;
  color: white;
}

/* =========================
   CANCEL SALE
========================= */

.cancel-sale-card {
  margin-top: 32px;
  border-top: 1px solid var(--light-gray);
  padding-top: 28px;
}

.danger-btn {
  background: #e74c3c !important;
  color: #ffffff !important;
}

.danger-btn:hover {
  background: #c0392b !important;
}

/* =========================
   SALES TABLE
========================= */

.table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.sales-table {
  width: 100%;
  border-collapse: collapse;
}

.sales-table th,
.sales-table td {
  text-align: left;
  padding: 16px;
  border-bottom: 1px solid var(--light-gray);
  font-size: 14px;
}

.sales-table th {
  color: var(--gray);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sales-table small {
  color: var(--gray);
}

.sale-table-status {
  background: var(--light-gray);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* =========================
   SALE DETAIL DRAWER
========================= */

.sale-detail-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  height: 100vh;

  background: white;

  box-shadow:
    -10px 0 40px rgba(0, 0, 0, .12);

  padding: 24px;

  z-index: 999;

  overflow-y: auto;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 32px;
}

.drawer-close-btn {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 20px;
}

.drawer-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-item {
  display: flex;
  flex-direction: column;
}

.detail-item span {
  font-size: 12px;
  color: var(--gray);
}

.detail-item strong {
  margin-top: 4px;
}

/* =========================
   GED TRAIL
========================= */

.drawer-divider {
  margin: 24px 0;
  border: none;
  border-top: 1px solid var(--light-gray);
}

.ged-trail h4 {
  margin-bottom: 16px;
}

.ged-step {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 12px;
}

.ged-step-indicator {
  width: 12px;
  height: 12px;

  border-radius: 50%;
}

.ged-step.completed .ged-step-indicator {
  background: #2ecc71;
}

.ged-step.pending .ged-step-indicator {
  background: #d9d9d9;
}

.ged-step-text {
  font-size: 14px;
}

/* =========================
   SALES TABLE UX REFINEMENTS
========================= */

.sale-row {
  cursor: pointer;
  transition: 0.2s;
}

.sale-row:hover {
  background: #f8f6ef;
}

.sale-row.selected {
  background: #f1ecdc;
}

.sale-table-status {
  font-weight: 700;
}

/* STATUS COLORS - TABLE */

.sale-table-status.status-new {
  background: var(--gold);
  color: var(--black);
}

.sale-table-status.status-onboarding {
  background: #3fa7d6;
  color: #ffffff;
}

.sale-table-status.status-waiting {
  background: #f39c12;
  color: #ffffff;
}

.sale-table-status.status-completed {
  background: #2ecc71;
  color: #ffffff;
}

.sale-table-status.status-cancelled {
  background: #e74c3c;
  color: #ffffff;
}

/* =========================
   SALE HISTORY
========================= */

.sale-history h4 {
  margin-bottom: 16px;
}

.history-item {
  position: relative;

  padding-left: 18px;
  margin-bottom: 16px;
}

.history-item::before {
  content: "";

  position: absolute;
  left: 0;
  top: 6px;

  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: var(--gold);
}

.history-date {
  display: block;

  font-size: 12px;
  color: #888;

  margin-bottom: 4px;
}

.history-text {
  font-size: 14px;
  font-weight: 500;
}

/* =========================
   LOG FILTERS
========================= */

.logs-filters {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 24px;
}

.filter-actions button {
  border: none;
  background: var(--black);
  color: var(--white);
  padding: 13px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.filter-actions button:hover {
  background: #000;
}

@media (max-width: 900px) {
  .logs-filters {
    grid-template-columns: 1fr;
  }

  .filter-actions button {
    width: 100%;
  }
}

/* =========================
   SMART TIMELINE
========================= */

.smart-timeline h4 {
  margin-bottom: 16px;
}

.smart-timeline-item {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 12px;
}

.smart-timeline-dot {
  width: 10px;
  height: 10px;

  border-radius: 50%;
}

.smart-timeline-dot.done {
  background: #4CC26C;
}

.smart-timeline-dot.pending {
  background: #D9D9D9;
}

.smart-timeline-text {
  font-size: 14px;
}

.ged-owner {
  display: inline-block;

  padding: 4px 10px;

  border-radius: 999px;

  background: #f3f4f6;

  font-size: 12px;

  font-weight: 600;
}


/* =========================
   GED QUEUE
========================= */

.ged-queue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.ged-queue-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.ged-queue-card h4 {
  margin-bottom: 8px;
}

.ged-queue-count {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.ged-queue-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ged-queue-item {
  padding: 12px;
  border-radius: 10px;
  background: var(--light-gray);
  font-size: 13px;
}

.ged-queue-item strong {
  display: block;
  margin-bottom: 4px;
}

.metric-small-text {
  font-size: 18px !important;
  line-height: 1.2;
}

/* =========================
   PRIORIDADE
========================= */

.sale-priority {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.priority-normal {
  background: #e8f5e9;
  color: #2e7d32;
}

.priority-high {
  background: #fff8e1;
  color: #ef6c00;
}

.priority-urgent {
  background: #ffebee;
  color: #c62828;
}

/* =========================
   GED STEP CHECKBOX
========================= */

.ged-step-item {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 10px;
}

.ged-step-checkbox {
  width: 16px;
  height: 16px;

  cursor: pointer;
}

/* =========================
   PENDÊNCIAS
========================= */

.sale-pending {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#add-pending-btn {
  padding: 10px 14px;
  border: none;
  border-radius: 10px;
  cursor: pointer;

  background: var(--gold);
  color: var(--black);
}

.pending-card {
  background: #f5f5f5;
  border-radius: 10px;
  padding: 12px;
}

.pending-card p {
  margin-top: 6px;
}

.resolve-pending-btn {
  margin-top: 8px;

  padding: 6px 10px;

  border: none;
  border-radius: 8px;

  cursor: pointer;
}

.resolve-pending-btn:hover {
  opacity: 0.9;
}


.pending-status {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #ededed;
  font-size: 12px;
  font-weight: 600;
}

.treat-pending-btn {
  margin-top: 8px;
  margin-right: 6px;
  padding: 6px 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.pending-history {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #e8e4d8;
}

.pending-history-title {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}

.pending-history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pending-history-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pending-history-dot {
  width: 7px;
  height: 7px;
  margin-top: 6px;
  border-radius: 999px;
  background: #b8af8d;
  flex-shrink: 0;
}

.pending-history-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.3;
}

.pending-history-date {
  font-size: 11px;
  color: #8a8a8a;
}

.pending-history-action {
  font-size: 12px;
  color: #111;
}

.pending-history-user {
  font-size: 11px;
  color: #777;
}

.pending-observation-field {
  margin-top: 12px;
}

.pending-observation-field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.pending-observation-input {
  width: 100%;
  min-height: 70px;
  padding: 10px;

  border: 1px solid #ddd8c8;
  border-radius: 8px;

  background: #faf9f5;

  resize: vertical;

  font-size: 13px;
  line-height: 1.4;
}

.pending-observation-input:focus {
  outline: none;
  border-color: #b8af8d;
}

.save-pending-observation-btn {
  margin-top: 8px;
}

.pending-note {
  box-shadow:
    inset 0 1px 2px rgba(
      0,
      0,
      0,
      0.05
    );

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.pending-note:focus {
  box-shadow:
    0 0 0 3px rgba(
      184,
      175,
      141,
      0.15
    );
}

.pending-priority-field {
  margin-top: 10px;
}

.pending-priority-field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.pending-priority-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pending-priority-select {
  padding: 6px 8px;
  border: 1px solid #ddd8c8;
  border-radius: 8px;
  background: #faf9f5;
  font-size: 13px;
}

.pending-priority-badge {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.pending-priority-low {
  background: #edf7ed;
  color: #2f6b2f;
}

.pending-priority-medium {
  background: #f7f1dc;
  color: #7a641c;
}

.pending-priority-high {
  background: #fff0dc;
  color: #9a5a00;
}

.pending-priority-critical {
  background: #fde8e6;
  color: #a33a2f;
}

.pending-card {
  padding: 16px;
  border-radius: 12px;
  background: #f7f7f5;
  border: 1px solid #ece8dc;
}

.pending-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.pending-id {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  color: #6f6f6f;
  letter-spacing: 0.02em;
}

.pending-status {
  padding: 4px 8px;
  border-radius: 999px;
  background: #ffffff;
  font-size: 11px;
  font-weight: 700;
}

.pending-open-date,
.pending-close-date {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #6f6f6f;
}

.pending-card p {
  margin: 10px 0;
  line-height: 1.4;
}

.pending-card button {
  margin-top: 8px;
}

.pending-owner-select,
.pending-priority-select {
  width: 100%;
  max-width: 260px;

  padding: 8px 10px;

  border: 1px solid #ddd8c8;
  border-radius: 8px;

  background: #faf9f5;

  font-size: 13px;
}

.pending-priority-row {
  align-items: center;
}

.pending-priority-row .pending-priority-select {
  flex: 1;
}

.pending-owner-field,
.pending-priority-field {
  margin-top: 12px;
}

.pending-owner-field label,
.pending-priority-field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.pending-field-control {
  width: 100%;
}

.pending-owner-select {
  width: 100%;
}

.pending-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #e8e4d8;
}

.pending-actions button {
  min-height: 34px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.treat-pending-btn {
  background: #f3efe1;
  color: #4b4228;
}

.resolve-pending-btn {
  background: #111;
  color: #fff;
}

.resolve-pending-btn.resolved {
  background: #edf7ed;
  color: #2f6b2f;
}

.participant-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 6px 10px;
  border-radius: 999px;

  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.participant-status-waiting {
  background: #fff0dc;
  color: #9a5a00;
}

.participant-status-validated {
  background: #edf7ed;
  color: #2f6b2f;
}

.participant-status-enrolled {
  background: #eef3ff;
  color: #244f9e;
}

.participant-status-onboarding {
  background: #f7f1dc;
  color: #7a641c;
}

.participant-status-active {
  background: #edf7ed;
  color: #2f6b2f;
}

.participant-status-completed {
  background: #ece8ff;
  color: #4a3a9a;
}

.participant-status-cancelled {
  background: #fde8e6;
  color: #a33a2f;
}

.participant-status-default {
  background: #eeeeee;
  color: #333333;
}

.participant-history {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.participant-history-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
}

.participant-history-date {
  color: #8a8a8a;
  font-size: 11px;
}

.participant-history-action {
  color: #111;
  font-size: 12px;
}

.participant-history-user {
  color: #777;
  font-size: 11px;
}

.status-confirmado {
  background: #edf7ed;
  color: #2f6b2f;
}

.status-aguardando {
  background: #fff0dc;
  color: #9a5a00;
}

.status-matriculado {
  background: #eef3ff;
  color: #244f9e;
}

.status-andamento {
  background: #f7f1dc;
  color: #7a641c;
}

.status-concluido {
  background: #ece8ff;
  color: #4a3a9a;
}

.status-transferido {
  background: #eeeeee;
  color: #333333;
}

.status-cancelado {
  background: #fde8e6;
  color: #a33a2f;
}

.sale-product-history {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sale-product-history-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
}

.sale-product-history-date {
  color: #8a8a8a;
  font-size: 11px;
}

.sale-product-history-action {
  color: #111;
  font-size: 12px;
}

.sale-product-history-user {
  color: #777;
  font-size: 11px;
}

.class-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 6px 10px;
  border-radius: 999px;

  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.class-status-planned {
  background: #eeeeee;
  color: #333333;
}

.class-status-confirmed {
  background: #edf7ed;
  color: #2f6b2f;
}

.class-status-forming {
  background: #fff0dc;
  color: #9a5a00;
}

.class-status-progress {
  background: #f7f1dc;
  color: #7a641c;
}

.class-status-completed {
  background: #ece8ff;
  color: #4a3a9a;
}

.class-status-cancelled {
  background: #fde8e6;
  color: #a33a2f;
}

.class-status-default {
  background: #eeeeee;
  color: #333333;
}