@charset "UTF-8";
/*!
 * ============================================================================
 *  Jooy — Tema do Cliente (WHMCS 8.8)
 *  Camada de design carregada DEPOIS de theme.min.css.
 *  Base: twenty-one (Bootstrap 4). Tokens extraídos dos prints em /design.
 * ============================================================================
 *  Sumário
 *   01. Tokens
 *   02. Base e tipografia
 *   03. Layout / container
 *   04. Cabeçalho (topbar + navbar)
 *   05. Cabeçalho de página (título + breadcrumb + ações)
 *   06. Cartões e painéis
 *   07. Cartões de estatística (dashboard)
 *   08. Tabelas e listagens
 *   09. Botões
 *   10. Formulários
 *   11. Badges, status e rótulos
 *   12. Barra lateral
 *   13. Abas
 *   14. Alertas
 *   15. Blocos com gradiente
 *   16. Paginação
 *   17. Tickets
 *   18. Rodapé
 *   19. Responsivo
 *   20. Integração com classes do twenty-one
 *   21. Autenticação (login)
 *   22. Ajustes de especificidade
 *   23. Listagens
 *   24. Fatura
 *   25. Layout com barra lateral
 *   26. Detalhes do produto/serviço
 *   27. Títulos de seção
 *   28. Barra lateral (métricas dos prints)
 *   29. Painéis de formulário
 *   30. Estados vazios
 *   31. Tickets (departamentos, respostas, informações)
 *   32. Controles de escolha (checkbox, rádio, interruptor)
 *   33. Cartões de opção com rádio
 *   34. Resumo do pedido (lateral em gradiente)
 *   35. Cartões de preço
 *   36. Faixas em gradiente e resultado de domínio
 *   37. Alerta de aviso
 * ============================================================================
 */

/* ==========================================================================
   01. Tokens
   ========================================================================== */
:root {
  /* Marca */
  --jooy-primary:        #01c8dd;
  --jooy-primary-hover:  #00b1c4;
  --jooy-primary-active: #009cad;
  --jooy-grad-from:      #02c3db;
  --jooy-grad-to:        #185eb5;

  /* Tinta */
  --jooy-ink:            #17191c;
  --jooy-ink-soft:       #3f4043;
  --jooy-muted:          #6d7482;
  --jooy-muted-strong:   #595e69;
  --jooy-label:          #4b4f58;
  --jooy-faint:          #b3b3b3;

  /* Superfícies e linhas */
  --jooy-bg:             #ffffff;
  --jooy-surface:        #f7f7f8;
  --jooy-line:           #efeff1;
  --jooy-line-strong:    #dee0e3;

  /* Suaves (ações secundárias / destaques) */
  --jooy-soft:           #e5efff;
  --jooy-soft-hover:     #d7e6ff;
  --jooy-soft-subtle:    #f0f5ff;
  --jooy-info-ink:       #0158fe;
  --jooy-info-bg:        #e0ebff;

  /* Semânticos */
  --jooy-success:        #1e7b32;
  --jooy-success-bg:     #d7f4de;
  --jooy-danger:         #ca202c;
  --jooy-danger-bg:      #fae1e2;
  --jooy-warning:        #b06a00;
  --jooy-warning-bg:     #fdf0da;
  --jooy-notice:         #b84b00;
  --jooy-notice-bg:      #ffecd6;

  /* Forma */
  --jooy-radius:         6px;
  --jooy-radius-sm:      4px;
  --jooy-radius-lg:      8px;

  /* Métrica */
  --jooy-container:      1312px;
  --jooy-gutter:         12px;
  --jooy-topbar-h:       36px;
  --jooy-navbar-h:       74px;

  --jooy-font: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

/* ==========================================================================
   02. Base e tipografia
   ========================================================================== */
body,
body.primary-bg-color {
  font-family: var(--jooy-font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--jooy-ink);
  background: var(--jooy-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--jooy-font);
  color: var(--jooy-ink);
}

a {
  color: var(--jooy-primary);
  transition: color .15s ease-in-out;
}
a:hover,
a:focus {
  color: var(--jooy-primary-active);
  text-decoration: none;
}

.text-muted {
  color: var(--jooy-muted) !important;
}

hr {
  border-top-color: var(--jooy-line);
}

/* Títulos fora de painel — dois níveis medidos nos prints:
     .jooy-section-title  25.6px  ("Perfil", "Escolha um Departamento…")
     .jooy-block-title     20px   ("Mensagens do Ticket", "Ações")           */
.jooy-block-title {
  margin: 0 0 17px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--jooy-ink);
}

/* ==========================================================================
   03. Layout / container
   ========================================================================== */
.container,
.header .container,
.footer .container {
  max-width: var(--jooy-container);
  padding-left: 16px;
  padding-right: 16px;
}

.row {
  margin-left: calc(var(--jooy-gutter) * -1);
  margin-right: calc(var(--jooy-gutter) * -1);
}
.row > [class*="col-"],
.row > .col {
  padding-left: var(--jooy-gutter);
  padding-right: var(--jooy-gutter);
}

section#main-body {
  padding: 51px 0 64px;
  background: var(--jooy-bg);
}

/* ==========================================================================
   04. Cabeçalho (topbar + navbar)
   ========================================================================== */
.header,
#header.header {
  background: var(--jooy-bg);
  border-bottom: 1px solid var(--jooy-line);
  box-shadow: none;
}

/* --- Topbar ------------------------------------------------------------- */
header.header .topbar {
  height: calc(var(--jooy-topbar-h) + 1px);
  padding: 0;
  background: var(--jooy-bg);
  border-bottom: 1px solid var(--jooy-line);
  font-size: 14px;
  color: var(--jooy-muted);
}
header.header .topbar > .container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: var(--jooy-topbar-h);
}
header.header .topbar .btn,
header.header .topbar a {
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: var(--jooy-muted);
  background: none;
  border: 0;
  box-shadow: none;
}
header.header .topbar a:hover,
header.header .topbar .btn:hover {
  color: var(--jooy-primary);
}
header.header .topbar .jooy-topbar-nav {
  display: flex;
  align-items: center;
  gap: 17px;
  margin: 0;
  padding: 0;
  list-style: none;
}
header.header .topbar .jooy-topbar-nav > li {
  display: flex;
  align-items: center;
}
header.header .topbar .jooy-topbar-nav i {
  font-size: 17px;
  color: var(--jooy-muted);
}
header.header .topbar .jooy-topbar-nav > li > a,
header.header .topbar .jooy-topbar-nav > li > .btn {
  display: flex;
  align-items: center;
  gap: 8px;
}
header.header .topbar .jooy-topbar-nav i {
  line-height: 1;
}
/* Sino com indicador */
header.header .topbar .jooy-bell .btn {
  position: relative;
}
header.header .topbar .jooy-bell .badge {
  position: absolute;
  top: -1px;
  right: -5px;
  min-width: 8px;
  height: 8px;
  padding: 0;
  font-size: 0;
  background: var(--jooy-danger);
  border-radius: 50%;
}
/* Usuário */
header.header .topbar .jooy-user > a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--jooy-muted);
}
header.header .topbar .jooy-user > a .caret,
.header .topbar .jooy-user > a .fa-caret-down {
  font-size: 12px;
}

/* --- Navbar principal --------------------------------------------------- */
.header .navbar {
  min-height: var(--jooy-navbar-h);
  padding: 0;
  background: var(--jooy-bg);
  border: 0;
}
.header .navbar > .container {
  display: flex;
  align-items: center;
  min-height: var(--jooy-navbar-h);
}
.header .navbar-brand {
  margin: 0;
  padding: 0;
}
header.header .navbar-brand .logo-img {
  height: 42px;
  width: auto;
}

/* A navbar de links fica na MESMA faixa da marca (o design não tem 2ª barra) */
.header .main-navbar-wrapper {
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

#nav.navbar-nav,
.header .navbar-nav {
  align-items: center;
}
.header .navbar .navbar-nav > li > a,
.header .navbar .navbar-nav > li > .jooy-nav-link {
  padding: 0 16px;
  font-size: 17px;
  font-weight: 400;
  line-height: var(--jooy-navbar-h);
  color: var(--jooy-ink);
  background: none;
  border: 0;
}
.header .navbar .navbar-nav > li > a:hover,
.header .navbar .navbar-nav > li.active > a,
.header .navbar .navbar-nav > li.open > a {
  color: var(--jooy-primary);
  background: none;
}
.header .navbar .navbar-nav > li:last-child > a {
  padding-right: 0;
}

/* Botão de destaque na navbar ("Abrir Ticket") */
.header .jooy-nav-cta {
  margin-left: 33px;
}
.header .jooy-nav-cta .btn {
  padding: 0 17px;
  height: 43px;
  font-size: 14px;
  font-weight: 500;
  line-height: 43px;
  color: #fff;
  background: var(--jooy-primary);
  border: 0;
  border-radius: var(--jooy-radius-sm);
}
.header .jooy-nav-cta .btn:hover {
  background: var(--jooy-primary-hover);
  color: #fff;
}

/* Dropdowns da navbar */
.header .navbar-nav .dropdown-menu {
  margin-top: 0;
  padding: 8px 0;
  border: 1px solid var(--jooy-line);
  border-radius: var(--jooy-radius);
  box-shadow: 0 6px 24px rgba(23, 25, 28, .08);
}
.dropdown-menu .dropdown-item,
.dropdown-menu li.dropdown-item > a {
  padding: 7px 18px !important;
  font-size: 14px;
  color: var(--jooy-ink);
}
.dropdown-menu .dropdown-item:hover,
.dropdown-menu li.dropdown-item > a:hover {
  color: var(--jooy-primary);
  background: var(--jooy-soft-subtle);
}
.dropdown-divider {
  border-top-color: var(--jooy-line);
}

/* A barra de breadcrumb padrão do twenty-one é substituída pelo
   cabeçalho de página (seção 05) */
.master-breadcrumb {
  display: none;
}

/* ==========================================================================
   05. Cabeçalho de página (título + breadcrumb + ações)
   ========================================================================== */
.jooy-page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 50px;
}
.jooy-page-header .jooy-page-heading {
  min-width: 0;
}
.jooy-page-header h1,
.jooy-page-header .jooy-page-title {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--jooy-ink);
}
.jooy-page-header .jooy-page-subtitle {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--jooy-muted-strong);
}

/* Breadcrumb sob o título */
.jooy-page-header .breadcrumb,
.breadcrumb {
  margin: 10px 0 0;
  padding: 0;
  font-size: 13px;
  background: none;
  border-radius: 0;
}
.breadcrumb .breadcrumb-item {
  color: var(--jooy-muted-strong);
}
.breadcrumb .breadcrumb-item + .breadcrumb-item {
  padding-left: 0;
}
.breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  padding: 0 6px;
  color: var(--jooy-line-strong);
  content: "/";
}
.breadcrumb .breadcrumb-item a {
  color: var(--jooy-muted-strong);
}
.breadcrumb .breadcrumb-item a:hover {
  color: var(--jooy-primary);
}
.breadcrumb .breadcrumb-item.active,
.breadcrumb .breadcrumb-item:last-child {
  color: var(--jooy-primary);
}

/* Ações à direita do título (busca + botão) */
.jooy-page-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 1px;
}
.jooy-page-actions .jooy-search {
  position: relative;
}
.jooy-page-actions .jooy-search input {
  width: 214px;
  height: 44px;
  padding: 0 14px 0 51px;
  font-size: 15px;
  color: var(--jooy-ink);
  background: #fff;
  border: 1px solid var(--jooy-line-strong);
  border-radius: var(--jooy-radius);
}
.jooy-page-actions .jooy-search input::placeholder {
  color: var(--jooy-muted);
}
.jooy-page-actions .jooy-search input:focus {
  outline: 0;
  border-color: var(--jooy-primary);
  box-shadow: 0 0 0 3px rgba(1, 200, 221, .14);
}
.jooy-page-actions .jooy-search .jooy-search-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  font-size: 17px;
  color: var(--jooy-faint);
  transform: translateY(-50%);
  pointer-events: none;
}

/* ==========================================================================
   06. Cartões e painéis
   ========================================================================== */
.card {
  background: #fff;
  border: 1px solid var(--jooy-line);
  border-radius: var(--jooy-radius);
  box-shadow: none;
}
.card > .card-header {
  min-height: 69px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  background: var(--jooy-surface);
  border-bottom: 1px solid var(--jooy-line);
  border-radius: calc(var(--jooy-radius) - 1px) calc(var(--jooy-radius) - 1px) 0 0;
}
.card > .card-header .card-title,
.card > .card-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--jooy-ink-soft);
}
/* Ícone decorativo à direita do cabeçalho do painel */
.card > .card-header .jooy-card-icon,
.card > .card-header .card-icon {
  margin-left: auto;
  font-size: 15px;
  color: var(--jooy-faint);
}
.card > .card-body {
  padding: 24px;
}
.card > .card-footer {
  padding: 16px 24px;
  background: #fff;
  border-top: 1px solid var(--jooy-line);
}
.card-title {
  color: var(--jooy-ink-soft);
}

/* Painel com "corpo" formado por linhas (dashboard) */
.jooy-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.jooy-list > li {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 76px;
  padding: 0 24px;
  border-bottom: 1px solid var(--jooy-line);
}
.jooy-list > li:last-child {
  border-bottom: 0;
}
.jooy-list .jooy-list-main {
  min-width: 0;
  margin-right: auto;
}
.jooy-list .jooy-list-title {
  font-size: 15px;
  font-weight: 400;
  color: var(--jooy-ink);
}
.jooy-list .jooy-list-title strong,
.jooy-list .jooy-list-title b {
  font-weight: 700;
}
.jooy-list .jooy-list-sub {
  margin-top: 3px;
  font-size: 14px;
  color: var(--jooy-muted-strong);
}
/* O painel de linhas tem um respiro no rodapé, como nos prints */
.jooy-list-panel .card-body {
  padding: 0 0 15px;
}

/* Estado vazio */
.jooy-empty {
  padding: 64px 24px;
  text-align: center;
}
.jooy-empty .jooy-empty-icon {
  margin-bottom: 24px;
  font-size: 56px;
  color: var(--jooy-line-strong);
}
.jooy-empty .jooy-empty-text {
  margin-bottom: 24px;
  font-size: 20px;
  font-weight: 400;
  color: var(--jooy-ink);
}

