/* /suporte e /meu-plano — mesmo padrão visual de /manutencoes e /dashboard */

.sl-suporte-root,
.sl-meu-plano-root,
.sl-page-suporte .sl-suporte-root,
.sl-page-meu-plano .sl-meu-plano-root {
  flex: 1 1 auto;
  width: 100%;
  min-height: 100vh;
  overflow: auto;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  box-sizing: border-box;
}

body.sl-page-suporte main,
body.sl-page-meu-plano main {
  flex: 1 1 auto;
  min-width: 0;
}

.sl-pc-page {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 32px;
  box-sizing: border-box;
  font-family: inherit;
  color: #0f172a;
}

@media (max-width: 900px) {
  .sl-pc-page {
    padding: 16px;
  }
}

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

.sl-pc-head h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.sl-pc-head p {
  margin: 6px 0 0;
  max-width: 640px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.45;
}

.sl-pc-section-title {
  margin: 8px 0 12px;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.sl-pc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

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

.sl-pc-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: none;
  box-sizing: border-box;
}

.sl-pc-card h3 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 800;
  color: #1e293b;
}

.sl-pc-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sl-pc-card li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.sl-pc-card li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.sl-pc-card li:first-child {
  padding-top: 0;
}

.sl-pc-card .meta {
  min-width: 0;
}

.sl-pc-card .meta strong {
  display: block;
  color: #0f172a;
}

.sl-pc-card .meta span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
}

.sl-pc-muted {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
}

.sl-pc-page a.sl-pc-link,
.sl-pc-card a:not(.sl-pc-btn) {
  color: #0f766e;
  text-decoration: none;
  font-weight: 700;
}

.sl-pc-page a.sl-pc-link:hover,
.sl-pc-card a:not(.sl-pc-btn):hover {
  text-decoration: underline;
}

.sl-pc-page button,
.sl-pc-page a.sl-pc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  height: 36px;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  font-family: inherit;
}

.sl-pc-page button.primary,
.sl-pc-page a.sl-pc-btn.primary {
  border-color: #0f172a;
  background: #0f172a;
  color: #fff;
}

.sl-pc-page button.primary:hover,
.sl-pc-page a.sl-pc-btn.primary:hover {
  background: #1e293b;
}

.sl-pc-page button:disabled,
.sl-pc-page a.sl-pc-btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.sl-pc-form label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  margin: 0 0 4px;
}

.sl-pc-form input,
.sl-pc-form select,
.sl-pc-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  background: #f8fafc;
  font-family: inherit;
}

.sl-pc-form textarea {
  min-height: 110px;
  resize: vertical;
}

.sl-pc-form input:focus,
.sl-pc-form select:focus,
.sl-pc-form textarea:focus {
  outline: 2px solid #cbd5e1;
  background: #fff;
}

.sl-pc-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

@media (max-width: 900px) {
  .sl-pc-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sl-pc-kpi {
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
}

.sl-pc-kpi .v {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.sl-pc-kpi .l {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sl-pc-table-wrap {
  overflow: auto;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  margin-bottom: 20px;
}

.sl-pc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.sl-pc-table th,
.sl-pc-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  white-space: nowrap;
  vertical-align: middle;
}

.sl-pc-table th {
  background: #f8fafc;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.sl-pc-table tr:last-child td {
  border-bottom: 0;
}

.sl-pc-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.sl-pc-badge.pago,
.sl-pc-badge.emitida { background: #dcfce7; color: #166534; }
.sl-pc-badge.pendente { background: #e0f2fe; color: #075985; }
.sl-pc-badge.vencido { background: #fee2e2; color: #991b1b; }
.sl-pc-badge.parcial { background: #fef3c7; color: #92400e; }
.sl-pc-badge.cancelado { background: #e2e8f0; color: #475569; }

.sl-pc-err {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 600;
}

.sl-pc-loading {
  color: #64748b;
  padding: 24px 0;
  font-weight: 600;
}


/* Meu Plano: contrato (esq) + notas (dir) */
.sl-pc-grid--contrato-notas {
  align-items: stretch;
  margin-bottom: 18px;
}

.sl-pc-card--fill {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sl-pc-card--notas .sl-pc-table-wrap--nested {
  margin: 0;
  border: 0;
  border-radius: 0;
  flex: 1 1 auto;
  max-height: 360px;
}

.sl-pc-card--notas .sl-pc-table th:first-child,
.sl-pc-card--notas .sl-pc-table td:first-child {
  padding-left: 0;
}