/* ==========================================================================
   07. Cartões de estatística (dashboard)
   ========================================================================== */
.jooy-stats {
  margin-bottom: 36px;
}
.jooy-stat {
  position: relative;
  display: block;
  height: 178px;
  padding: 24px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--jooy-line);
  border-radius: var(--jooy-radius);
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
a.jooy-stat:hover {
  border-color: var(--jooy-line-strong);
  box-shadow: 0 4px 16px rgba(23, 25, 28, .05);
}
.jooy-stat .jooy-stat-icon {
  position: absolute;
  top: 15px;
  right: 17px;
  font-size: 14px;
  line-height: 1;
  color: var(--jooy-faint);
}
.jooy-stat .jooy-stat-value {
  margin: 20px 0 0;
  font-size: 60px;
  font-weight: 300;
  line-height: 1;
  color: var(--jooy-primary);
}
.jooy-stat .jooy-stat-label {
  margin: 22px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--jooy-muted-strong);
}
/* Variação de alerta: número em vermelho e ícone vermelho */
.jooy-stat.is-alert .jooy-stat-value {
  color: var(--jooy-danger);
}
.jooy-stat.is-alert .jooy-stat-icon {
  color: var(--jooy-danger);
}

/* ==========================================================================
   08. Tabelas e listagens
   ========================================================================== */
.jooy-table-card > .card-header,
.card > .card-header.jooy-table-toolbar {
  min-height: 68px;
  gap: 12px;
  font-size: 14px;
  color: var(--jooy-muted-strong);
}

.table {
  margin: 0;
  color: var(--jooy-ink);
}
.table thead th {
  padding: 16px 12px;
  font-size: 14px;
  font-weight: 400;
  color: var(--jooy-muted-strong);
  vertical-align: middle;
  background: #fff;
  border-top: 0;
  border-bottom: 1px solid var(--jooy-line);
  white-space: nowrap;
}
.table tbody td {
  padding: 20px 12px;
  font-size: 15px;
  vertical-align: middle;
  border-top: 0;
  border-bottom: 1px solid var(--jooy-line);
}
.table tbody tr:last-child td {
  border-bottom: 0;
}
.table thead th:first-child,
.table tbody td:first-child {
  padding-left: 24px;
}
.table thead th:last-child,
.table tbody td:last-child {
  padding-right: 24px;
}
.table-hover tbody tr:hover {
  background: var(--jooy-surface);
}

/* Cabeçalho ordenável (DataTables) */
.table thead th.sorting,
.table thead th.sorting_asc,
.table thead th.sorting_desc {
  cursor: pointer;
}
.table thead th .jooy-sort {
  margin-left: 6px;
  font-size: 11px;
  color: var(--jooy-line-strong);
}

/* Rodapé de tabela: "Mostrar N entradas" + paginação */
.jooy-table-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  font-size: 14px;
  color: var(--jooy-muted-strong);
  border-top: 1px solid var(--jooy-line);
}

/* Menu de ações "..." */
.jooy-row-actions .btn {
  padding: 4px 10px;
  color: var(--jooy-muted);
  background: none;
  border: 0;
}
.jooy-row-actions .btn:hover {
  color: var(--jooy-ink);
}

/* Tabela de pares rótulo/valor (detalhes de produto, DNS etc.) */
.jooy-kv {
  width: 100%;
  margin: 0;
}
.jooy-kv tr > * {
  padding: 20px 24px;
  font-size: 15px;
  border-bottom: 1px solid var(--jooy-line);
}
.jooy-kv tr:last-child > * {
  border-bottom: 0;
}
.jooy-kv th {
  width: 34%;
  font-weight: 400;
  color: var(--jooy-muted-strong);
  text-align: left;
}

/* ==========================================================================
   09. Botões
   ========================================================================== */
.btn {
  padding: 0 18px;
  height: 40px;
  font-family: var(--jooy-font);
  font-size: 14px;
  font-weight: 500;
  line-height: 38px;
  border-radius: var(--jooy-radius);
  box-shadow: none;
  transition: background-color .15s ease-in-out, border-color .15s ease-in-out, color .15s ease-in-out;
}
.btn:focus,
.btn.focus {
  box-shadow: 0 0 0 3px rgba(1, 200, 221, .18);
}

/* Primário — cheio, ciano */
.btn-primary,
.btn-info {
  color: #fff;
  background: var(--jooy-primary);
  border: 1px solid var(--jooy-primary);
}
.btn-primary:hover,
.btn-info:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled):active {
  color: #fff;
  background: var(--jooy-primary-hover);
  border-color: var(--jooy-primary-hover);
}

/* Padrão — contorno claro sobre branco ("Gerenciar", "Cancelar", "Visitar") */
.btn-default,
.btn-secondary,
.btn-outline-secondary {
  font-weight: 700;
  color: var(--jooy-ink);
  background: #fff;
  border: 1px solid var(--jooy-line-strong);
}
.btn-default:hover,
.btn-secondary:hover,
.btn-outline-secondary:hover {
  color: var(--jooy-ink);
  background: var(--jooy-surface);
  border-color: var(--jooy-line-strong);
}

/* Suave — fundo azul claro com texto ciano ("Adicionar Novo", "Abrir Ticket"
   nos cartões de departamento, "Adicionar" nos TLDs) */
.jooy-btn-soft,
.btn-soft {
  font-weight: 700;
  color: var(--jooy-primary);
  background: var(--jooy-soft);
  border: 1px solid transparent;
}
.jooy-btn-soft:hover,
.btn-soft:hover {
  color: var(--jooy-primary-active);
  background: var(--jooy-soft-hover);
}

.btn-success {
  color: #fff;
  background: #1e7b32;
  border-color: #1e7b32;
}
.btn-danger {
  color: #fff;
  background: var(--jooy-danger);
  border-color: var(--jooy-danger);
}

.btn-sm {
  height: 32px;
  padding: 0 12px;
  font-size: 13px;
  line-height: 30px;
}
.btn-lg {
  height: 48px;
  padding: 0 28px;
  font-size: 15px;
  line-height: 46px;
}
.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}
/* Link em forma de botão */
.btn-link {
  color: var(--jooy-primary);
  border-color: transparent;
}

/* ==========================================================================
   10. Formulários
   ========================================================================== */
.form-control,
.custom-select,
select.form-control {
  height: 48px;
  padding: 0 14px;
  font-family: var(--jooy-font);
  font-size: 15px;
  color: var(--jooy-ink);
  background-color: #fff;
  border: 1px solid var(--jooy-line-strong);
  border-radius: var(--jooy-radius);
  box-shadow: none;
}
textarea.form-control {
  height: auto;
  padding: 12px 14px;
  line-height: 1.6;
}
.form-control::placeholder {
  color: var(--jooy-muted);
}
.form-control:focus,
.custom-select:focus {
  color: var(--jooy-ink);
  background-color: #fff;
  border-color: var(--jooy-primary);
  box-shadow: 0 0 0 3px rgba(1, 200, 221, .14);
}
.form-control:disabled,
.form-control[readonly] {
  background-color: var(--jooy-surface);
}

label,
.form-control-label,
.control-label {
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 400;
  color: var(--jooy-muted-strong);
}
.form-group {
  margin-bottom: 20px;
}

/* Seletor compacto ("Ver: Todos os Ítens", "Mostrar: 10") */
.jooy-select-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--jooy-muted-strong);
}
.jooy-select-inline select,
.jooy-select-inline .form-control {
  width: auto;
  min-width: 112px;
  height: 34px;
  padding: 0 28px 0 10px;
  font-size: 14px;
  color: var(--jooy-ink);
  background-image: none;
  border: 1px solid var(--jooy-line-strong);
  border-radius: var(--jooy-radius-sm);
  -webkit-appearance: none;
  appearance: none;
}

/* Checkbox / radio */
.form-check-input,
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--jooy-primary);
}

/* Radios grandes do carrinho ("Registrar um novo domínio") */
.jooy-radio-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.jooy-radio-list > li + li {
  margin-top: 18px;
}
.jooy-radio-list label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-size: 15px;
  color: var(--jooy-ink);
  cursor: pointer;
}
.jooy-radio-list input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
}

/* ==========================================================================
   11. Badges, status e rótulos
   ========================================================================== */
.badge,
.label {
  padding: 5px;
  font-family: var(--jooy-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.25;
  border-radius: var(--jooy-radius-sm);
}

.jooy-badge-success, .badge-success, .label-success {
  color: var(--jooy-success) !important;
  background: var(--jooy-success-bg) !important;
}
.jooy-badge-danger, .badge-danger, .label-danger {
  color: var(--jooy-danger) !important;
  background: var(--jooy-danger-bg) !important;
}
.jooy-badge-info, .badge-info, .label-info {
  color: var(--jooy-info-ink) !important;
  background: var(--jooy-info-bg) !important;
}
.jooy-badge-warning, .badge-warning, .label-warning {
  color: var(--jooy-warning) !important;
  background: var(--jooy-warning-bg) !important;
}
.jooy-badge-muted, .badge-secondary, .label-default {
  color: var(--jooy-muted) !important;
  background: var(--jooy-line) !important;
}

/* Status em texto com marcador circular (tabelas) */
.jooy-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  white-space: nowrap;
}
.jooy-status::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}
.jooy-status.is-success { color: var(--jooy-success); }
.jooy-status.is-danger  { color: var(--jooy-danger); }
.jooy-status.is-muted   { color: var(--jooy-muted); }
.jooy-status.is-warning { color: var(--jooy-warning); }
.jooy-status.is-info    { color: var(--jooy-info-ink); }

/* ==========================================================================
   12. Barra lateral
   ========================================================================== */
.sidebar .card-sidebar,
.sidebar .card {
  margin-bottom: 40px;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.sidebar .card-sidebar > .card-header,
.sidebar .card > .card-header {
  min-height: 0;
  margin-bottom: 12px;
  padding: 0;
  background: transparent;
  border: 0;
}
.sidebar .card-sidebar > .card-header .card-title,
.sidebar .card > .card-header h3 {
  font-size: 20px;
  font-weight: 400;
  color: var(--jooy-ink-soft);
}
.sidebar .card-minimise {
  display: none;
}
.sidebar .list-group,
.sidebar .list-group-flush {
  border: 0;
}
.sidebar .list-group-item {
  padding: 10px 16px;
  font-size: 15px;
  color: var(--jooy-primary);
  background: transparent;
  border: 0;
  border-radius: var(--jooy-radius-sm);
}
.sidebar .list-group-item:hover {
  color: var(--jooy-primary-active);
  background: var(--jooy-soft-subtle);
}
.sidebar .list-group-item.active {
  color: var(--jooy-primary);
  background: var(--jooy-soft-subtle);
  border: 0;
}
.sidebar .list-group-item.disabled {
  color: var(--jooy-muted);
  background: transparent;
}
.sidebar .sidebar-menu-item-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sidebar .sidebar-menu-item-icon-wrapper {
  flex: 0 0 18px;
  text-align: center;
}
.sidebar .sidebar-menu-item-icon {
  font-size: 15px;
  color: var(--jooy-primary);
}
.sidebar .sidebar-menu-item-badge {
  margin-left: auto;
}

/* ==========================================================================
   13. Abas
   ========================================================================== */
.nav-tabs,
.jooy-tabs {
  padding: 0 24px;
  background: var(--jooy-surface);
  border-bottom: 1px solid var(--jooy-line);
}
.nav-tabs .nav-item,
.jooy-tabs .nav-item {
  margin: 0;
}
.nav-tabs .nav-link,
.jooy-tabs .nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 60px;
  margin: 0 22px 0 0;
  padding: 0;
  font-size: 15px;
  color: var(--jooy-ink);
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
}
.nav-tabs .nav-link:hover {
  color: var(--jooy-primary);
  border-color: transparent;
}
.nav-tabs .nav-link.active,
.jooy-tabs .nav-link.active {
  color: var(--jooy-primary);
  background: transparent;
  border-bottom-color: var(--jooy-primary);
}
.nav-tabs .nav-link .badge {
  padding: 2px 7px;
  font-size: 12px;
  color: var(--jooy-muted);
  background: var(--jooy-line);
}
/* Painel com abas: o cabeçalho do card É a faixa de abas */
.jooy-tabs-card > .card-header {
  padding: 0;
  align-items: stretch;
}

/* ==========================================================================
   14. Alertas
   ========================================================================== */
.alert {
  /* 66px de altura e 22px de respiro medidos no print 026: 20px de topo,
     24px nas laterais, uma linha de 24px e a borda de 1px. */
  padding: 20px 24px;
  margin-bottom: 22px;
  font-size: 15px;
  line-height: 24px;
  border: 1px solid transparent;
  border-radius: var(--jooy-radius);
}
.alert-info,
.alert-primary {
  color: var(--jooy-info-ink);
  background: var(--jooy-info-bg);
  border-color: rgba(1, 88, 254, .2);
}
.alert-success {
  color: var(--jooy-success);
  background: var(--jooy-success-bg);
  border-color: rgba(30, 123, 50, .2);
}
.alert-danger {
  color: var(--jooy-danger);
  background: var(--jooy-danger-bg);
  border-color: rgba(202, 32, 44, .2);
}
.alert-warning {
  color: var(--jooy-warning);
  background: var(--jooy-warning-bg);
  border-color: rgba(176, 106, 0, .2);
}
.alert a {
  color: inherit;
  text-decoration: underline;
}

/* Painel informativo com cabeçalho (ex.: "Programa de afiliados") */
.jooy-panel-info {
  border-color: transparent;
  background: var(--jooy-info-bg);
}
.client-home-cards .card.jooy-panel-info > .card-header,
.card.jooy-panel-info > .card-header {
  background: var(--jooy-info-bg);
  border-bottom-color: rgba(1, 88, 254, .12);
}
.card.jooy-panel-info > .card-header .card-title {
  color: var(--jooy-info-ink);
}
.card.jooy-panel-info > .card-header .jooy-card-icon {
  color: rgba(1, 88, 254, .45);
}
.client-home-cards .card.jooy-panel-info > .card-body,
.card.jooy-panel-info > .card-body {
  color: var(--jooy-info-ink);
}
.jooy-panel-info a {
  color: var(--jooy-info-ink);
  text-decoration: underline;
}

/* ==========================================================================
   15. Blocos com gradiente
   ========================================================================== */
.jooy-gradient {
  background: linear-gradient(180deg, var(--jooy-grad-from) 0%, var(--jooy-grad-to) 100%);
  color: #fff;
}
.jooy-gradient a {
  color: #fff;
}

/* Cartão de registro de domínio (dashboard) */
.jooy-domain-card {
  margin-bottom: 24px;
  padding: 40px;
  text-align: center;
  border: 0;
  border-radius: var(--jooy-radius);
}
.jooy-domain-card .jooy-domain-title {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 400;
  color: #fff;
}
.jooy-domain-card .form-control {
  height: 52px;
  margin-bottom: 20px;
  text-align: center;
  border-color: transparent;
}
.jooy-domain-card .jooy-domain-actions {
  display: flex;
  gap: 20px;
}
.jooy-domain-card .jooy-domain-actions > * {
  flex: 1 1 0;
}
.jooy-domain-card .btn-transfer {
  color: var(--jooy-primary);
  background: var(--jooy-soft);
  border-color: transparent;
}
.jooy-domain-card .btn-transfer:hover {
  background: #fff;
}
.jooy-domain-card .btn-register {
  color: #fff;
  background: var(--jooy-primary);
  border-color: transparent;
}
.jooy-domain-card .btn-register:hover {
  background: var(--jooy-primary-hover);
}
.jooy-domain-card .btn-transfer,
.jooy-domain-card .btn-register {
  height: 52px;
  font-weight: 400;
  line-height: 50px;
}

/* Faixa de busca de domínio (carrinho / home) */
#domain-search,
.jooy-domain-band {
  padding: 40px 0;
  background: linear-gradient(90deg, var(--jooy-grad-from) 0%, var(--jooy-grad-to) 100%);
}
.jooy-domain-band .jooy-domain-band-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.jooy-domain-band .form-control,
.jooy-domain-band .custom-select {
  height: 52px;
  border-color: transparent;
}
.jooy-domain-band .jooy-domain-input {
  flex: 1 1 auto;
  max-width: 620px;
}
.jooy-domain-band .jooy-domain-tld {
  flex: 0 0 140px;
}
.jooy-domain-band .btn {
  height: 52px;
  padding: 0 26px;
  font-weight: 400;
  line-height: 50px;
  color: #fff;
  background: var(--jooy-primary);
  border-color: transparent;
}

/* Cartão de resumo de pagamento da fatura */
.jooy-pay-card {
  /* medidas do print: 24px de topo, 24px nas laterais e na base */
  padding: 24px;
  border: 0;
  border-radius: var(--jooy-radius);
}
.jooy-pay-card .jooy-pay-label {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .8);
}
.jooy-pay-card .jooy-pay-total {
  margin: 0 0 23px;
  padding-bottom: 24px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .25);
}
.jooy-pay-card label {
  margin-bottom: 3px;
  font-size: 14px;
  color: rgba(255, 255, 255, .9);
}
.jooy-pay-card .jooy-pay-details {
  margin: 11px 0 0;
  font-size: 13px;
  line-height: 1.54;
  color: rgba(255, 255, 255, .85);
}

/* Cartão-capa do produto (detalhes do serviço) */
.jooy-product-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding: 40px;
  overflow: hidden;
  text-align: center;
  border: 0;
  border-radius: var(--jooy-radius);
}
.jooy-product-hero .jooy-product-icon {
  margin-bottom: 28px;
  font-size: 44px;
  color: rgba(255, 255, 255, .95);
}
.jooy-product-hero .jooy-product-name {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
}
.jooy-product-hero .jooy-product-domain {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, .9);
  background: rgba(0, 0, 0, .12);
}
.jooy-product-hero-wrap {
  position: relative;
}

/* ==========================================================================
   16. Paginação
   ========================================================================== */
.pagination {
  margin: 0;
  gap: 6px;
}
.pagination .page-item .page-link,
.pagination .paginate_button {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  font-size: 14px;
  line-height: 32px;
  color: var(--jooy-ink);
  text-align: center;
  background: #fff;
  border: 1px solid var(--jooy-line-strong);
  border-radius: var(--jooy-radius-sm);
}
.pagination .page-item .page-link:hover {
  color: var(--jooy-primary);
  background: var(--jooy-surface);
}
.pagination .page-item.active .page-link {
  color: var(--jooy-primary);
  background: var(--jooy-soft);
  border-color: var(--jooy-soft);
}
.pagination .page-item.disabled .page-link {
  color: var(--jooy-muted);
  background: var(--jooy-line);
  border-color: var(--jooy-line);
}

/* ==========================================================================
   17. Tickets
   ========================================================================== */
.jooy-ticket-reply {
  margin-bottom: 20px;
  border: 1px solid var(--jooy-line);
  border-left: 4px solid var(--jooy-line-strong);
  border-radius: var(--jooy-radius);
}
.jooy-ticket-reply.is-staff {
  border-left-color: var(--jooy-primary);
}
.jooy-ticket-reply > .jooy-ticket-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--jooy-surface);
  border-bottom: 1px solid var(--jooy-line);
}
.jooy-ticket-reply .jooy-ticket-author {
  font-size: 15px;
  font-weight: 500;
  color: var(--jooy-ink);
}
.jooy-ticket-reply .jooy-ticket-date {
  margin-top: 2px;
  font-size: 14px;
  color: var(--jooy-muted-strong);
}
.jooy-ticket-reply .jooy-ticket-role {
  margin-left: auto;
}
.jooy-ticket-reply > .jooy-ticket-body {
  padding: 24px;
  font-size: 15px;
  color: var(--jooy-ink);
}
.jooy-ticket-reply .jooy-ticket-ip {
  margin-top: 20px;
  font-size: 13px;
  color: var(--jooy-muted);
}

/* Cartão de departamento ("Abrir Ticket") */
.jooy-dept-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
}
.jooy-dept-card .jooy-dept-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 400;
  color: var(--jooy-ink-soft);
}
.jooy-dept-card .jooy-dept-title i {
  font-size: 18px;
  color: var(--jooy-primary);
}
.jooy-dept-card .jooy-dept-desc {
  flex: 1 1 auto;
  margin-bottom: 24px;
  font-size: 15px;
  color: var(--jooy-muted-strong);
}

/* ==========================================================================
   18. Rodapé
   ========================================================================== */
.footer,
#footer.footer {
  padding: 24px 0;
  background: #fff;
  border-top: 1px solid var(--jooy-line);
}
.footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footer .copyright {
  margin: 0;
  font-size: 14px;
  color: var(--jooy-muted-strong);
}
.footer .nav .nav-link {
  padding: 0 14px 0 0;
  font-size: 14px;
  color: var(--jooy-muted-strong);
}
.footer .nav .nav-link:hover {
  color: var(--jooy-primary);
}
.footer .jooy-to-top {
  font-size: 16px;
  color: var(--jooy-muted);
}
.footer .jooy-to-top:hover {
  color: var(--jooy-primary);
}

/* ==========================================================================
   19. Responsivo
   ========================================================================== */
@media (max-width: 1199.98px) {
  .header .navbar > .container {
    flex-wrap: wrap;
  }
  .header .navbar-nav > li > a {
    padding: 12px 0;
    line-height: 1.5;
  }
  .header .main-navbar-wrapper {
    border-top: 1px solid var(--jooy-line);
  }
  .header .jooy-nav-cta {
    margin: 12px 0;
  }
}

@media (max-width: 991.98px) {
  #main-body {
    padding: 32px 0 48px;
  }
  .jooy-page-header {
    margin-bottom: 32px;
  }
  .jooy-page-header h1,
  .jooy-page-header .jooy-page-title {
    font-size: 30px;
  }
  .jooy-page-actions {
    width: 100%;
  }
  .jooy-page-actions .jooy-search,
  .jooy-page-actions .jooy-search input {
    width: 100%;
  }
  .sidebar .card-sidebar,
  .sidebar .card {
    margin-bottom: 28px;
  }
}

@media (max-width: 767.98px) {
  .jooy-stats > [class*="col-"] {
    margin-bottom: 24px;
  }
  .jooy-stat {
    height: auto;
    padding: 28px 20px;
  }
  .jooy-stat .jooy-stat-value {
    margin-top: 0;
    font-size: 48px;
  }
  .jooy-list > li {
    flex-wrap: wrap;
    padding: 18px 16px;
  }
  .card > .card-header,
  .card > .card-body {
    padding-left: 16px;
    padding-right: 16px;
  }
  .table thead th:first-child,
  .table tbody td:first-child { padding-left: 16px; }
  .table thead th:last-child,
  .table tbody td:last-child { padding-right: 16px; }
  .jooy-table-footer { padding: 16px; }
  .footer .container { justify-content: center; text-align: center; }
}

/* ==========================================================================
   20. Integração com as classes do twenty-one
   As páginas do WHMCS já emitem esta marcação; aqui ela recebe a
   aparência do design em vez de trocarmos os templates.
   ========================================================================== */

/* --- 20.1 Blocos de estatística do dashboard (.tiles .tile) -------------- */
.tiles {
  margin-bottom: 8px;
}
.tiles .row.no-gutters {
  margin-left: calc(var(--jooy-gutter) * -1);
  margin-right: calc(var(--jooy-gutter) * -1);
}
.tiles .row.no-gutters > [class*="col-"] {
  padding-left: var(--jooy-gutter);
  padding-right: var(--jooy-gutter);
  margin-bottom: 24px;
}
.tiles .tile {
  position: relative;
  display: block;
  height: 182px;
  padding: 24px;
  overflow: hidden;
  text-align: center;
  background: #fff;
  border: 1px solid var(--jooy-line);
  border-radius: var(--jooy-radius);
  box-shadow: none;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.tiles .tile:hover {
  border-color: var(--jooy-line-strong);
  box-shadow: 0 4px 16px rgba(23, 25, 28, .05);
  text-decoration: none;
}
/* Ícone: pequeno, cinza-claro, canto superior direito */
.tiles .tile > i,
.tiles .tile .fas,
.tiles .tile .far {
  position: absolute;
  top: 15px;
  right: 17px;
  width: auto;
  margin: 0;
  font-size: 14px;
  line-height: 1;
  color: var(--jooy-faint);
  opacity: 1;
}
.tiles .tile .stat {
  margin: 22px 0 0;
  font-size: 61px;
  font-weight: 300;
  line-height: 1;
  color: var(--jooy-primary);
}
.tiles .tile .title {
  margin: 7px 0 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--jooy-muted-strong);
  text-transform: none;
  letter-spacing: 0;
}
/* O design não usa a barra de cor inferior do twenty-one */
.tiles .tile .highlight {
  display: none;
}
/* Contagem de pendências em vermelho */
.tiles .tile.jooy-tile-alert .stat,
.tiles .tile.jooy-tile-alert > i {
  color: var(--jooy-danger);
}

/* --- 20.2 Painéis da home (.client-home-cards) --------------------------- */
.client-home-cards .card {
  margin-bottom: 24px;
  border: 1px solid var(--jooy-line);
  border-top-width: 1px;
  border-radius: var(--jooy-radius);
}
/* Sem a faixa colorida no topo dos painéis */
.client-home-cards .card[class*="card-accent-"],
.card[class*="card-accent-"] {
  border-top: 1px solid var(--jooy-line);
}
.client-home-cards .card-header {
  min-height: 69px;
  padding: 0 24px;
  background: var(--jooy-surface);
  border-bottom: 1px solid var(--jooy-line);
}
.client-home-cards .card-title {
  font-size: 20px;
  font-weight: 400;
  color: var(--jooy-ink-soft);
}
.client-home-cards .list-group-item,
.card .list-group-item {
  padding: 16px 24px;
  font-size: 15px;
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--jooy-line);
}
.card .list-group-item:last-child {
  border-bottom: 0;
}

/* --- 20.3 Tabelas de listagem (.table-list + DataTables) ---------------- */
.table-container {
  background: #fff;
  border: 1px solid var(--jooy-line);
  border-radius: var(--jooy-radius);
}
table.table-list {
  margin: 0;
  border: 0;
}
table.table-list > thead > tr > th {
  padding: 16px 12px;
  font-size: 14px;
  font-weight: 400;
  color: var(--jooy-muted-strong);
  vertical-align: middle;
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--jooy-line);
}
table.table-list > tbody > tr > td {
  padding: 20px 12px;
  font-size: 15px;
  vertical-align: middle;
  border: 0;
  border-bottom: 1px solid var(--jooy-line);
}
table.table-list > tbody > tr:last-child > td {
  border-bottom: 0;
}
table.table-list > thead > tr > th:first-child,
table.table-list > tbody > tr > td:first-child {
  padding-left: 24px;
}
table.table-list > thead > tr > th:last-child,
table.table-list > tbody > tr > td:last-child {
  padding-right: 24px;
}
table.table-list > tbody > tr[onclick] {
  cursor: pointer;
}
table.table-list > tbody > tr:hover {
  background: var(--jooy-surface);
}
/* A 1ª coluna de ícone SSL do twenty-one não existe no design */
table.table-list > thead > tr > th.jooy-col-hidden,
table.table-list > tbody > tr > td.jooy-col-hidden {
  display: none;
}

/* Barra superior da DataTable ("Ver …" / busca) */
.dataTables_wrapper .listtable {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  min-height: 68px;
  padding: 0 24px;
  background: var(--jooy-surface);
  border-bottom: 1px solid var(--jooy-line);
}
.dataTables_wrapper .dataTables_info {
  padding: 0;
  font-size: 14px;
  color: var(--jooy-muted-strong);
}
.dataTables_wrapper .dataTables_filter {
  margin-left: auto;
}
.dataTables_wrapper .dataTables_filter input {
  width: 212px;
  height: 38px;
  margin: 0;
  padding: 0 14px;
  font-size: 14px;
  background: #fff;
  border: 1px solid var(--jooy-line-strong);
  border-radius: var(--jooy-radius);
}
.dataTables_wrapper .dataTables_filter input:focus {
  outline: 0;
  border-color: var(--jooy-primary);
  box-shadow: 0 0 0 3px rgba(1, 200, 221, .14);
}
/* Rodapé da DataTable: "Mostrar N entradas" + paginação */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_paginate {
  padding: 16px 24px;
  font-size: 14px;
  color: var(--jooy-muted-strong);
}
.dataTables_wrapper .dataTables_length {
  float: left;
  border-top: 1px solid var(--jooy-line);
}
.dataTables_wrapper .dataTables_paginate {
  float: right;
  border-top: 1px solid var(--jooy-line);
}
.dataTables_wrapper .dataTables_length select {
  width: auto;
  min-width: 68px;
  height: 34px;
  margin: 0 8px;
  padding: 0 8px;
  font-size: 14px;
  color: var(--jooy-ink);
  border: 1px solid var(--jooy-line-strong);
  border-radius: var(--jooy-radius-sm);
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
  display: inline-block;
  min-width: 34px;
  height: 34px;
  margin-left: 6px;
  padding: 0 10px;
  font-size: 14px;
  line-height: 32px;
  color: var(--jooy-ink);
  text-align: center;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--jooy-line-strong);
  border-radius: var(--jooy-radius-sm);
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  color: var(--jooy-primary);
  background: var(--jooy-surface);
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  color: var(--jooy-primary);
  background: var(--jooy-soft);
  border-color: var(--jooy-soft);
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
  color: var(--jooy-muted);
  background: var(--jooy-line);
  border-color: var(--jooy-line);
}

/* --- 20.4 Rótulos de status (.label.status.status-*) --------------------- */
/* No design o status é texto colorido com um marcador circular, não um
   "pill" preenchido. */
.label.status,
span.label.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--jooy-muted);
  background: none !important;
  border-radius: 0;
  white-space: nowrap;
}
.label.status::before {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
  content: "";
}
.label.status.status-active,
.label.status.status-paid,
.label.status.status-open,
.label.status.status-completed,
.label.status.status-accepted,
.label.status.status-delivered { color: var(--jooy-success); }

.label.status.status-unpaid,
.label.status.status-overdue,
.label.status.status-fraud,
.label.status.status-suspended { color: var(--jooy-danger); }

.label.status.status-pending,
.label.status.status-inprogress,
.label.status.status-customer-reply,
.label.status.status-onhold,
.label.status.status-refunded { color: var(--jooy-warning); }

.label.status.status-cancelled,
.label.status.status-closed,
.label.status.status-terminated,
.label.status.status-expired { color: var(--jooy-muted); }

/* --- 20.5 Faixa de busca de domínio da home ----------------------------- */
#domain-search .domain-search-container,
#domain-search h1,
#domain-search h2 {
  color: #fff;
}

/* --- 20.6 Cartões de produto do carrinho (orderforms) ------------------- */
.jooy-price-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 32px 24px;
  text-align: center;
}
.jooy-price-card .jooy-price-name {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 400;
  color: var(--jooy-ink-soft);
}
.jooy-price-card .jooy-price-value {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--jooy-ink);
}
.jooy-price-card .jooy-price-cycle {
  margin: 6px 0 28px;
  font-size: 14px;
  color: var(--jooy-muted-strong);
}
.jooy-price-card .jooy-price-features {
  flex: 1 1 auto;
  margin: 0 0 28px;
  padding: 0;
  font-size: 15px;
  line-height: 2;
  color: var(--jooy-muted-strong);
  list-style: none;
}
.jooy-price-card .jooy-price-features strong {
  color: var(--jooy-ink);
}
.jooy-price-card .btn {
  height: 48px;
  padding: 0 32px;
  font-size: 15px;
  font-weight: 400;
  line-height: 46px;
  align-self: center;
}

/* ==========================================================================
   21. Autenticação (login) — layout dividido
   ========================================================================== */
body.jooy-auth #header,
body.jooy-auth #footer,
body.jooy-auth .master-breadcrumb,
body.jooy-auth .jooy-page-header {
  display: none;
}
body.jooy-auth #main-body {
  padding: 0;
}
body.jooy-auth #main-body > .container {
  max-width: none;
  padding: 0;
}
body.jooy-auth #main-body .primary-content {
  padding: 0;
}

body.jooy-auth,
body.jooy-auth #main-body,
body.jooy-auth #main-body > .container,
body.jooy-auth #main-body .primary-content {
  min-height: 100vh;
}
.jooy-auth-shell {
  display: flex;
  min-height: 100vh;
  background: #fff;
}
.jooy-auth-aside {
  position: relative;
  flex: 0 0 32%;
  max-width: 32%;
  padding: 48px;
}
.jooy-auth-mark {
  height: 55px;
  width: auto;
  /* O logo é ciano; sobre o gradiente ele vira uma marca d'água clara. */
  filter: brightness(0) invert(1);
  opacity: .26;
}
.jooy-auth-mark-text {
  font-size: 28px;
  font-weight: 700;
  color: rgba(255, 255, 255, .3);
}

.jooy-auth-main {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}
.jooy-auth-card {
  width: 100%;
  max-width: 440px;
  margin: 0;
  border: 1px solid var(--jooy-line);
  border-radius: var(--jooy-radius);
}
.jooy-auth-card > .card-body {
  /* medidas retiradas do print: 34px de topo, 48px laterais, 16px de base */
  padding: 34px 48px 16px;
}
.jooy-auth-card .form-group {
  margin-bottom: 12px;
}
.jooy-auth-card .form-control {
  height: 56px;
}
.jooy-auth-eyebrow {
  margin: 0;
  font-size: 15px;
  color: var(--jooy-muted-strong);
  text-align: center;
}
.jooy-auth-title {
  margin: 6px 0 27px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--jooy-ink);
  text-align: center;
}
.jooy-auth-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
}
.jooy-auth-forgot {
  font-size: 14px;
  color: var(--jooy-primary);
}
.jooy-auth-remember {
  margin: 15px 0 17px;
}
.jooy-auth-remember label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--jooy-ink);
  cursor: pointer;
}
.jooy-auth-remember input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
}
.jooy-auth-card .btn-block {
  height: 56px;
  font-size: 15px;
  font-weight: 400;
  line-height: 54px;
}
.jooy-auth-footer {
  padding: 20px 48px;
  font-size: 14px;
  color: var(--jooy-muted-strong);
  text-align: center;
  background: #fff;
}

@media (max-width: 991.98px) {
  .jooy-auth-aside {
    display: none;
  }
  .jooy-auth-card > .card-body {
    padding: 32px 24px 36px;
  }
  .jooy-auth-footer {
    padding: 20px 24px;
  }
}

/* --- 20.7 Linhas de serviço do painel da home (.div-service-item) -------- */
.div-service-item {
  display: flex;
  align-items: center;
  gap: 25px;
  min-height: 77px;
  font-size: 14px;
  padding: 0 24px;
  cursor: pointer;
  border-bottom: 1px solid var(--jooy-line);
}
.div-service-item:hover {
  background: var(--jooy-surface);
}
.div-service-item .div-service-name {
  display: flex;
  flex-direction: column;
  min-width: 0;
  /* o theme.css do twenty-one aplica margin: 0 10px aqui */
  margin: 0 auto 0 0;
  order: 1;
}
.div-service-item .div-service-name > span {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--jooy-ink);
}
.div-service-item .div-service-name > span strong {
  font-weight: 700;
}
.div-service-item .div-service-name .text-domain {
  margin-top: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--jooy-muted-strong);
}
.div-service-item .div-service-status {
  order: 2;
  flex: 0 0 auto;
}
/* O twenty-one emite um rótulo "placeholder" só para reservar largura */
.div-service-item .div-service-status .label-placeholder {
  display: none;
}
.div-service-item .div-service-status {
  display: flex;
  align-items: center;
}
.div-service-item .div-service-status .label {
  padding: 5px;
  line-height: 1.25;
  font-size: 13px;
  font-weight: 400;
  border-radius: var(--jooy-radius-sm);
}
.div-service-item .div-service-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  order: 3;
  flex: 0 0 auto;
}
.div-service-item .div-service-buttons .btn {
  height: 36px;
  padding: 0 21px;
  font-size: 14px;
  font-weight: 700;
  line-height: 33px;
}
.div-service-item .div-service-buttons .btn-view-details i {
  display: none;
}

/* Painel cujo corpo é uma lista de linhas: sem padding lateral e com um
   respiro no rodapé, como nos prints. */
.client-home-cards .card > .card-body:empty {
  display: none;
}
.client-home-cards .card > .card-body {
  padding: 0;
}
.client-home-cards .card > .card-footer {
  padding: 0;
  height: 15px;
  min-height: 0;
  background: #fff;
  border-top: 0;
}

/* ==========================================================================
   22. Ajustes finais de especificidade sobre o theme.css do twenty-one
   O theme.css usa seletores mais específicos em alguns pontos; estas regras
   existem para vencer exatamente aqueles casos.
   ========================================================================== */

/* Ícone do cabeçalho do painel: o WHMCS o emite DENTRO do <h3>, antes do
   rótulo. Aqui o h3 vira flex e o ícone é empurrado para a direita. */
.card > .card-header .card-title,
.client-home-cards .card-title {
  display: flex;
  align-items: center;
  width: 100%;
}
.card > .card-header .card-title > i,
.card > .card-header .card-title > .jooy-card-icon {
  order: 2;
  margin-left: auto;
  font-size: 15px;
  color: var(--jooy-faint);
}
.card > .card-header .card-title > .float-right {
  order: 3;
  margin-left: 16px;
}

/* A borda direita/última-coluna dos tiles do twenty-one não existe no design */
.tiles .row > div:last-child .tile,
.tiles div:nth-child(1) > .tile,
.tiles div:nth-child(2) > .tile {
  border: 1px solid var(--jooy-line);
}
/* O twenty-one aumenta o ícone no hover; no design ele é fixo */
.tiles .tile:hover {
  background: #fff;
}
.tiles .tile:hover > i,
.tiles .tile:hover i {
  font-size: 14px;
  color: var(--jooy-faint);
}
.tiles .tile.jooy-tile-alert:hover > i,
.tiles .tile.jooy-tile-alert:hover i {
  color: var(--jooy-danger);
}

/* Fundo geral do corpo: o twenty-one usa cinza, o design é branco */
body.primary-bg-color,
.primary-bg-color {
  background-color: #fff;
}

/* Ícone de conta na barra utilitária (maior, conforme o print) */
header.header .topbar .jooy-user > a > .fa-user-circle {
  font-size: 17px;
}

/* O Bootstrap adiciona um triângulo em .dropdown-toggle; no design a seta é
   o próprio ícone fa-caret-down. */
header.header .topbar .dropdown-toggle::after {
  display: none;
}

/* Seta do menu de conta: menor que os demais ícones, como no print */
header.header .topbar .jooy-user > a > .fa-caret-down {
  font-size: 11px;
}
/* O ícone de indicação fica um pouco mais afastado do grupo do carrinho */
header.header .topbar .jooy-topbar-nav > li:first-child {
  margin-right: 8px;
}

/* ==========================================================================
   23. Listagens — colunas, ações e largura
   ========================================================================== */

/* O design não traz a coluna de ícone SSL do twenty-one. Escondida por CSS
   (e não removida do template) para preservar os índices de coluna que a
   DataTable e o filtro de status usam. */
table.table-list > thead > tr > th.jooy-col-ssl,
table.table-list > tbody > tr > td.jooy-col-ssl {
  display: none;
}

/* Coluna de ação à direita */
table.table-list > thead > tr > th.jooy-col-actions,
table.table-list > tbody > tr > td.jooy-col-actions {
  width: 1%;
  white-space: nowrap;
}
.jooy-row-action {
  display: inline-block;
  padding: 6px 10px;
  font-size: 16px;
  line-height: 1;
  color: var(--jooy-muted);
}
.jooy-row-action:hover {
  color: var(--jooy-ink);
}

/* Célula de assunto do ticket: número em ciano acima, assunto abaixo */
.jooy-ticket-link {
  display: block;
}
.jooy-ticket-link .ticket-number {
  display: block;
  font-size: 15px;
  line-height: 1.45;
  color: var(--jooy-primary);
}
.jooy-ticket-link .ticket-subject {
  display: block;
  margin-top: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--jooy-ink);
}
.jooy-ticket-link .ticket-subject.unread {
  font-weight: 700;
}
.jooy-ticket-link:hover .ticket-subject {
  color: var(--jooy-primary);
}

/* Quando o filtro é promovido ao cabeçalho da tabela e a barra lateral fica
   vazia, o conteúdo ocupa a largura toda (js/jooy.js aplica a classe). */
#main-body .row.jooy-no-sidebar > [class*="col-"]:not(.primary-content) {
  display: none;
}
#main-body .row.jooy-no-sidebar > .primary-content {
  flex: 0 0 100%;
  max-width: 100%;
}

/* Ações em massa da listagem de domínios: fora do cartão, acima da tabela */
#domainForm > .btn-group {
  margin-bottom: 16px;
}

/* --- 23.1 Alinhamento e respiros das colunas ----------------------------- */
table.table-list > thead > tr > th,
table.table-list > tbody > tr > td,
.table thead th,
.table tbody td {
  text-align: left;
}
table.table-list > thead > tr > th.jooy-col-actions,
table.table-list > tbody > tr > td.jooy-col-actions {
  text-align: right;
}
/* A 1ª coluna visível recebe o respiro de 24px — a coluna SSL, escondida,
   não pode "engolir" esse padding. */
table.table-list > thead > tr > th.jooy-col-ssl + th,
table.table-list > tbody > tr > td.jooy-col-ssl + td {
  padding-left: 24px;
}

/* --- 23.2 Rodapé da DataTable: borda contínua ---------------------------- */
/* O DataTables emite "length" e "paginate" como irmãos flutuados; dando 50%
   a cada um, a borda superior forma uma linha única. */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_paginate {
  width: 50%;
  margin: 0;
}
.dataTables_wrapper .dataTables_paginate {
  text-align: right;
}
.dataTables_wrapper .dataTables_length label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--jooy-muted-strong);
}

/* --- 23.3 Selects compactos com seta ------------------------------------ */
.jooy-select-inline select,
.jooy-select-inline .form-control,
.dataTables_wrapper .dataTables_length select {
  padding-right: 28px;
  background-color: #fff;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath fill='%236d7482' d='M0 0h8L4 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  -webkit-appearance: none;
  appearance: none;
}
.jooy-select-inline select {
  width: auto;
  min-width: 132px;
}

/* --- 23.4 Métricas da tabela medidas no print --------------------------- */
/* O theme.css do twenty-one usa ".dataTables_wrapper table.table-list thead th"
   com border-bottom de 4px — precisa da mesma especificidade para virar 1px. */
.dataTables_wrapper table.table-list thead th {
  padding: 14px 12px;
  font-weight: 400;
  color: var(--jooy-muted-strong);
  text-align: left;
  background-color: #fff;
  border-bottom: 1px solid var(--jooy-line);
}
.dataTables_wrapper table.table-list thead th.sorting_asc,
.dataTables_wrapper table.table-list thead th.sorting_desc {
  background-color: #fff;
  color: var(--jooy-ink);
}
.dataTables_wrapper table.table-list thead th:first-child,
.dataTables_wrapper table.table-list thead th:last-child,
.dataTables_wrapper table.table-list tr:last-child td:first-child,
.dataTables_wrapper table.table-list tr:last-child td:last-child {
  border-radius: 0;
}
.dataTables_wrapper table.table-list thead th.jooy-col-actions {
  text-align: right;
}

/* Linha: 81px com duas linhas de texto (14px + 13,5px) */
table.table-list > tbody > tr > td,
.dataTables_wrapper table.table-list tbody td {
  padding: 18px 12px;
  font-size: 14px;
  line-height: 1.5;
  vertical-align: middle;
}
.jooy-cell-title {
  font-size: 14px;
  line-height: 1.45;
  color: var(--jooy-ink);
}
.jooy-cell-sub {
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--jooy-muted-strong);
}
.jooy-cell-sub a {
  color: var(--jooy-muted-strong);
}
.jooy-cell-sub a:hover {
  color: var(--jooy-primary);
}

/* Barra superior (64px) e rodapé (46px) da DataTable */
.dataTables_wrapper .listtable {
  min-height: 64px;
}
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_paginate {
  padding: 6px 24px;
}
.jooy-select-inline select {
  min-width: 116px;
}

/* Larguras de coluna da listagem de Produtos/Serviços, conforme o print.
   O ID é o que o WHMCS emite em clientareaproducts.tpl. */
#tableServicesList { table-layout: fixed; width: 100%; }
#tableServicesList > thead > tr > th:nth-child(2) { width: 33.7%; }
#tableServicesList > thead > tr > th:nth-child(3) { width: 14.7%; }
#tableServicesList > thead > tr > th:nth-child(4) { width: 24.3%; }
#tableServicesList > thead > tr > th:nth-child(5) { width: 22.1%; }
#tableServicesList > thead > tr > th:nth-child(6) { width: 5.2%; }

/* O theme.css contorna a tabela com border 1px #ddd e deixa um respiro entre a
   barra superior e a tabela; o design tem a moldura só no cartão. */
.dataTables_wrapper table.table-list {
  /* o theme.css declara "margin: 10px 0 !important" aqui */
  margin: 0 !important;
  border: 0;
  border-radius: 0;
}
.dataTables_wrapper .listtable {
  margin: 0;
}

/* --- 23.5 Setas de ordenação junto ao rótulo ----------------------------- */
/* Desliga as setas absolutas do DataTables (ancoradas na borda da coluna). */
.dataTables_wrapper table.dataTable thead > tr > th.sorting::before,
.dataTables_wrapper table.dataTable thead > tr > th.sorting::after,
.dataTables_wrapper table.dataTable thead > tr > th.sorting_asc::before,
.dataTables_wrapper table.dataTable thead > tr > th.sorting_asc::after,
.dataTables_wrapper table.dataTable thead > tr > th.sorting_desc::before,
.dataTables_wrapper table.dataTable thead > tr > th.sorting_desc::after {
  display: none;
}
.dataTables_wrapper table.dataTable thead > tr > th.sorting,
.dataTables_wrapper table.dataTable thead > tr > th.sorting_asc,
.dataTables_wrapper table.dataTable thead > tr > th.sorting_desc {
  padding-right: 12px;
}
.dataTables_wrapper table.table-list thead th {
  line-height: 1.4;
}

/* …e recria junto ao texto, como no print.
   Os triângulos ▲▼ do DataTables estão fora do subset latino do Roboto e
   caem em tofu; aqui são SVG embutido, com renderização determinística. */
.jooy-th-label {
  position: relative;
  display: inline-block;
  padding-right: 18px;
  /* inline-block assenta na linha de base e somaria o descendente à altura
     do th; middle mantém o cabeçalho nos 48px do design. */
  vertical-align: middle;
  line-height: 1.4;
}
th.sorting .jooy-th-label::before,
th.sorting_asc .jooy-th-label::before,
th.sorting_desc .jooy-th-label::before,
th.sorting .jooy-th-label::after,
th.sorting_asc .jooy-th-label::after,
th.sorting_desc .jooy-th-label::after {
  position: absolute;
  right: 3px;
  width: 7px;
  height: 4px;
  background-repeat: no-repeat;
  background-position: center;
  content: "";
}
th.sorting .jooy-th-label::before,
th.sorting_asc .jooy-th-label::before,
th.sorting_desc .jooy-th-label::before {
  bottom: calc(50% + 1px);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='4' viewBox='0 0 7 4'%3E%3Cpath fill='%23c9cbcf' d='M3.5 0 7 4H0z'/%3E%3C/svg%3E");
}
th.sorting .jooy-th-label::after,
th.sorting_asc .jooy-th-label::after,
th.sorting_desc .jooy-th-label::after {
  top: calc(50% + 1px);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='4' viewBox='0 0 7 4'%3E%3Cpath fill='%23c9cbcf' d='M3.5 4 0 0h7z'/%3E%3C/svg%3E");
}
/* Coluna ordenada: a seta da direção ativa fica mais escura */
th.sorting_asc .jooy-th-label::before {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='4' viewBox='0 0 7 4'%3E%3Cpath fill='%236d7482' d='M3.5 0 7 4H0z'/%3E%3C/svg%3E");
}
th.sorting_desc .jooy-th-label::after {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='4' viewBox='0 0 7 4'%3E%3Cpath fill='%236d7482' d='M3.5 4 0 0h7z'/%3E%3C/svg%3E");
}

/* Larguras de coluna das outras listagens, medidas nos prints */
#tableInvoicesList { table-layout: fixed; width: 100%; }
#tableInvoicesList > thead > tr > th:nth-child(1) { width: 18.1%; }
#tableInvoicesList > thead > tr > th:nth-child(2) { width: 20.6%; }
#tableInvoicesList > thead > tr > th:nth-child(3) { width: 18.0%; }
#tableInvoicesList > thead > tr > th:nth-child(4) { width: 17.6%; }
#tableInvoicesList > thead > tr > th:nth-child(5) { width: 15.9%; }
#tableInvoicesList > thead > tr > th:nth-child(6) { width: 9.8%; }

#tableTicketsList { table-layout: fixed; width: 100%; }
#tableTicketsList > thead > tr > th:nth-child(1) { width: 26.4%; }
#tableTicketsList > thead > tr > th:nth-child(2) { width: 24.5%; }
#tableTicketsList > thead > tr > th:nth-child(3) { width: 9.4%; }
#tableTicketsList > thead > tr > th:nth-child(4) { width: 29.9%; }
#tableTicketsList > thead > tr > th:nth-child(5) { width: 9.8%; }

/* Faturas: a linha tem uma só linha de texto e é o botão que define a altura
   (58px = 11 + 36 + 11), medido no print. */
.dataTables_wrapper #tableInvoicesList tbody td {
  padding-top: 10.5px;
  padding-bottom: 10.5px;
}

/* Botão de ação dentro da linha da tabela: 90 × 36px, medido no print
   (o .btn-sm padrão do tema tem 32px e ficaria 3px mais baixo que o design). */
.dataTables_wrapper table.table-list .btn,
.dataTables_wrapper table.table-list .btn-sm {
  height: 36px;
  padding: 0 13.5px;
  font-size: 14px;
  font-weight: 700;
  line-height: 34px;
  /* inline-block somaria o espaço do descendente à altura da linha */
  vertical-align: middle;
}

/* ==========================================================================
   24. Fatura (viewinvoice)
   Layout medido no print: 960 (fatura) + 40 (vão) + 280 (lateral) = 1280.
   ========================================================================== */
.jooy-invoice-layout {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
.jooy-invoice-main {
  flex: 1 1 auto;
  min-width: 0;
}
.jooy-invoice-side {
  flex: 0 0 280px;
  max-width: 280px;
}
.jooy-invoice-card > .card-body {
  /* 48px em cima/embaixo, 32px nas laterais (medido no print) */
  padding: 48px 32px;
}

/* --- Topo: identificação + datas ---------------------------------------- */
.jooy-invoice-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
}
.jooy-invoice-ident {
  display: flex;
  align-items: center;
  gap: 26px;
}
.jooy-invoice-number {
  margin: 0;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--jooy-ink);
}
.jooy-invoice-status {
  padding: 5px 10px;
  font-size: 13px;
  line-height: 1.25;
  border-radius: var(--jooy-radius-sm);
  white-space: nowrap;
}
.jooy-status-unpaid,
.jooy-status-collections {
  color: var(--jooy-danger);
  background: var(--jooy-danger-bg);
}
.jooy-status-paid {
  color: var(--jooy-success);
  background: var(--jooy-success-bg);
}
.jooy-status-draft,
.jooy-status-cancelled {
  color: var(--jooy-muted);
  background: var(--jooy-line);
}
.jooy-status-refunded,
.jooy-status-payment-pending {
  color: var(--jooy-warning);
  background: var(--jooy-warning-bg);
}

/* Datas: rótulo à esquerda, valor à direita, em duas linhas */
.jooy-invoice-meta {
  display: grid;
  grid-template-columns: auto auto;
  gap: 6px 42px;
  margin: 0;
  font-size: 14px;
}
.jooy-invoice-meta dt {
  font-weight: 400;
  color: var(--jooy-muted-strong);
}
.jooy-invoice-meta dd {
  margin: 0;
  color: var(--jooy-ink);
  white-space: nowrap;
}

/* --- Partes: quem cobra / quem é cobrado -------------------------------- */
.jooy-invoice-parties {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
}
.jooy-invoice-party {
  flex: 1 1 0;
  min-width: 0;
}
.jooy-invoice-party-title {
  margin: 0 0 11px;
  font-size: 15px;
  font-weight: 700;
  color: var(--jooy-ink);
}
.jooy-invoice-party address {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--jooy-ink);
  font-style: normal;
}

/* --- Seções e tabelas --------------------------------------------------- */
.jooy-invoice-section {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--jooy-ink);
}
.jooy-invoice-table {
  width: 100%;
  margin: 0 0 48px;
  table-layout: fixed;
  border-collapse: collapse;
}
.jooy-invoice-table th {
  padding: 12px 12px 12px 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--jooy-muted-strong);
  text-align: left;
  border-bottom: 1px solid var(--jooy-line);
}
.jooy-invoice-table td {
  padding: 16.5px 12px 16.5px 0;
  font-size: 15px;
  color: var(--jooy-ink);
  vertical-align: middle;
  border-bottom: 1px solid var(--jooy-line);
}
.jooy-invoice-table .jooy-invoice-amount {
  padding-right: 0;
}
/* Linhas de soma: sem borda; a de total ganha faixa cinza */
.jooy-invoice-table .jooy-invoice-sum td {
  padding: 5px 12px 5px 0;
  border-bottom: 0;
  color: var(--jooy-muted-strong);
}
.jooy-invoice-table .jooy-invoice-total td {
  padding: 17px 12px 17px 0;
  font-weight: 700;
  color: var(--jooy-ink);
  background: var(--jooy-surface);
  border-bottom: 0;
}
.jooy-invoice-table .jooy-invoice-total td:first-child {
  border-radius: var(--jooy-radius-sm) 0 0 var(--jooy-radius-sm);
}
.jooy-invoice-table .jooy-invoice-total td:last-child {
  padding-right: 12px;
  border-radius: 0 var(--jooy-radius-sm) var(--jooy-radius-sm) 0;
}
/* Larguras: descrição | rótulo do total | valor  (medidas no print) */
.jooy-invoice-table th:nth-child(1) { width: 61.4%; }
.jooy-invoice-table th:nth-child(2) { width: 20.5%; }
.jooy-invoice-table th:nth-child(3) { width: 18.1%; }

.jooy-invoice-transactions {
  table-layout: auto;
  margin-bottom: 0;
}
.jooy-invoice-transactions td {
  line-height: 1.3;
}
.jooy-invoice-transactions th:nth-child(n),
.jooy-invoice-transactions td:nth-child(n) {
  width: auto;
}
.jooy-invoice-taxnote {
  margin: -32px 0 40px;
  font-size: 14px;
  color: var(--jooy-muted-strong);
}
.jooy-invoice-credit {
  margin-bottom: 40px;
  padding: 20px;
  background: var(--jooy-surface);
  border-radius: var(--jooy-radius);
}
.jooy-invoice-qr {
  margin-top: 32px;
  text-align: center;
}

/* --- Lateral: ações ----------------------------------------------------- */
.jooy-side-actions {
  margin: 0;
  padding: 0;
  list-style: none;
}
.jooy-side-actions > li + li {
  margin-top: 14px;
}
.jooy-side-actions a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--jooy-primary);
}
.jooy-side-actions a:hover {
  color: var(--jooy-primary-active);
}
.jooy-side-actions i {
  flex: 0 0 18px;
  font-size: 14px;
  text-align: center;
}

/* O cartão de pagamento traz o formulário do gateway; os selects e botões
   que o WHMCS injeta ali herdam o contraste do gradiente. */
.jooy-pay-card .form-control,
.jooy-pay-card .custom-select,
.jooy-pay-card select {
  height: 46px;
  margin: 0;
  padding-right: 32px;
  border-color: transparent;
  background-color: #fff;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath fill='%236d7482' d='M0 0h8L4 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  -webkit-appearance: none;
  appearance: none;
}
.jooy-pay-card .btn {
  margin-top: 12px;
  color: var(--jooy-primary);
  background: #fff;
  border-color: transparent;
}
.jooy-pay-card .btn:hover {
  background: var(--jooy-soft);
}
.jooy-pay-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .jooy-invoice-layout {
    flex-direction: column;
    gap: 24px;
  }
  .jooy-invoice-side {
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
  }
  .jooy-invoice-top,
  .jooy-invoice-parties {
    flex-direction: column;
    gap: 20px;
  }
  .jooy-invoice-top { margin-bottom: 32px; }
  .jooy-invoice-parties { margin-bottom: 32px; }
  .jooy-invoice-card > .card-body { padding: 20px; }
}

/* Somas da fatura: respiro antes da primeira e depois da última, para a
   faixa do Total cair nos 920..977 do print.
   As somas ficam em <tfoot>, então tr:first-child e tr:nth-last-child(2)
   identificam a primeira e a última soma sem depender de classes extras
   (":first-of-type" pegaria a linha de item, que também é <tr>). */
.jooy-invoice-table tfoot tr.jooy-invoice-sum:first-child td {
  padding-top: 16px;
}
.jooy-invoice-table tfoot tr:nth-last-child(2) td {
  padding-bottom: 17px;
}

/* ==========================================================================
   25. Layout com barra lateral
   Medido nos prints 022 e 028: lateral de 278px, vão de 42px, conteúdo de
   960px — as colunas encostam nas bordas do container (sem gutter).
   ========================================================================== */
#main-body .row.jooy-with-sidebar {
  margin-left: 0;
  margin-right: 0;
}
#main-body .row.jooy-with-sidebar > [class*="col-"] {
  padding-left: 0;
  padding-right: 0;
}
@media (min-width: 992px) {
  #main-body .row.jooy-with-sidebar > .col-lg-4 {
    padding-right: 42px;
  }
}

/* Conteúdo em largura total quando a lateral fica vazia (o js/jooy.js
   remove os cartões de filtro que o design move para o topo da tabela). */
.jooy-with-sidebar.jooy-no-sidebar > [class*="col-"]:first-child {
  display: none;
}
.jooy-with-sidebar.jooy-no-sidebar > .primary-content {
  flex: 0 0 100%;
  max-width: 100%;
}

/* ==========================================================================
   26. Detalhes do produto/serviço
   Hero em gradiente (468px) + painel de informações (468px), vão de 24px.
   ========================================================================== */
.jooy-service-overview {
  display: flex;
  align-items: stretch;
  gap: 24px;
  margin-bottom: 48px;
}
.jooy-service-overview > * {
  /* metade menos meio vão: 468px de cada lado em 960 (medido no print) */
  flex: 0 0 calc(50% - 12px);
  max-width: calc(50% - 12px);
  min-width: 0;
}
/* O theme.css aplica ".primary-content .card{margin-bottom:10px}"; aqui as
   margens são controladas pelo container. */
.jooy-service-overview > .card,
.primary-content .jooy-tabs-panel {
  margin-bottom: 0;
}

/* --- Hero -------------------------------------------------------------- */
.jooy-service-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  padding: 40px 40px 83px;
  overflow: hidden;
  text-align: center;
  border: 0;
  border-radius: var(--jooy-radius);
}
.jooy-service-hero .jooy-service-icon {
  margin: 0 0 27px;
  font-size: 47px;
  line-height: 1;
  color: #fff;
}
.jooy-service-hero .jooy-service-name {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}
.jooy-service-hero .jooy-service-domain {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 6px 16px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .92);
  border-top: 1px solid rgba(255, 255, 255, .14);
}

/* --- Painel de informações --------------------------------------------- */
.jooy-service-info {
  padding: 32px;
}
.jooy-service-facts {
  margin: 0;
}
.jooy-service-facts > div + div {
  margin-top: 6px;
}
/* No print o par de Status tem um respiro extra depois (12px em vez de 6px).
   Aplicado como margin-top do segundo item: margens adjacentes de irmãos
   colapsam, então margin-bottom no primeiro não somaria. */
.jooy-service-facts > div:nth-child(2) {
  margin-top: 12px;
}
.jooy-service-facts dt {
  margin: 0 0 3px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--jooy-muted-strong);
}
.jooy-service-facts dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--jooy-ink);
  word-break: break-word;
}
.jooy-service-facts .jooy-status {
  font-size: 16px;
}

/* --- Cartão de abas ---------------------------------------------------- */
/* O cabeçalho do cartão É a faixa de abas: 65px de altura no print. */
.jooy-tabs-panel {
  margin-bottom: 0;
  overflow: hidden;
}
.jooy-tabs-panel > .nav-tabs {
  min-height: 65px;
  margin: 0;
  padding: 0 24px;
  background: var(--jooy-surface);
  border-bottom: 1px solid var(--jooy-line);
  border-radius: calc(var(--jooy-radius) - 1px) calc(var(--jooy-radius) - 1px) 0 0;
}
.jooy-tabs-panel > .nav-tabs .nav-link {
  min-height: 64px;
}
.jooy-tabs-panel > .tab-content {
  padding: 0;
  background: #fff;
}
.jooy-tabs-panel > .tab-content > .tab-pane {
  padding: 0;
}
.jooy-tabs-panel .responsive-tabs-sm-connector {
  display: none;
}

/* Pares rótulo/valor dentro das abas: o WHMCS emite .row > .col-sm-5 +
   .col-sm-7; aqui viram linhas de 62px com divisória, em duas colunas iguais. */
.jooy-tabs-panel .tab-pane > .row {
  display: flex;
  align-items: center;
  min-height: 62px;
  margin: 0;
  padding: 0 24px;
  text-align: left;
  border-bottom: 1px solid var(--jooy-line);
}
.jooy-tabs-panel .tab-pane > .row:last-child {
  border-bottom: 0;
}
.jooy-tabs-panel .tab-pane > .row > [class*="col-"] {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0;
  font-size: 15px;
  text-align: left !important;
}
.jooy-tabs-panel .tab-pane > .row > [class*="col-"]:first-child,
.jooy-tabs-panel .tab-pane > .row > [class*="col-"]:first-child strong {
  font-weight: 400;
  color: var(--jooy-muted-strong);
}
.jooy-tabs-panel .tab-pane > .row .btn {
  height: 30px;
  margin-left: 12px;
  padding: 0 10px;
  font-size: 13px;
  line-height: 28px;
}
.jooy-tabs-panel .tab-pane.text-center {
  text-align: left;
}

@media (max-width: 991.98px) {
  .jooy-service-overview {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
  }
  .jooy-service-hero {
    min-height: 280px;
    padding: 32px 24px 60px;
  }
  .jooy-service-info { padding: 20px; }
  .jooy-tabs-panel .tab-pane > .row {
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
    padding: 16px;
  }
  .jooy-tabs-panel .tab-pane > .row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ==========================================================================
   27. Títulos de seção
   --------------------------------------------------------------------------
   O design usa dois níveis acima dos cartões:
     h2  = 25.6px (1.6rem) — "Perfil", "Escolha um Departamento de Suporte"
     h3  = 20px   (1.25rem) — "Mensagens do Ticket", títulos de painel/lateral
   ========================================================================== */
#main-body h2,
.jooy-section-title {
  /* 32px de caixa e 26px de respiro: com isso a tinta do título cai em
     y=296 e o topo do painel em y=348, como no print 038. */
  margin: 0 0 26px;
  font-size: 25.6px;
  font-weight: 400;
  line-height: 32px;
  color: var(--jooy-ink);
}
/* Cabeçalho de seção com ação à direita (ex.: "1 Usuários encontrados") */
.jooy-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
/* O prefixo #main-body é necessário: a regra de h2 da seção 27 usa ID e
   venceria um seletor só de classes, mantendo a margem inferior e inflando
   a linha do flex para 58px. */
#main-body .jooy-section-head > .jooy-section-title,
#main-body .jooy-section-head > h2 {
  margin: 0;
}
.jooy-section-head > .jooy-section-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
  align-items: center;
}

/* ==========================================================================
   28. Barra lateral — métricas medidas nos prints 022/028/030/036..040
   --------------------------------------------------------------------------
   Título 20px/400 · itens 14px/400 em ciano · item ativo com fundo #f0f5ff
   recuado 12px (o print mostra os inativos alinhados à borda do conteúdo).
   ========================================================================== */
.sidebar .card-sidebar,
.sidebar .card {
  /* 24px entre painéis da lateral, medidos no print 030 */
  margin-bottom: 24px;
}
.sidebar .card-sidebar:last-child,
.sidebar .card:last-child {
  margin-bottom: 0;
}
.sidebar .card-sidebar > .card-header,
.sidebar .card > .card-header {
  margin-bottom: 17px;
}
.sidebar .card-sidebar > .card-header .card-title,
.sidebar .card > .card-header h3 {
  font-size: 20px;
  line-height: 1.4;
  color: var(--jooy-ink);
}
.sidebar .list-group-item,
.sidebar .list-group-flush .list-group-item {
  /* 36px de caixa e 1px de respiro dão o passo de 37px medido nos prints */
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0;
  margin-bottom: 1px;
  font-size: 14px;
  line-height: 20px;
  color: var(--jooy-primary);
  background: transparent;
  border: 0;
  border-radius: var(--jooy-radius-sm);
}
.sidebar .list-group-item:last-child {
  margin-bottom: 0;
}
.sidebar .list-group-item:hover,
.sidebar .list-group-flush .list-group-item:hover {
  color: var(--jooy-primary-active);
  background: transparent;
}
.sidebar .list-group-item.active,
.sidebar .list-group-flush .list-group-item.active {
  padding: 0 12px;
  color: var(--jooy-primary);
  background: var(--jooy-soft-subtle);
}
.sidebar .sidebar-menu-item-wrapper {
  flex: 1 1 auto;
  gap: 10px;
  min-width: 0;
}
.sidebar .sidebar-menu-item-icon-wrapper {
  /* 14px de caixa com o glifo centrado põe a tinta do ícone em x=322 e o
     texto em x=344, como nos prints 037/038/039. */
  flex: 0 0 14px;
  text-align: center;
}
.sidebar .sidebar-menu-item-icon {
  font-size: 12px;
  line-height: 20px;
}
.sidebar .list-group-item.disabled .sidebar-menu-item-icon,
.sidebar .list-group-item.disabled {
  color: var(--jooy-faint);
}
.sidebar .sidebar-menu-item-label {
  min-width: 0;
}
.sidebar .sidebar-menu-item-badge .badge {
  padding: 2px 7px;
  font-size: 12px;
  color: var(--jooy-info-ink);
  background: var(--jooy-info-bg);
}
/* Blocos de lateral sem menu (ex.: texto de ajuda) */
.sidebar .card-body {
  padding: 0;
  font-size: 14px;
  color: var(--jooy-muted-strong);
}

/* ==========================================================================
   29. Painéis de formulário
   --------------------------------------------------------------------------
   Nos prints 036/038/039 os formulários vivem em um painel cinza #f7f7f8 com
   borda #efeff1, 24px de respiro e colunas de 24px de calha.
   ========================================================================== */
.jooy-form-panel,
.jooy-form-page .primary-content > form > .card,
.jooy-form-page .primary-content > .card:not(.jooy-plain-card) {
  background: var(--jooy-surface);
  border: 1px solid var(--jooy-line);
  border-radius: var(--jooy-radius);
  box-shadow: none;
}
.jooy-form-panel > .card-body,
.jooy-form-page .primary-content > form > .card > .card-body,
.jooy-form-page .primary-content > .card:not(.jooy-plain-card) > .card-body {
  padding: 24px;
}
.jooy-form-panel > .card-footer,
.jooy-form-page .primary-content > form > .card > .card-footer,
.jooy-form-page .primary-content > .card:not(.jooy-plain-card) > .card-footer {
  padding: 20px 24px;
  background: var(--jooy-surface);
  border-top: 1px solid var(--jooy-line);
}
/* Cartão de formulário com largura limitada (print 039) */
.jooy-form-narrow {
  max-width: 550px;
}

/* Rótulos e campos dentro dos painéis */
.jooy-form-panel label,
.jooy-form-page .primary-content label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  color: var(--jooy-label);
}
.jooy-form-panel .form-group,
.jooy-form-page .primary-content .form-group {
  margin-bottom: 12px;
}
.jooy-form-panel .form-control,
.jooy-form-panel .custom-select,
.jooy-form-page .primary-content .form-control,
.jooy-form-page .primary-content .custom-select {
  height: 44px;
  padding: 0 16px;
  font-size: 14px;
  color: var(--jooy-ink);
  background-color: #fff;
  border: 1px solid var(--jooy-line-strong);
  border-radius: var(--jooy-radius-sm);
}
.jooy-form-panel textarea.form-control,
.jooy-form-page .primary-content textarea.form-control {
  height: auto;
  padding: 12px 16px;
  line-height: 22px;
}
/* Seta própria: o WHMCS emite muitos <select class="form-control"> sem
   .custom-select, e o seletor nativo do sistema quebra o estilo flat. */
.jooy-form-panel select.form-control,
.jooy-form-panel .custom-select,
.jooy-form-page .primary-content select.form-control,
.jooy-form-page .primary-content .custom-select {
  padding-right: 38px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath fill='%236d7482' d='M0 0h8L4 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  -webkit-appearance: none;
  appearance: none;
}
.jooy-form-panel .row,
.jooy-form-page .primary-content .card .row {
  margin-right: -12px;
  margin-left: -12px;
}
.jooy-form-panel .row > [class*="col-"],
.jooy-form-page .primary-content .card .row > [class*="col-"] {
  padding-right: 12px;
  padding-left: 12px;
}
/* Ações abaixo do painel (print 038) */
.jooy-form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}
.jooy-form-actions .btn {
  margin: 0;
}

/* ==========================================================================
   30. Estados vazios (prints 022 / 029)
   ========================================================================== */
.jooy-empty {
  padding: 64px 24px;
  text-align: center;
}
.jooy-empty .jooy-empty-mark {
  display: block;
  margin: 4px auto 28px;
}
.jooy-empty .jooy-empty-icon {
  display: block;
  margin: 0 auto 32px;
  font-size: 48px;
  line-height: 1;
  color: var(--jooy-line-strong);
}
.jooy-empty .jooy-empty-title {
  margin: 0 0 24px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--jooy-ink);
}
.jooy-empty .btn {
  height: 44px;
  padding: 0 16px;
  line-height: 42px;
}

/* ==========================================================================
   31. Tickets — departamentos, respostas e painel de informações
   ========================================================================== */

/* --- 31.1 Cartões de departamento (print 027) --------------------------- */
/* Grade em CSS Grid: as células de uma linha compartilham a altura, então os
   botões dos três cartões ficam alinhados como no print, mesmo com textos de
   tamanhos diferentes. (Com flex, o stretch não iguala as alturas aqui.) */
.jooy-dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.jooy-dept-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--jooy-line);
  border-radius: var(--jooy-radius);
}
.jooy-dept-card .jooy-dept-name {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  color: var(--jooy-ink);
}
.jooy-dept-card .jooy-dept-name i {
  flex: 0 0 auto;
  font-size: 19px;
  line-height: 1;
  color: var(--jooy-primary);
}
.jooy-dept-card .jooy-dept-desc {
  flex: 1 1 auto;
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 24px;
  color: var(--jooy-muted-strong);
}
.jooy-dept-card .jooy-dept-action {
  display: block;
  height: 36px;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 36px;
  color: var(--jooy-primary);
  text-align: center;
  background: var(--jooy-soft);
  border: 0;
  border-radius: var(--jooy-radius-sm);
}
.jooy-dept-card .jooy-dept-action:hover {
  color: var(--jooy-primary-active);
  background: var(--jooy-soft-hover);
}

/* --- 31.2 Mensagens do ticket (print 026) ------------------------------- */
.jooy-ticket-replies {
  margin: 0;
}
.jooy-ticket-reply {
  margin-bottom: 24px;
  overflow: hidden;
  background: var(--jooy-surface);
  border: 1px solid var(--jooy-line-strong);
  border-left: 4px solid var(--jooy-line-strong);
  border-radius: var(--jooy-radius);
}
.jooy-ticket-reply:last-child {
  margin-bottom: 0;
}
.jooy-ticket-reply.is-staff {
  border-left-color: var(--jooy-primary);
}
.jooy-ticket-reply .jooy-reply-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  /* 82px de conteúdo + 1px de divisória = 83px, medido no print 026 */
  min-height: 83px;
  padding: 20px 24px;
  background: var(--jooy-surface);
  border-bottom: 1px solid var(--jooy-line);
}
.jooy-ticket-reply .jooy-reply-who {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
  color: var(--jooy-ink);
}
.jooy-ticket-reply .jooy-reply-who i {
  font-size: 14px;
  color: var(--jooy-muted-strong);
}
.jooy-ticket-reply .jooy-reply-date {
  margin: 5px 0 0;
  font-size: 13px;
  line-height: 16px;
  color: var(--jooy-muted-strong);
}
.jooy-ticket-reply .jooy-reply-badge {
  flex: 0 0 auto;
}
.jooy-ticket-reply .jooy-reply-body {
  min-height: 76px;
  padding: 24px;
  font-size: 15px;
  line-height: 24px;
  color: var(--jooy-ink-soft);
  background: var(--jooy-surface);
}
.jooy-ticket-reply.is-staff .jooy-reply-body {
  background: #fff;
}
.jooy-ticket-reply .jooy-reply-body > *:first-child {
  margin-top: 0;
}
.jooy-ticket-reply .jooy-reply-body > *:last-child {
  margin-bottom: 0;
}
.jooy-ticket-reply .jooy-reply-ip {
  margin: 17px 0 0;
  font-size: 13px;
  color: var(--jooy-muted);
}
.jooy-ticket-reply .jooy-reply-attachments {
  padding: 16px 24px;
  font-size: 14px;
  border-top: 1px solid var(--jooy-line);
}
.jooy-ticket-reply .attachment-list {
  padding: 0;
  margin: 8px 0 0;
  list-style: none;
}
.jooy-ticket-reply .attachment-list li + li {
  margin-top: 6px;
}

/* --- 31.3 Caixa de identificação de quem responde ----------------------- */
.jooy-reply-identity {
  padding: 16px 20px;
  margin-bottom: 20px;
  background: var(--jooy-surface);
  border-radius: var(--jooy-radius-sm);
}
.jooy-reply-identity .jooy-reply-identity-name {
  margin: 0;
  font-size: 15px;
  line-height: 20px;
  color: var(--jooy-ink);
}
.jooy-reply-identity .jooy-reply-identity-mail {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 18px;
  color: var(--jooy-muted-strong);
}

/* --- 31.4 Painel lateral de informações do ticket ----------------------- */
.jooy-info-card {
  background: #fff;
  border: 1px solid var(--jooy-line);
  border-radius: var(--jooy-radius);
}
/* Linhas de 74px + divisória de 1px = passo de 75px (print 026).
   O respiro assimétrico (17/18) fecha os 74px sem depender de min-height,
   que com border-box comeria 1px na linha com borda superior. */
.jooy-info-card .jooy-info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 17px 20px 18px 24px;
}
.jooy-info-card .jooy-info-row + .jooy-info-row {
  border-top: 1px solid var(--jooy-line);
}
.jooy-info-card .jooy-info-icon {
  flex: 0 0 16px;
  margin-top: 3px;
  font-size: 13px;
  line-height: 1;
  color: var(--jooy-muted-strong);
  text-align: left;
}
.jooy-info-card .jooy-info-body {
  flex: 1 1 auto;
  min-width: 0;
}
.jooy-info-card .jooy-info-label {
  margin: 0 0 2px;
  font-size: 13px;
  line-height: 17px;
  color: var(--jooy-muted-strong);
}
.jooy-tabs-form .tab-pane > .jooy-form-actions {
  margin-top: 20px;
}
.jooy-info-card .jooy-info-value {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 15px;
  line-height: 20px;
  color: var(--jooy-ink);
}
/* O selo não pode inflar a linha de 20px: senão a linha do cartão passa
   de 74 para 83px (medido no print 026). O theme.css põe margin-bottom: 5px
   em .label, que num item de flex soma na altura da linha. */
.jooy-info-card .jooy-info-value .badge,
.jooy-info-card .jooy-info-value .label {
  padding: 3px 6px;
  margin: 0;
  font-size: 12px;
  line-height: 14px;
}
.jooy-user-tail .label,
.jooy-user-tail .badge,
.jooy-reply-badge .label,
.jooy-reply-badge .badge,
.jooy-user-name .label {
  margin: 0;
}

/* ==========================================================================
   32. Controles de escolha (checkbox, rádio, interruptor)
   ========================================================================== */
.jooy-check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 20px;
  padding: 0;
  margin: 0;
  font-size: 15px;
  line-height: 20px;
  color: var(--jooy-ink-soft);
  cursor: pointer;
}
.jooy-check input[type="checkbox"],
.jooy-check input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.jooy-check .jooy-check-box {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  background: #fff;
  border: 1px solid var(--jooy-line-strong);
  border-radius: 3px;
}
.jooy-check input[type="radio"] ~ .jooy-check-box {
  border-radius: 50%;
}
.jooy-check .jooy-check-box::after {
  position: absolute;
  opacity: 0;
  content: "";
}
/* Marca do checkbox */
.jooy-check input[type="checkbox"] ~ .jooy-check-box::after {
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
/* Ponto do rádio */
.jooy-check input[type="radio"] ~ .jooy-check-box::after {
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
}
.jooy-check input:checked ~ .jooy-check-box {
  background: var(--jooy-primary);
  border-color: var(--jooy-primary);
}
.jooy-check input:checked ~ .jooy-check-box::after {
  opacity: 1;
}
.jooy-check input:focus-visible ~ .jooy-check-box {
  outline: 2px solid rgba(1, 200, 221, .45);
  outline-offset: 1px;
}
.jooy-check .jooy-check-label {
  flex: 1 1 auto;
  min-width: 0;
}

/* Interruptor liga/desliga (print 036) */
.jooy-switch {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px 0 4px;
  font-size: 11px;
  font-weight: 500;
  line-height: 24px;
  color: var(--jooy-muted);
  text-transform: uppercase;
  background: var(--jooy-line);
  border-radius: 12px;
}
.jooy-switch::before {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  background: #fff;
  border-radius: 50%;
  content: "";
}
.jooy-switch.is-on {
  flex-direction: row-reverse;
  padding: 0 4px 0 8px;
  color: #fff;
  background: var(--jooy-primary);
}
.jooy-switch.is-on::before {
  margin-right: 0;
  margin-left: 6px;
}

/* ==========================================================================
   33. Cartões de opção com rádio (prints 033 / 034)
   ========================================================================== */
.jooy-option-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.jooy-option-card {
  display: block;
  padding: 16px 20px;
  margin: 0;
  background: #fff;
  border: 1px solid var(--jooy-line);
  border-radius: var(--jooy-radius);
  cursor: pointer;
}
.jooy-option-card.is-selected {
  border-color: var(--jooy-primary);
}
.jooy-option-card .jooy-option-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: var(--jooy-ink);
}
.jooy-option-card .jooy-option-price {
  margin: 3px 0 0;
  font-size: 15px;
  line-height: 20px;
  color: var(--jooy-ink);
}
.jooy-option-card .jooy-option-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 18px;
  color: var(--jooy-muted);
}
.jooy-option-card .jooy-option-strike {
  text-decoration: line-through;
}
.jooy-option-card .jooy-option-discount {
  padding: 2px 7px;
  font-size: 12px;
  color: var(--jooy-danger);
  background: var(--jooy-danger-bg);
  border-radius: var(--jooy-radius-sm);
}

/* Lista de escolha empilhada (conta, forma de pagamento — print 034) */
.jooy-choice-list {
  border: 1px solid var(--jooy-line);
  border-radius: var(--jooy-radius);
}
.jooy-choice-list .jooy-choice {
  display: block;
  padding: 16px 20px;
  margin: 0;
  cursor: pointer;
}
.jooy-choice-list .jooy-choice + .jooy-choice {
  border-top: 1px solid var(--jooy-line);
}
.jooy-choice-list .jooy-choice.is-selected {
  border: 1px solid var(--jooy-primary);
  border-radius: var(--jooy-radius);
}
.jooy-choice .jooy-choice-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.jooy-choice .jooy-choice-detail {
  padding-left: 30px;
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 18px;
  color: var(--jooy-ink-soft);
}
.jooy-choice .jooy-choice-detail p {
  margin: 0 0 4px;
}
.jooy-choice .jooy-choice-detail p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   34. Resumo do pedido (lateral em gradiente — prints 029 / 033 / 034)
   ========================================================================== */
.jooy-cart-layout {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
.jooy-cart-main {
  flex: 1 1 auto;
  min-width: 0;
}
.jooy-cart-side {
  flex: 0 0 340px;
  max-width: 340px;
}
.jooy-order-summary {
  padding: 24px;
  border: 0;
  border-radius: var(--jooy-radius);
}
.jooy-order-summary .jooy-summary-title {
  margin: 0 0 20px;
  font-size: 17px;
  font-weight: 400;
  line-height: 24px;
  color: rgba(255, 255, 255, .95);
}
.jooy-order-summary .jooy-summary-group {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
}
.jooy-order-summary .jooy-summary-group:last-of-type {
  border-bottom: 0;
}
.jooy-order-summary .jooy-summary-caption {
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 16px;
  color: rgba(255, 255, 255, .78);
}
.jooy-order-summary .jooy-summary-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  line-height: 20px;
  color: #fff;
}
.jooy-order-summary .jooy-summary-row + .jooy-summary-row {
  margin-top: 4px;
}
.jooy-order-summary .jooy-summary-row .jooy-summary-sub {
  display: block;
  font-size: 11px;
  line-height: 15px;
  color: rgba(255, 255, 255, .72);
}
.jooy-order-summary .jooy-summary-total {
  margin: 0 0 20px;
  font-size: 26px;
  font-weight: 700;
  line-height: 34px;
  color: #fff;
}
.jooy-order-summary .jooy-summary-action {
  display: block;
  width: 100%;
  height: 56px;
  padding: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 56px;
  color: var(--jooy-primary);
  text-align: center;
  background: var(--jooy-soft);
  border: 0;
  border-radius: var(--jooy-radius-sm);
}
.jooy-order-summary .jooy-summary-action:hover {
  color: var(--jooy-primary-active);
  background: #fff;
}
.jooy-order-summary .jooy-summary-action[disabled],
.jooy-order-summary .jooy-summary-action.disabled {
  color: rgba(1, 200, 221, .55);
  cursor: not-allowed;
  background: rgba(229, 239, 255, .72);
}
.jooy-cart-side .jooy-terms {
  margin-top: 16px;
  font-size: 13px;
  line-height: 18px;
  color: var(--jooy-ink-soft);
}
.jooy-cart-side .jooy-terms .jooy-check-box {
  margin-top: 0;
}

/* ==========================================================================
   35. Cartões de preço do grupo de produtos (print 030)
   --------------------------------------------------------------------------
   3 colunas de 304px com 24px de calha dentro dos 960px de conteúdo.
   ========================================================================== */
.jooy-price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.jooy-price-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 40px 24px 32px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--jooy-line);
  border-radius: var(--jooy-radius);
}
.jooy-price-card .jooy-price-name {
  margin: 0 0 24px;
  font-size: 23px;
  font-weight: 400;
  line-height: 30px;
  color: var(--jooy-ink);
}
.jooy-price-card .jooy-price-value {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 38px;
  color: var(--jooy-ink);
}
.jooy-price-card .jooy-price-cycle {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 18px;
  color: var(--jooy-muted);
}
.jooy-price-card .jooy-price-features {
  flex: 1 1 auto;
  padding: 0;
  margin: 32px 0 0;
  font-size: 14px;
  line-height: 18px;
  color: var(--jooy-ink-soft);
  list-style: none;
}
.jooy-price-card .jooy-price-features li + li {
  margin-top: 5px;
}
.jooy-price-card .jooy-price-action {
  display: block;
  height: 44px;
  margin-top: 32px;
  font-size: 15px;
  font-weight: 400;
  line-height: 44px;
  color: #fff;
  background: var(--jooy-primary);
  border: 0;
  border-radius: var(--jooy-radius-sm);
}
.jooy-price-card .jooy-price-action:hover {
  color: #fff;
  background: var(--jooy-primary-hover);
}

/* ==========================================================================
   36. Faixas em gradiente (busca de domínio, promoção)
   ========================================================================== */
.jooy-band {
  padding: 24px;
  background: linear-gradient(90deg, var(--jooy-grad-from) 0%, var(--jooy-grad-to) 100%);
  border-radius: 0;
}
.jooy-band.jooy-band-rounded {
  border-radius: var(--jooy-radius);
}
.jooy-band .jooy-band-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.jooy-band .form-control,
.jooy-band .custom-select {
  height: 44px;
  font-size: 15px;
  background-color: #fff;
  border: 0;
  border-radius: var(--jooy-radius-sm);
}
.jooy-band .btn {
  height: 44px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 400;
  line-height: 44px;
  color: #fff;
  background: var(--jooy-primary);
  border: 0;
}
.jooy-band .btn:hover {
  background: var(--jooy-primary-hover);
}
/* Campo com ícone à esquerda (código promocional) */
.jooy-band .jooy-band-field {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}
.jooy-band .jooy-band-field > i {
  position: absolute;
  top: 50%;
  left: 16px;
  font-size: 14px;
  color: var(--jooy-muted);
  transform: translateY(-50%);
}
.jooy-band .jooy-band-field > i ~ .form-control {
  padding-left: 40px;
}

/* Cartão de resultado de domínio (print 032) */
.jooy-domain-result {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 24px 32px;
  background: #fff;
  border: 1px solid var(--jooy-line);
  border-radius: var(--jooy-radius);
}
.jooy-domain-result .jooy-domain-mark {
  display: flex;
  flex: 0 0 64px;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  font-size: 26px;
  color: var(--jooy-success);
  background: var(--jooy-success-bg);
  border-radius: 50%;
}
.jooy-domain-result .jooy-domain-body {
  flex: 1 1 auto;
  min-width: 0;
}
.jooy-domain-result .jooy-domain-name {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 26px;
  color: var(--jooy-muted-strong);
}
.jooy-domain-result .jooy-domain-name strong {
  font-weight: 700;
  color: var(--jooy-success);
}
.jooy-domain-result .jooy-domain-price {
  margin: 6px 0 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
  color: var(--jooy-ink);
}

/* ==========================================================================
   37. Alerta de aviso (print 034)
   ========================================================================== */
.jooy-notice {
  padding: 16px 20px;
  font-size: 14px;
  line-height: 20px;
  color: var(--jooy-notice);
  background: var(--jooy-notice-bg);
  border: 0;
  border-radius: var(--jooy-radius-sm);
}
.jooy-notice strong {
  font-weight: 700;
}

/* ==========================================================================
   38. Layout dividido genérico (conteúdo 960 + vão 40 + lateral 280)
   --------------------------------------------------------------------------
   Mesma métrica da fatura, reaproveitada por outras telas com aparte à
   direita (ver ticket, print 026).
   ========================================================================== */
.jooy-split {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
.jooy-split-main {
  flex: 1 1 auto;
  min-width: 0;
}
.jooy-split-side {
  flex: 0 0 280px;
  max-width: 280px;
}
.jooy-split-side > .jooy-block-title:first-child,
.jooy-split-side > h3:first-child {
  margin-top: 0;
}
@media (max-width: 991px) {
  .jooy-split,
  .jooy-cart-layout,
  .jooy-invoice-layout {
    flex-direction: column;
  }
  .jooy-split-side,
  .jooy-cart-side,
  .jooy-invoice-side {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
  }
}
@media (max-width: 767px) {
  .jooy-dept-grid,
  .jooy-price-grid,
  .jooy-option-list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   39. Cartão de abas com conteúdo livre (ver ticket, segurança)
   --------------------------------------------------------------------------
   A seção 26 trata as abas do produto, onde cada .row é uma linha rótulo/valor.
   Aqui as abas recebem formulário e texto corrido, então a linha volta a ser
   uma linha de grade normal.
   ========================================================================== */
.jooy-tabs-panel > .tab-content > .tab-pane.jooy-tab-free,
.jooy-tabs-form > .tab-content > .tab-pane {
  padding: 24px;
}
.jooy-tabs-form .tab-pane > .row {
  display: flex;
  min-height: 0;
  padding: 0;
  margin-right: -12px;
  margin-left: -12px;
  border-bottom: 0;
}
.jooy-tabs-form .tab-pane > .row > [class*="col-"] {
  flex: 0 0 auto;
  max-width: none;
  padding-right: 12px;
  padding-left: 12px;
}
.jooy-tabs-form .tab-pane > .row > [class*="col-"]:first-child,
.jooy-tabs-form .tab-pane > .row > [class*="col-"]:first-child strong {
  color: inherit;
}

/* Contador ao lado do rótulo da aba (print 026) */
.nav-tabs .jooy-tab-count {
  display: inline-block;
  min-width: 20px;
  padding: 1px 6px;
  margin-left: 8px;
  font-size: 12px;
  line-height: 16px;
  color: var(--jooy-muted-strong);
  text-align: center;
  vertical-align: 2px;
  background: var(--jooy-line);
  border-radius: 10px;
}
.jooy-tab-empty {
  margin: 0;
  font-size: 15px;
  color: var(--jooy-muted-strong);
}
.jooy-plain-list {
  padding: 0;
  margin: 0;
  font-size: 15px;
  line-height: 24px;
  list-style: none;
}

/* Captcha dentro de um painel de formulário */
.jooy-captcha {
  margin-bottom: 12px;
}
.jooy-captcha .form-group {
  margin-bottom: 0;
}

/* Texto de apoio abaixo de um campo */
.jooy-field-hint {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 18px;
  color: var(--jooy-muted);
}

/* Campo de anexo do ticket */
.jooy-attach-field .custom-file,
.jooy-attach-field .custom-file-label {
  height: 44px;
}
.jooy-attach-field .custom-file-label {
  padding: 0 16px;
  font-size: 15px;
  line-height: 42px;
  color: var(--jooy-muted-strong);
  background: #fff;
  border: 1px solid var(--jooy-line-strong);
  border-radius: var(--jooy-radius-sm);
}
.jooy-attach-field .custom-file-label::after {
  display: none;
}
.jooy-attach-field .custom-file-label i {
  margin-right: 10px;
  color: var(--jooy-muted);
}
.jooy-attach-field .input-group-append .btn {
  height: 44px;
  margin-left: 8px;
  line-height: 42px;
}

/* Espaço antes do título da lista de mensagens */
#main-body .jooy-messages-title {
  margin-top: 36px;
}

/* Segundo bloco da aparte ganha respiro do cartão anterior */
.jooy-split-side .jooy-info-card + .jooy-block-title,
.jooy-invoice-side .jooy-pay-card + .jooy-block-title {
  margin-top: 32px;
}

/* ==========================================================================
   40. Peças das telas de conta (prints 036 a 040)
   ========================================================================== */

/* Respiro extra antes de uma segunda seção na mesma página */
#main-body .jooy-section-title-spaced {
  /* 99px entre a base das ações e o topo do painel seguinte (print 038) */
  margin-top: 40px;
}
/* Entre dois painéis na mesma seção o vão é 107px (print 036) */
#main-body .card + .jooy-section-title-spaced {
  margin-top: 48px;
}

/* Ações de formulário: 44px de altura medidos no print 038/039 */
.jooy-form-actions .btn,
.jooy-section-actions .btn {
  /* 144 e 89px de largura medidos no print 038 -> 16px de respiro */
  height: 44px;
  padding: 0 16px;
  line-height: 42px;
}

/* Botão de chamada grande: 239 x 56 medidos no print 040 */
.btn-cta {
  height: 56px;
  padding: 0 40px;
  font-size: 14px;
  font-weight: 700;
  line-height: 54px;
}
.jooy-form-actions .btn-cta,
.jooy-section-actions .btn-cta {
  height: 56px;
  padding: 0 40px;
  line-height: 54px;
}
.jooy-form-actions-flush {
  margin-top: 0;
}
.jooy-form-actions .btn[disabled],
.jooy-form-actions .btn:disabled {
  color: var(--jooy-muted);
  background: #f2f2f3;
  border-color: transparent;
  opacity: 1;
}

/* Botão fantasma — contorno leve sobre painel cinza ("Gerar Senha") */
.btn-ghost {
  height: 36px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 34px;
  color: var(--jooy-ink);
  background: transparent;
  border: 1px solid var(--jooy-line-strong);
}
.btn-ghost:hover {
  color: var(--jooy-ink);
  background: #fff;
}
.btn-ghost i {
  margin-right: 8px;
  color: var(--jooy-muted-strong);
}

/* Pista dentro do campo de senha e barra de força discreta */
.jooy-pw-hint {
  position: relative;
  z-index: 2;
  height: 44px;
  margin-top: -44px;
  padding: 0 16px;
  font-size: 14px;
  line-height: 44px;
  color: var(--jooy-muted-strong);
  text-align: right;
  pointer-events: none;
}
.jooy-pw-hint i {
  margin-left: 9px;
  color: var(--jooy-ink-soft);
  pointer-events: auto;
}
.jooy-pw-bar {
  height: 2px;
  margin: -2px 0 0;
  background: transparent;
  border-radius: 0;
}
.jooy-pw-generate {
  margin-top: 8px;
}

/* Selo de verificação do e-mail */
.jooy-verify-state {
  margin: 0 0 12px;
}

/* Texto introdutório dentro de um painel */
.jooy-panel-intro {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 22px;
  color: var(--jooy-ink-soft);
}

/* Nota de pé de página */
.jooy-footnote {
  margin: 24px 0 0;
  font-size: 13px;
  line-height: 18px;
  color: var(--jooy-muted-strong);
}

/* --- 40.1 Cartões de usuário (print 037) -------------------------------- */
.jooy-user-card {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 82px;
  padding: 16px 24px;
  background: #fff;
  border: 1px solid var(--jooy-line);
  border-radius: var(--jooy-radius);
}
.jooy-user-card + .jooy-user-card {
  margin-top: 16px;
}
.jooy-user-identity {
  flex: 1 1 auto;
  min-width: 0;
}
.jooy-user-name {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 17px;
  font-weight: 400;
  line-height: 22px;
  color: var(--jooy-ink);
}
.jooy-user-shield {
  font-size: 12px;
  color: var(--jooy-line-strong);
}
.jooy-user-shield.is-on {
  color: #c0621f;
}
.jooy-user-mail {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 18px;
  color: var(--jooy-muted-strong);
}
/* Colunas medidas no print 037: identidade 473 | meta 313 | selo 76 */
.jooy-user-meta {
  flex: 0 0 313px;
  max-width: 313px;
}
.jooy-user-meta-label {
  margin: 0;
  font-size: 13px;
  line-height: 18px;
  color: var(--jooy-muted-strong);
}
.jooy-user-meta-value {
  margin: 2px 0 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--jooy-ink);
}
.jooy-user-tail .label,
.jooy-user-tail .badge {
  padding: 5px 6px;
  font-size: 12px;
  line-height: 16px;
}
.jooy-user-tail {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  align-items: center;
}
#main-body .jooy-user-invites-title {
  margin-top: 32px;
}

/* --- 40.2 Linhas de escolha em formulário ------------------------------- */
.jooy-check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.jooy-check-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--jooy-line);
  border-radius: var(--jooy-radius-sm);
}
.jooy-check-note {
  display: block;
  font-size: 13px;
  line-height: 18px;
  color: var(--jooy-muted);
}

/* --- 40.3 Linha de estado ("… está desabilitada") ----------------------- */
.jooy-state-line {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 22px;
  color: var(--jooy-ink);
}
.jooy-state-line .jooy-state-off {
  font-weight: 700;
  color: var(--jooy-danger);
}
.jooy-state-line .jooy-state-on {
  font-weight: 700;
  color: var(--jooy-success);
}

/* Pilha de checkboxes sem moldura (preferências de e-mail, print 036) */
.jooy-check-stack.jooy-check-stack-plain {
  gap: 14px;
  padding: 0;
  background: transparent;
  border: 0;
}

/* Caixa do interruptor de lista de e-mails (print 036) */
.jooy-optin-box {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--jooy-line-strong);
  border-radius: var(--jooy-radius-sm);
}
.jooy-optin-label {
  font-size: 14px;
  color: var(--jooy-ink-soft);
}

.jooy-required {
  color: var(--jooy-danger);
}

/* ==========================================================================
   41. Formulários horizontais do WHMCS dentro do padrão flat
   --------------------------------------------------------------------------
   Vários templates do WHMCS (contato, redefinição de senha, contatos da
   conta) usam .form-group.row com o rótulo em coluna e alinhado à direita.
   O design põe sempre o rótulo acima do campo, então a linha volta a ser
   empilhada — sem precisar reescrever cada template.
   ========================================================================== */
.jooy-form-panel .form-group.row,
.jooy-form-page .primary-content .form-group.row {
  display: block;
  margin: 0 0 12px;
}
.jooy-form-panel .form-group.row > label,
.jooy-form-panel .form-group.row > .col-form-label,
.jooy-form-page .primary-content .form-group.row > label,
.jooy-form-page .primary-content .form-group.row > .col-form-label {
  display: block;
  flex: none;
  width: auto;
  max-width: none;
  padding: 0;
  text-align: left;
}
.jooy-form-panel .form-group.row > [class*="col-"]:not(label),
.jooy-form-page .primary-content .form-group.row > [class*="col-"]:not(label) {
  flex: none;
  width: 100%;
  max-width: none;
  padding: 0;
}

/* Grupo de campo com ícone: o ícone entra no campo, sem caixa cinza */
.jooy-form-panel .input-group,
.jooy-form-page .primary-content .input-group,
.jooy-page-password-reset-container .input-group,
.input-group-merge,
.jooy-auth-card .input-group {
  position: relative;
  display: block;
}
.jooy-form-panel .input-group-prepend,
.jooy-form-page .primary-content .input-group-prepend,
.jooy-page-password-reset-container .input-group-prepend,
.input-group-merge > .input-group-prepend,
.jooy-auth-card .input-group-prepend {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  height: 100%;
  margin: 0;
  pointer-events: none;
}
.jooy-form-panel .input-group-prepend .input-group-text,
.jooy-form-page .primary-content .input-group-prepend .input-group-text,
.jooy-page-password-reset-container .input-group-prepend .input-group-text,
.input-group-merge > .input-group-prepend > .input-group-text,
.jooy-auth-card .input-group-prepend .input-group-text {
  height: 100%;
  padding: 0 0 0 16px;
  font-size: 14px;
  color: var(--jooy-muted);
  background: transparent;
  border: 0;
}
.jooy-form-panel .input-group-prepend ~ .form-control,
.jooy-form-page .primary-content .input-group-prepend ~ .form-control,
.jooy-page-password-reset-container .input-group-prepend ~ .form-control,
.input-group-merge > .input-group-prepend ~ .form-control,
.jooy-auth-card .input-group-prepend ~ .form-control {
  width: 100%;
  padding-left: 44px;
  border-radius: var(--jooy-radius-sm);
}

/* Textos de apoio que o WHMCS emite como .text-muted/small */
.jooy-form-panel .text-muted small,
.jooy-form-panel small.text-muted,
.jooy-form-page .primary-content .text-muted small,
.jooy-form-page .primary-content small.text-muted {
  font-size: 13px;
  line-height: 18px;
  color: var(--jooy-muted);
}
