:root {
    --bg: #f5efe6;
    --panel: rgba(255, 255, 255, 0.84);
    --panel-strong: #ffffff;
    --text: #1f2430;
    --muted: #667085;
    --border: rgba(31, 36, 48, 0.12);
    --accent: #1f6feb;
    --accent-dark: #1647a6;
    --accent-green-soft: rgba(16, 226, 101, 0.08);
    --shadow: 0 24px 64px rgba(15, 23, 42, 0.12);
}

/* PDV - layout de caixa com itens ao centro e totais à direita */
.pdv-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at top left, rgba(16, 226, 101, 0.08), transparent 24%),
        linear-gradient(180deg, #1a1e1a 0%, #111411 100%);
    color: #e9fff2;
}

.pdv-form-shell {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.pdv-navbar {
    background: #131613;
    border-bottom: 2px solid #10e265;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.pdv-brand {
    color: #10e265;
}

.pdv-brand span {
    color: #ffffff;
}

.pdv-workspace {
    min-height: 0;
}

.pdv-layout {
    min-height: calc(100vh - 130px);
}

.pdv-center-column,
.pdv-right-column {
    min-height: 0;
}

.pdv-entry-card,
.pdv-items-card,
.pdv-summary-card {
    background: rgba(34, 39, 34, 0.98);
    border: 1px solid rgba(16, 226, 101, 0.16);
    border-radius: 18px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.pdv-entry-card .card-body {
    padding: 1rem 1.1rem 1.1rem;
}

.pdv-label {
    color: #10e265;
    letter-spacing: 0.08em;
}

.pdv-search-input,
.pdv-qty-entry,
.pdv-summary-card .form-control,
.pdv-summary-card .form-select {
    background: #e9fff2 !important;
    border: 1px solid rgba(16, 226, 101, 0.18) !important;
    color: #1a1e1a !important;
    font-weight: 500;
    min-height: 52px;
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.pdv-search-input::placeholder,
.pdv-summary-card .form-control::placeholder,
.pdv-summary-card .form-select::placeholder {
    color: rgba(26, 30, 26, 0.5);
}

.pdv-search-input:focus,
.pdv-qty-entry:focus,
.pdv-summary-card .form-control:focus,
.pdv-summary-card .form-select:focus {
    border-color: #10e265 !important;
    box-shadow: 0 0 0 0.22rem rgba(16, 226, 101, 0.18) !important;
    background: #e9fff2 !important;
    color: #1a1e1a !important;
}

.pdv-qty-wrap {
    flex: 0 0 150px;
}

.pdv-add-wrap {
    flex: 0 0 190px;
    padding-top: 1.65rem;
}

.pdv-add-trigger {
    min-height: 52px;
    background: linear-gradient(135deg, #10e265, #0ec959);
    color: #1a1e1a;
    border: 1px solid #0f8f54;
    box-shadow: 0 12px 24px rgba(16, 226, 101, 0.18);
}

.pdv-add-trigger:hover,
.pdv-add-trigger:focus {
    background: linear-gradient(135deg, #0ec959, #0bbd52);
    color: #1a1e1a;
    border-color: #0f8f54;
}

.pdv-suggestions {
    max-height: 290px;
    overflow: auto;
    border: 1px solid rgba(16, 226, 101, 0.14);
    border-radius: 12px;
    background: rgba(17, 22, 17, 0.98);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
}

.pdv-suggestion,
.pdv-suggestion-empty {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 0.85rem 1rem;
    border: 0;
    background: transparent;
    color: #ffffff;
    text-align: left;
}

.pdv-suggestion:hover {
    background: rgba(16, 226, 101, 0.1);
}

.pdv-suggestion-name {
    font-weight: 700;
}

.pdv-suggestion-price {
    color: #10e265;
    font-weight: 800;
    white-space: nowrap;
}

.pdv-items-card {
    min-height: 0;
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.pdv-items-header {
    padding: 1rem 1.1rem;
    background:
        linear-gradient(180deg, rgba(19, 22, 19, 0.98), rgba(19, 22, 19, 0.92)),
        radial-gradient(circle at top right, rgba(16, 226, 101, 0.08), transparent 30%);
    border-bottom: 1px solid rgba(16, 226, 101, 0.12);
    border-radius: 18px 18px 0 0;
}

.pdv-section-kicker {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #10e265;
    font-weight: 800;
}

.pdv-items-header h5 {
    color: #f4fff7;
}

.pdv-cart-count {
    display: inline-grid;
    gap: 0.1rem;
    min-width: 94px;
    padding: 0.7rem 0.9rem;
    border-radius: 16px;
    background: rgba(16, 226, 101, 0.08);
    border: 1px solid rgba(16, 226, 101, 0.16);
    text-align: center;
}

.pdv-cart-count span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(233, 255, 242, 0.64);
    font-weight: 700;
}

.pdv-cart-count strong {
    font-size: 1.5rem;
    color: #10e265;
    line-height: 1;
}

.pdv-items-table-wrap {
    max-height: calc(100vh - 325px);
    overflow: auto;
    border-radius: 0 0 18px 18px;
}

.pdv-cart-table {
    min-width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.pdv-cart-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #131613 !important;
    color: #10e265 !important;
    border-bottom: 2px solid rgba(16, 226, 101, 0.18) !important;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pdv-cart-table tbody td {
    background: transparent !important;
    border-bottom: 1px solid rgba(233, 255, 242, 0.08) !important;
    color: #f4fff7;
    vertical-align: middle;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.pdv-cart-table tbody tr:hover td {
    background: rgba(16, 226, 101, 0.04) !important;
}

.pdv-item-name {
    font-weight: 800;
    color: #f4fff7;
    line-height: 1.15;
    font-size: 1rem;
}

.pdv-item-meta {
    color: rgba(244, 255, 247, 0.58);
    font-size: 0.84rem;
    margin-top: 0.25rem;
}

.pdv-unit-price {
    color: #10e265;
    font-weight: 800;
    white-space: nowrap;
}

.pdv-qty-input {
    max-width: 110px;
    margin-inline: auto;
    background: #e9fff2 !important;
    color: #1a1e1a !important;
    border-color: rgba(16, 226, 101, 0.22) !important;
    min-height: 46px;
    border-radius: 12px;
}

.pdv-subtotal {
    color: #f4fff7;
    font-weight: 800;
    font-size: 1.05rem;
    white-space: nowrap;
}

.pdv-remove-button {
    border-color: rgba(244, 255, 247, 0.2);
    color: #f4fff7;
}

.pdv-remove-button:hover {
    background: rgba(180, 35, 24, 0.12);
    border-color: rgba(239, 68, 68, 0.35);
    color: #ffffff;
}

.pdv-right-column {
    position: sticky;
    top: 1rem;
    align-self: flex-start;
}

.pdv-total-panel {
    background:
        linear-gradient(135deg, rgba(16, 226, 101, 0.18), rgba(16, 226, 101, 0.08)),
        rgba(15, 18, 15, 0.95);
    border: 1px solid rgba(16, 226, 101, 0.24);
    border-radius: 18px;
    padding: 1rem 1.15rem 1.1rem;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.pdv-total-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(233, 255, 242, 0.68);
    font-weight: 800;
}

.pdv-total-value {
    font-size: clamp(2.3rem, 6vw, 4.5rem);
    line-height: 1;
    color: #10e265;
    font-weight: 900;
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 0.02em;
    margin-top: 0.35rem;
}

.pdv-total-subtitle {
    color: rgba(233, 255, 242, 0.68);
    margin-top: 0.55rem;
}

.pdv-summary-card {
    position: sticky;
    top: 1rem;
}

.pdv-section-title {
    color: #10e265;
    border-color: rgba(16, 226, 101, 0.18) !important;
}

.pdv-metric {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(233, 255, 242, 0.08);
}

.pdv-metric span {
    color: rgba(233, 255, 242, 0.68);
    font-weight: 600;
}

.pdv-metric strong {
    font-size: 1.15rem;
    color: #f4fff7;
    white-space: nowrap;
}

.pdv-field-group .form-label {
    margin-bottom: 0.45rem;
}

.pdv-summary-note {
    padding: 0.95rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(16, 226, 101, 0.14);
    background: rgba(16, 226, 101, 0.05);
}

.pdv-summary-metrics {
    margin-bottom: 0.25rem;
}

.pdv-metric-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 112px;
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid rgba(16, 226, 101, 0.18);
    background:
        linear-gradient(135deg, rgba(16, 226, 101, 0.1), rgba(16, 226, 101, 0.04)),
        rgba(15, 18, 15, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.pdv-metric-card span {
    color: rgba(233, 255, 242, 0.68);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.pdv-metric-card strong {
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    line-height: 1.1;
    color: #f4fff7;
    white-space: nowrap;
}

.btn-pay {
    background: #10e265 !important;
    color: #1a1e1a !important;
    font-weight: 800;
    text-transform: uppercase;
    border: 0;
    box-shadow: 0 12px 24px rgba(16, 226, 101, 0.18);
}

.btn-pay:hover {
    background: var(--accent-green-soft) !important;
    border-color: rgba(16, 226, 101, 0.24) !important;
    box-shadow: 0 0 15px rgba(16, 226, 101, 0.4);
}

.footer-shortcuts {
    background: #131613;
    border-top: 1px solid rgba(16, 226, 101, 0.12);
    padding: 0.75rem 0;
}

.btn-shortcut {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(16, 226, 101, 0.14);
    color: #ffffff;
    font-weight: 500;
    text-align: left;
    transition: all 0.2s;
}

.btn-shortcut:hover {
    background: var(--accent-green-soft);
    border-color: rgba(16, 226, 101, 0.24);
    color: #0f8f54;
}

@media (max-width: 1199.98px) {
    .pdv-summary-card {
        position: static;
    }

    .pdv-right-column {
        position: static;
        top: auto;
        align-self: stretch;
    }

    .pdv-items-table-wrap {
        max-height: none;
    }

    .pdv-layout {
        min-height: auto;
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(31, 111, 235, 0.18), transparent 28%),
        radial-gradient(circle at right top, rgba(255, 175, 64, 0.18), transparent 22%),
        var(--bg);
    color: var(--text);
}

body.app-body {
    height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(16, 226, 101, 0.06), transparent 24%),
        radial-gradient(circle at top right, rgba(16, 226, 101, 0.04), transparent 18%),
        #f5efe6;
    color: var(--text);
}

body.guest-body {
    min-height: 100vh;
    background: #1a1e1a;
    color: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
}

.app-shell {
    height: 100vh;
    display: grid;
    grid-template-columns: 280px 1fr;
    transition: grid-template-columns 0.25s ease;
    overflow: hidden;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
    background:
        radial-gradient(circle at top, rgba(16, 226, 101, 0.12), transparent 24%),
        rgba(10, 14, 10, 0.96);
    color: #fff;
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.02);
    border-right: 1px solid rgba(16, 226, 101, 0.12);
    overflow: hidden;
    min-height: 0;
    height: 100%;
}

.sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand-text {
    display: grid;
    gap: 0.15rem;
}

.brand, .auth-brand {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #10E265;
    color: #111411;
    box-shadow: 0 0 20px rgba(16, 226, 101, 0.34);
    font-weight: 800;
    letter-spacing: 0.03em;
}

.brand-name {
    font-size: 1.05rem;
    font-weight: 800;
}

.brand-subtitle,
.eyebrow,
.metric-card small,
.quick-card li,
.auth-copy p {
    color: var(--muted);
}

.brand-subtitle {
    color: rgba(255, 255, 255, 0.58);
}

.menu-section-label {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.52);
    font-weight: 700;
}

.menu {
    gap: 0.75rem !important;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    min-height: 0;
    overflow-y: auto;
    scrollbar-gutter: stable;
    overscroll-behavior: contain;
}

.sidebar-foot {
    flex: 0 0 auto;
    margin-top: 0.25rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-logout-form {
    margin: 0;
}

.sidebar-logout-button {
    width: 100%;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.82);
}

.sidebar-logout-button:hover,
.sidebar-logout-button:focus-visible {
    background: rgba(226, 58, 58, 0.14);
    border-color: rgba(226, 58, 58, 0.32);
    color: #ff6b6b;
    box-shadow: 0 0 0 1px rgba(226, 58, 58, 0.14), 0 10px 25px rgba(0, 0, 0, 0.22);
    transform: translateX(2px);
}

.sidebar-logout-button .menu-svg {
    fill: currentColor;
}

.menu-section-label {
    margin: 0.55rem 0 -0.1rem;
    padding: 0 0.15rem;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.92rem 1rem;
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.menu-icon {
    width: 2.1rem;
    height: 2.1rem;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(16, 226, 101, 0.1);
    color: #10E265;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    flex: 0 0 auto;
    box-shadow: inset 0 0 0 1px rgba(16, 226, 101, 0.08);
}

.menu-svg {
    width: 1.05rem;
    height: 1.05rem;
    fill: currentColor;
}

.menu-item:hover,
.menu-item.active {
    background: rgba(16, 226, 101, 0.08);
    border-color: rgba(16, 226, 101, 0.16);
    box-shadow: 0 0 0 1px rgba(16, 226, 101, 0.08), 0 10px 25px rgba(0, 0, 0, 0.22);
    transform: translateX(2px);
}

.menu-group-trigger.active {
    background: rgba(16, 226, 101, 0.08);
}

.menu-group {
    display: grid;
}

.menu-group-trigger {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.menu-group-caret {
    margin-left: auto;
    transition: transform 0.2s ease;
}

.menu-group-trigger:not(.collapsed) .menu-group-caret {
    transform: rotate(180deg);
}

.menu-submenu {
    display: grid;
    gap: 0.35rem;
    padding-left: 2.1rem;
    margin-top: 0.35rem;
}

.menu-submenu.collapse:not(.show) {
    display: none;
}

.menu-subitem {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 2.75rem;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid transparent;
    color: rgba(255, 255, 255, 0.86);
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    margin-left: 0.35rem;
    text-decoration: none;
}

.menu-subitem:hover,
.menu-subitem.active {
    background-color: rgba(16, 226, 101, 0.08) !important;
    border-color: rgba(16, 226, 101, 0.14);
    box-shadow: 0 0 0 1px rgba(16, 226, 101, 0.06);
    transform: translateX(2px);
}

.menu-subitem-label {
    white-space: nowrap;
}

.menu-label {
    white-space: nowrap;
}

.sidebar-toggle {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: rgba(16, 226, 101, 0.08);
    color: #10E265;
    border: 1px solid rgba(16, 226, 101, 0.15);
    cursor: pointer;
}

.sidebar-toggle:hover {
    background: rgba(16, 226, 101, 0.14);
}

.content {
    padding: 2rem;
    overflow-y: auto;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at top right, rgba(16, 226, 101, 0.05), transparent 26%),
        linear-gradient(180deg, #fbfaf7 0%, #f5efe6 100%);
    color: var(--text);
}

/* Cabeçalho superior compacto (barra branca com o título da tela + botões) */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    padding: 0.55rem 1rem;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #0f8f54;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
    color: #0f8f54;
}

.topbar-heading {
    min-width: 0;
}

.topbar h1 {
    margin: 0;
    font-size: clamp(1.25rem, 1.8vw, 1.6rem);
    line-height: 1.1;
    font-weight: 800;
}

.auth-copy h1 {
    margin: 0.2rem 0 0;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.05;
}

.topbar .eyebrow {
    color: #0f8f54;
}

.topbar-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Campo de quantidade da tela de Estoque (mais estreito e centralizado) */
.list-table [data-stock-qty] {
    max-width: 9rem;
    margin-inline: auto;
}

/* Barra de ações do Relatório de vendas dentro do topbar (compacta) */
.report-toolbar {
    margin: 0;
}

.report-toolbar-month {
    width: auto;
    min-width: 8.5rem;
    max-width: 11rem;
}

/* Cabeçalho do card de lista: rótulo + título iguais (caixa alta, negrito, mesma fonte) */
.list-card-head {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.1rem 0.5rem;
    margin-bottom: 0.85rem;
    min-width: 0;
}

.list-card-head > .list-card-kicker,
.list-card-head > .list-card-title {
    margin: 0 !important;
    font-size: 1.35rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.15;
}

/* contador "X de Y no seu plano" fica na própria linha, abaixo do título */
.list-card-head > .list-card-note {
    flex-basis: 100%;
    margin: 0.1rem 0 0 !important;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
}

/* Tabela de lista padronizada: 1ª coluna à esquerda, demais centralizadas,
   linhas compactas e rolagem horizontal contida no quadro do card. */
.list-table-wrap {
    overflow-x: auto !important;
    max-width: 100%;
    border-radius: 14px;
}

.list-table {
    width: 100%;
    margin-bottom: 0 !important;
}

.list-table > thead > tr > th,
.list-table > tbody > tr > td,
.list-table > tbody > tr > th {
    text-align: center !important;
    vertical-align: middle !important;
    padding: 0.45rem 0.55rem !important;
    font-size: 0.9rem;
}

.list-table > thead > tr > th {
    font-size: 0.78rem;
}

.list-table > thead > tr > th:first-child,
.list-table > tbody > tr > td:first-child,
.list-table > tbody > tr > th:first-child {
    text-align: left !important;
}

/* botões de ação centralizados na coluna */
.list-table .btn-group,
.list-table .btn-toolbar {
    justify-content: center;
}

/* Menu de ações (3 pontinhos) nas listas */
.list-table .list-actions {
    display: inline-block;
}

.list-actions-toggle {
    --bs-btn-padding-x: 0.45rem;
    --bs-btn-padding-y: 0.2rem;
    --bs-btn-font-size: 1rem;
    line-height: 1;
    border-radius: 8px;
}

.list-actions-toggle::after {
    display: none;
}

/* Componente dropdown (o bootstrap-custom.css do projeto não inclui o dropdown) */
.dropdown-menu {
    display: none;
    position: absolute;
    z-index: 1080;
    min-width: 10rem;
    margin: 0;
    padding: 0.4rem 0;
    list-style: none;
    text-align: left;
    background: #ffffff;
    border: 1px solid rgba(15, 143, 84, 0.18);
    border-radius: 0.6rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    color: #1b2a1f;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.45rem 1rem;
    clear: both;
    font-weight: 500;
    color: #1b2a1f;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(16, 226, 101, 0.12);
    color: #0f8f54;
}

.dropdown-item.text-danger:hover,
.dropdown-item.text-danger:focus {
    background: rgba(220, 53, 69, 0.12);
    color: #b02a37 !important;
}

.dropdown-divider {
    height: 0;
    margin: 0.35rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.list-actions .dropdown-menu {
    min-width: 9rem;
    font-size: 0.9rem;
}

/* deixar as colunas se ajustarem ao conteúdo (Ações vira só o 3 pontinhos) */
.list-table {
    table-layout: auto !important;
}

.list-table > colgroup > col {
    width: auto !important;
}

/* Corpo da página cresce para empurrar o rodapé sempre para o fim da tela. */
.content-body {
    flex: 1 0 auto;
    min-height: 0;
}

.app-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-shrink: 0;
    margin-top: 1.5rem;
    padding: 1rem 1.15rem;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #0f8f54;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
    color: #0f8f54;
}

.app-footer-brand {
    font-weight: 800;
    letter-spacing: 0.02em;
}

.app-footer-copy {
    color: #0f8f54;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
}

.auth-login-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at top, rgba(16, 226, 101, 0.12), transparent 30%),
        radial-gradient(circle at bottom right, rgba(16, 226, 101, 0.08), transparent 22%),
        #1a1e1a;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.auth-page-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background:
        radial-gradient(circle at top, rgba(16, 226, 101, 0.12), transparent 30%),
        radial-gradient(circle at bottom right, rgba(16, 226, 101, 0.08), transparent 22%),
        #1a1e1a;
    color: #ffffff;
}

.auth-page-shell .auth-panel {
    width: 100%;
    max-width: 420px;
    background: rgba(26, 30, 26, 0.86);
    border: 1px solid rgba(16, 226, 101, 0.16);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(16, 226, 101, 0.05);
    backdrop-filter: blur(10px);
}

.auth-page-shell .auth-panel--wide {
    max-width: 1180px;
}

.auth-page-shell .auth-panel--compact {
    max-width: 520px;
}

.auth-page-shell .auth-panel--form {
    max-width: none;
    width: 100%;
    background: rgba(26, 30, 26, 0.92);
}

.auth-page-shell .brand-logo-container,
.auth-page-shell .auth-brand-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.auth-page-shell .auth-brand-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.auth-page-shell .auth-brand-block {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.auth-page-shell .brand-symbol {
    width: 50px;
    height: 50px;
    background-color: var(--accent-green);
    border-radius: 12px;
    display: grid;
    place-items: center;
    box-shadow: 0 0 20px rgba(16, 226, 101, 0.4);
    font-weight: 800;
    color: var(--text-dark);
    font-size: 1.5rem;
    flex: 0 0 auto;
}

.auth-page-shell .brand-name {
    color: var(--text-light);
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -0.04em;
    margin: 0;
}

.auth-page-shell .brand-name span {
    color: var(--accent-green);
}

.auth-page-shell .auth-copy {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-page-shell .auth-copy h1,
.auth-page-shell .auth-copy h2 {
    margin: 0.15rem 0 0.5rem;
    font-size: 1.35rem;
    line-height: 1.15;
    color: #fff;
}

.auth-page-shell .auth-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.95rem;
}

.auth-page-shell .eyebrow-login,
.auth-page-shell .eyebrow-auth {
    color: rgba(255, 255, 255, 0.58);
    letter-spacing: 0.1em;
}

.auth-page-shell .auth-label {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.auth-page-shell .form-control {
    background-color: var(--bg-light) !important;
    border: 2px solid transparent;
    color: var(--text-dark) !important;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.auth-page-shell .form-control:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 12px rgba(16, 226, 101, 0.2);
    outline: none;
}

.auth-page-shell .btn-custom {
    width: 100%;
    background: var(--accent-green);
    color: var(--text-dark);
    border: none;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(16, 226, 101, 0.2);
}

.auth-page-shell .btn-custom:hover {
    background: var(--accent-green-soft);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 226, 101, 0.3);
    color: var(--text-dark);
}

.auth-page-shell .btn-custom:active {
    transform: translateY(1px);
}

.auth-page-shell .auth-links a,
.auth-page-shell .login-links a {
    color: var(--accent-green);
    text-decoration: none;
    font-size: 0.85rem;
    transition: opacity 0.2s ease;
}

.auth-page-shell .auth-links a:hover,
.auth-page-shell .login-links a:hover {
    text-decoration: underline;
    opacity: 0.9;
}

.auth-page-shell .text-muted-custom {
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 0.85rem;
}

.auth-page-shell .auth-panel .alert {
    border-radius: 12px;
}

.auth-page-shell .plan-selection-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.auth-page-shell .plan-card {
    display: block;
    min-height: 100%;
    background: rgba(26, 30, 26, 0.88);
    border: 1px solid rgba(16, 226, 101, 0.16);
    border-radius: 18px;
    color: #fff;
    padding: 1.25rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.auth-page-shell .plan-card:hover {
    transform: translateY(-2px);
    border-color: rgba(16, 226, 101, 0.45);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    color: #fff;
}

.auth-page-shell .plan-card.selected {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 1px rgba(16, 226, 101, 0.35), 0 0 20px rgba(16, 226, 101, 0.12);
}

.auth-page-shell .plan-card-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.58);
    font-weight: 700;
}

.auth-page-shell .plan-card-price {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.05;
}

.auth-page-shell .plan-card-price small {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.58);
    font-weight: 600;
}

.auth-page-shell .plan-card-description,
.auth-page-shell .plan-card-resources {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.78);
}

.auth-page-shell .plan-card-resources {
    padding-top: 0.9rem;
    border-top: 1px solid rgba(16, 226, 101, 0.12);
}

.auth-page-shell .auth-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 1.5rem 0;
}

@media (max-width: 1199.98px) {
    .auth-page-shell .plan-selection-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .auth-page-shell {
        padding: 1rem;
    }

    .auth-page-shell .auth-panel {
        padding: 2rem 1.25rem;
    }

    .auth-page-shell .plan-selection-grid {
        grid-template-columns: 1fr;
    }
}

.auth-login-shell .container {
    position: relative;
}

.auth-login-shell .login-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: rgba(26, 30, 26, 0.86);
    border: 1px solid rgba(16, 226, 101, 0.16);
    border-radius: 22px;
    padding: 2.5rem 2rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42), 0 0 28px rgba(16, 226, 101, 0.07);
    backdrop-filter: blur(12px);
}

.auth-login-shell .brand-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.auth-login-shell .brand-symbol {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--accent-green);
    color: var(--text-dark);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: 0 0 20px rgba(16, 226, 101, 0.38);
    margin-bottom: 0.75rem;
}

.auth-login-shell .brand-name {
    margin: 0;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.auth-login-shell .brand-name span {
    color: var(--accent-green);
}

.auth-login-shell .login-copy {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-login-shell .login-copy h2 {
    margin: 0.15rem 0 0.5rem;
    font-size: 1.35rem;
    line-height: 1.15;
    color: #fff;
}

.auth-login-shell .login-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.95rem;
}

.auth-login-shell .eyebrow-login {
    color: rgba(255, 255, 255, 0.58);
    letter-spacing: 0.1em;
}

.auth-login-shell .auth-label {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.auth-login-shell .form-control {
    background-color: var(--bg-light) !important;
    border: 2px solid transparent;
    color: var(--text-dark) !important;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.auth-login-shell .form-control:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 12px rgba(16, 226, 101, 0.2);
    outline: none;
}

.auth-login-shell .btn-custom {
    width: 100%;
    background: var(--accent-green);
    color: var(--text-dark);
    border: none;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(16, 226, 101, 0.2);
}

.auth-login-shell .btn-custom:hover {
    background: var(--accent-green-soft);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 226, 101, 0.3);
    color: var(--text-dark);
}

.auth-login-shell .btn-custom:active {
    transform: translateY(1px);
}

.auth-login-shell .login-links a {
    color: var(--accent-green);
    text-decoration: none;
    font-size: 0.85rem;
    transition: opacity 0.2s ease;
}

.auth-login-shell .login-links a:hover {
    text-decoration: underline;
    opacity: 0.9;
}

.auth-login-shell .text-muted-custom {
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 0.85rem;
}

.signup-page {
    max-width: 1280px;
}

.plan-card {
    display: block;
    border: 1px solid rgba(31, 36, 48, 0.12);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    color: var(--text);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
}

.plan-card:hover {
    transform: translateY(-3px);
    border-color: rgba(31, 111, 235, 0.3);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
    color: var(--text);
}

.plan-card.selected {
    border-color: rgba(31, 111, 235, 0.65);
    box-shadow: 0 22px 52px rgba(31, 111, 235, 0.16);
    transform: translateY(-2px);
}

.plan-card-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    font-weight: 800;
    color: var(--accent-dark);
}

.plan-card-price {
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
}

.plan-card-price small {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted);
    margin-top: 0.3rem;
}

.plan-card-description,
.plan-card-resources {
    font-size: 0.95rem;
}

.plan-card-resources {
    padding-top: 0.9rem;
    border-top: 1px solid rgba(31, 36, 48, 0.08);
    color: var(--text);
}

.hero-card,
.metric-card,
.quick-card,
.auth-panel {
    background: var(--panel);
    backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.hero-card {
    grid-column: span 7;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(31, 111, 235, 0.96), rgba(22, 71, 166, 0.9));
    color: #fff;
}

.hero-card .eyebrow,
.hero-card p {
    color: rgba(255, 255, 255, 0.82);
}

.hero-card h2 {
    margin: 0.4rem 0 0.75rem;
    font-size: clamp(1.6rem, 2.4vw, 2.3rem);
}

.dashboard-page .card {
    background: #ffffff;
    color: #0f8f54;
    border: 1px solid #0f8f54;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.dashboard-all-green,
.dashboard-all-green p,
.dashboard-all-green h1,
.dashboard-all-green h2,
.dashboard-all-green h3,
.dashboard-all-green h4,
.dashboard-all-green h5,
.dashboard-all-green h6,
.dashboard-all-green small,
.dashboard-all-green strong,
.dashboard-all-green span,
.dashboard-all-green li,
.dashboard-all-green a {
    color: #0f8f54 !important;
}

.theme-dark-page .text-white,
.theme-dark-page .text-white-50,
.theme-dark-page .text-light,
.theme-dark-page .form-text.text-white-50,
.ingredients-page .text-white,
.ingredients-page .text-white-50,
.ingredients-page .text-light,
.pdv-page .text-white,
.pdv-page .text-white-50,
.pdv-page .text-light {
    color: #0f8f54 !important;
}

.dashboard-page .card-body {
    color: inherit;
}

/* Utilitários que o bootstrap-custom enxuto não trazia. */
.text-start { text-align: left !important; }
.text-center { text-align: center !important; }
.d-none { display: none !important; }
.d-inline-flex { display: inline-flex !important; }

/* --- KPIs coloridos da dashboard (3 por linha, conteúdo centralizado) --- */
.dashboard-page .kpi {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #e6efe9;
    border-top: 3px solid #0f8f54;
    border-radius: 16px;
    padding: 18px;
    height: 100%;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}
.dashboard-page .kpi-head { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.dashboard-page .kpi-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 143, 84, 0.12);
    color: #0f8f54;
}
.dashboard-page .kpi-icon svg { width: 18px; height: 18px; fill: currentColor; }
.dashboard-page .kpi-body { min-width: 0; }
.dashboard-page .kpi-label { font-size: 1rem; font-weight: 700; color: #16281d !important; }
.dashboard-page .kpi-num { font-size: 1.7rem; font-weight: 800; line-height: 1.15; margin: 2px 0; color: #0f8f54 !important; }
.dashboard-page .kpi-desc { font-size: 0.78rem; color: #8a978f !important; }

.dashboard-page .kpi--blue { border-top-color: #2563eb; }
.dashboard-page .kpi--blue .kpi-icon { background: rgba(37, 99, 235, 0.12); color: #2563eb; }
.dashboard-page .kpi--blue .kpi-num { color: #2563eb !important; }

.dashboard-page .kpi--cyan { border-top-color: #0891b2; }
.dashboard-page .kpi--cyan .kpi-icon { background: rgba(8, 145, 178, 0.12); color: #0891b2; }
.dashboard-page .kpi--cyan .kpi-num { color: #0891b2 !important; }

.dashboard-page .kpi--amber { border-top-color: #d97706; }
.dashboard-page .kpi--amber .kpi-icon { background: rgba(217, 119, 6, 0.14); color: #d97706; }
.dashboard-page .kpi--amber .kpi-num { color: #b45309 !important; }

.dashboard-page .kpi--purple { border-top-color: #7c3aed; }
.dashboard-page .kpi--purple .kpi-icon { background: rgba(124, 58, 237, 0.12); color: #7c3aed; }
.dashboard-page .kpi--purple .kpi-num { color: #7c3aed !important; }

.dashboard-page .kpi--pink { border-top-color: #db2777; }
.dashboard-page .kpi--pink .kpi-icon { background: rgba(219, 39, 119, 0.12); color: #db2777; }
.dashboard-page .kpi--pink .kpi-num { color: #db2777 !important; }

.dashboard-page .kpi--green { border-top-color: #0f8f54; }
.dashboard-page .kpi--green .kpi-icon { background: rgba(15, 143, 84, 0.12); color: #0f8f54; }
.dashboard-page .kpi--green .kpi-num { color: #0f8f54 !important; }

/* --- Gráfico de barras: receita dos últimos meses --- */
.dashboard-page .rev-chart { display: flex; gap: 12px; align-items: flex-end; }
.dashboard-page .rev-col { flex: 1 1 0; min-width: 0; text-align: center; }
.dashboard-page .rev-bar-wrap { height: 150px; display: flex; align-items: flex-end; }
.dashboard-page .rev-bar {
    width: 62%;
    margin: 0 auto;
    min-height: 4px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, #10e265, #0f8f54);
}
.dashboard-page .rev-val { font-size: 0.72rem; font-weight: 700; color: #14261c !important; margin-top: 6px; }
.dashboard-page .rev-label { font-size: 0.72rem; color: #8a978f !important; }

/* --- Perfil tributário: título à esquerda + 3 métricas na mesma linha --- */
.dashboard-page .tax-profile {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 14px 24px;
}
.dashboard-page .tax-profile > * { flex: 1 1 150px; min-width: 120px; }
.dashboard-page .tax-profile .tax-metric { text-align: center; }

.dashboard-page .card .text-muted,
.dashboard-page .card .text-uppercase.text-muted,
.dashboard-page .card small.text-muted {
    color: #0f8f54 !important;
}

.dashboard-page .dashboard-hero {
    background: #ffffff;
    border: 1px solid #0f8f54;
}

.dashboard-page .dashboard-hero .btn-light {
    background: #ffffff;
    color: #0f8f54;
    border-color: #0f8f54;
}

.dashboard-page .dashboard-hero .btn-light:hover {
    background: var(--accent-green-soft);
    border-color: rgba(16, 226, 101, 0.24);
    color: #0f8f54;
}

.dashboard-page .dashboard-hero .btn-outline-light {
    color: #0f8f54;
    border-color: #0f8f54;
}

.dashboard-page .dashboard-hero .btn-outline-light:hover {
    background: var(--accent-green-soft);
    border-color: rgba(16, 226, 101, 0.24);
    color: #0f8f54;
}

.dashboard-page .dashboard-stat-card {
    background: #ffffff;
    border: 1px solid #0f8f54;
}

.dashboard-page .dashboard-summary-card {
    background: #ffffff;
    border: 1px solid #0f8f54;
}

.dashboard-page .dashboard-list-card {
    background: #ffffff;
    border: 1px solid #0f8f54;
}

.dashboard-page .dashboard-mini-card {
    background: #ffffff !important;
    border-color: #0f8f54 !important;
    color: #0f8f54;
}

.dashboard-page .dashboard-mini-card strong {
    color: #0f8f54;
}

.dashboard-page .list-group-item {
    background: transparent;
    color: #0f8f54;
    border-color: #0f8f54;
}

.dashboard-page .list-group-item strong {
    color: #0f8f54;
}

.dashboard-page .list-group-item .text-muted {
    color: #0f8f54 !important;
}

.dashboard-page .dashboard-list-card .list-group {
    --bs-list-group-bg: transparent;
    --bs-list-group-border-color: #0f8f54;
}

.text-muted-custom {
    color: #0f8f54 !important;
}

.btn-precificae {
    background-color: #ffffff !important;
    color: #0f8f54 !important;
    border: 1px solid #0f8f54 !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

.btn-precificae:hover {
    background-color: var(--accent-green-soft) !important;
    color: #0f8f54 !important;
    border-color: rgba(16, 226, 101, 0.24) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18) !important;
}

.btn-outline-precificae {
    background-color: #ffffff !important;
    color: #0f8f54 !important;
    border: 1px solid #0f8f54 !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

.btn-outline-precificae:hover {
    background-color: var(--accent-green-soft) !important;
    color: #0f8f54 !important;
    border-color: rgba(16, 226, 101, 0.24) !important;
}

.alert-precificae-warning {
    background-color: #ffffff !important;
    border: 1px solid #0f8f54 !important;
    color: #0f8f54 !important;
    border-radius: 16px;
}

.ingredients-page .card {
    background: linear-gradient(180deg, rgba(8, 12, 8, 0.98), rgba(5, 8, 5, 0.96));
    color: #f4fff7;
    border: 1px solid rgba(16, 226, 101, 0.1);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.ingredients-page .card-body {
    color: inherit;
}

.ingredients-page .card .text-muted,
.ingredients-page .card .text-uppercase.text-muted,
.ingredients-page .card small.text-muted,
.ingredients-page .card .form-text {
    color: rgba(244, 255, 247, 0.62) !important;
}

.ingredients-page .ingredient-hero {
    background:
        radial-gradient(circle at top right, rgba(16, 226, 101, 0.12), transparent 34%),
        linear-gradient(135deg, rgba(8, 12, 8, 0.98), rgba(5, 8, 5, 0.96));
    border: 1px solid rgba(16, 226, 101, 0.12);
}

.ingredients-page .ingredient-panel,
.ingredients-page .ingredient-form-card {
    background: linear-gradient(180deg, rgba(9, 14, 9, 0.98), rgba(5, 8, 5, 0.96));
}

.ingredients-page .ingredient-preview,
.ingredients-page .ingredients-empty-state {
    background: rgba(16, 226, 101, 0.05);
    border: 1px solid rgba(16, 226, 101, 0.16);
    color: #f4fff7;
    border-radius: 14px;
}

.ingredients-page .table {
    --bs-table-bg: transparent;
    --bs-table-color: #f4fff7;
    --bs-table-bg-state: rgba(255, 255, 255, 0.03);
    --bs-table-striped-bg: rgba(255, 255, 255, 0.04);
    --bs-table-hover-bg: rgba(16, 226, 101, 0.08);
    --bs-table-border-color: rgba(16, 226, 101, 0.08);
    margin-bottom: 0;
}

.ingredients-page .ingredients-table {
    width: 100%;
    table-layout: fixed;
}

.ingredients-page .ingredients-table-wrap {
    border: 1px solid rgba(16, 226, 101, 0.14);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(7, 10, 7, 0.7);
}

.ingredients-page .ingredients-table thead.table-light,
.ingredients-page .ingredients-table thead th {
    color: #f4fff7;
    background: rgba(16, 226, 101, 0.08);
    border-bottom-color: rgba(16, 226, 101, 0.16);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 700;
}

.ingredients-page .table tbody td,
.ingredients-page .table tbody th {
    border-top-color: rgba(16, 226, 101, 0.08);
    background-clip: padding-box;
    white-space: normal;
    overflow-wrap: anywhere;
}

.ingredients-page .table-hover tbody tr:hover {
    color: #f4fff7;
}

.table-hover-soft {
    --bs-table-hover-bg: rgba(16, 226, 101, 0.08);
}

.table-hover-soft tbody tr:hover > * {
    background: rgba(16, 226, 101, 0.08) !important;
}

.ingredients-page .ingredients-table tbody tr:nth-of-type(even) > * {
    --bs-table-accent-bg: rgba(255, 255, 255, 0.02);
}

.ingredients-page .ingredients-table tbody tr > * {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

.ingredients-page .badge {
    background: rgba(16, 226, 101, 0.08) !important;
    color: #bfffd2 !important;
    border: 1px solid rgba(16, 226, 101, 0.16) !important;
}

.ingredients-page .table .btn-group-sm .btn {
    border-radius: 10px;
    padding: 0.35rem 0.7rem;
    font-size: 0.82rem;
}

.ingredients-page .ingredient-col-name {
    width: 24%;
}

.ingredients-page .ingredient-col-unit {
    width: 14%;
}

.ingredients-page .ingredient-col-quantity {
    width: 14%;
}

.ingredients-page .ingredient-col-value {
    width: 16%;
}

.ingredients-page .ingredient-col-unit-value {
    width: 16%;
}

.ingredients-page .ingredient-col-actions {
    width: 16%;
}

.ingredients-page .ingredients-table .text-end {
    white-space: nowrap;
}

.ingredients-page dl dt {
    color: rgba(244, 255, 247, 0.78);
    font-weight: 600;
}

.ingredients-page dl dd {
    color: #f4fff7;
}

.ingredients-page .form-control,
.ingredients-page .form-select,
.ingredients-page textarea.form-control {
    background-color: rgba(12, 16, 12, 0.96);
    color: #f4fff7;
    border-color: rgba(16, 226, 101, 0.16);
}

.ingredients-page .form-control::placeholder,
.ingredients-page .form-select::placeholder,
.ingredients-page textarea.form-control::placeholder {
    color: rgba(244, 255, 247, 0.42);
}

.ingredients-page .form-control:focus,
.ingredients-page .form-select:focus,
.ingredients-page textarea.form-control:focus {
    background-color: rgba(12, 16, 12, 0.98);
    color: #f4fff7;
    border-color: rgba(16, 226, 101, 0.6);
    box-shadow: 0 0 0 0.2rem rgba(16, 226, 101, 0.12);
}

.ingredients-page .btn-outline-secondary,
.ingredients-page .btn-outline-primary {
    color: #f4fff7;
    border-color: rgba(244, 255, 247, 0.22);
}

.ingredients-page .btn-outline-secondary:hover,
.ingredients-page .btn-outline-primary:hover {
    background: rgba(16, 226, 101, 0.1);
    border-color: rgba(16, 226, 101, 0.24);
    color: #f4fff7;
}

.ingredients-page .btn-danger {
    box-shadow: 0 12px 24px rgba(180, 35, 24, 0.18);
}

.billing-page {
    min-height: 100%;
}

.billing-all-green {
    background: #ffffff !important;
    color: #0f8f54 !important;
}

.billing-all-green .card,
.billing-all-green .billing-hero,
.billing-all-green .billing-surface,
.billing-all-green .billing-metric-card,
.billing-all-green .billing-table-wrap,
.billing-all-green .billing-empty-state,
.billing-all-green .alert,
.billing-all-green .badge,
.billing-all-green .table,
.billing-all-green .table-responsive,
.billing-all-green .btn,
.billing-all-green .btn-primary,
.billing-all-green .btn-outline-secondary,
.billing-all-green .btn-outline-primary {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
}

.billing-all-green .card,
.billing-all-green .billing-hero,
.billing-all-green .billing-surface,
.billing-all-green .billing-metric-card,
.billing-all-green .billing-table-wrap,
.billing-all-green .billing-empty-state,
.billing-all-green .alert,
.billing-all-green .badge {
    border: 1px solid #0f8f54 !important;
}

.billing-all-green .billing-hero {
    background:
        radial-gradient(circle at top right, rgba(15, 143, 84, 0.08), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 248, 0.96));
}

.billing-all-green .billing-kicker {
    color: #0f8f54;
    letter-spacing: 0.08em;
}

.billing-all-green .billing-muted,
.billing-all-green .billing-section-hint,
.billing-all-green .text-muted,
.billing-all-green .text-muted-custom {
    color: rgba(15, 143, 84, 0.82) !important;
}

.billing-all-green .btn-billing-primary,
.billing-all-green .btn-primary {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border: 1px solid #0f8f54 !important;
    font-weight: 700;
}

.billing-all-green .form-control,
.billing-all-green .form-select,
.billing-all-green .input-group-text {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
}

.billing-all-green .form-control::placeholder,
.billing-all-green .form-select::placeholder,
.billing-all-green textarea::placeholder {
    color: rgba(15, 143, 84, 0.65) !important;
}

.billing-all-green .form-control:focus,
.billing-all-green .form-select:focus,
.billing-all-green textarea:focus {
    border-color: #0f8f54 !important;
    box-shadow: 0 0 0 0.2rem rgba(15, 143, 84, 0.18) !important;
}

.billing-all-green .btn-billing-primary:hover,
.billing-all-green .btn-primary:hover,
.billing-all-green .btn-outline-secondary:hover,
.billing-all-green .btn-outline-primary:hover {
    background: rgba(15, 143, 84, 0.08) !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
}

.billing-all-green .billing-section-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid rgba(15, 143, 84, 0.14);
}

.billing-all-green .billing-section-header h3 {
    color: #0f8f54;
}

.billing-all-green .billing-section-hint {
    font-size: 0.92rem;
}

.billing-all-green .billing-metric-card {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(15, 143, 84, 0.06), rgba(15, 143, 84, 0.02)),
        #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.billing-all-green .billing-metric-card span {
    color: rgba(15, 143, 84, 0.7);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.billing-all-green .billing-metric-card strong {
    color: #0f8f54;
    font-size: 1.25rem;
    line-height: 1.15;
}

.billing-all-green .billing-table-wrap {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
}

.billing-all-green .billing-table {
    width: 100%;
    table-layout: fixed;
    margin-bottom: 0;
}

.billing-all-green .billing-table thead.table-light,
.billing-all-green .billing-table thead th {
    color: #0f8f54;
    background: rgba(15, 143, 84, 0.08);
    border-bottom-color: rgba(15, 143, 84, 0.16);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 700;
}

.billing-all-green .billing-table tbody td,
.billing-all-green .billing-table tbody th {
    border-top-color: rgba(15, 143, 84, 0.08);
    background-clip: padding-box;
    white-space: normal;
    overflow-wrap: anywhere;
    color: #0f8f54;
}

.billing-all-green .billing-table tbody tr:nth-of-type(even) > * {
    --bs-table-accent-bg: rgba(15, 143, 84, 0.02);
}

.billing-all-green .billing-table tbody tr > * {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

.billing-all-green .billing-table .text-end {
    white-space: nowrap;
}

.billing-all-green .billing-empty-state {
    padding: 1.1rem 1.2rem;
    border-radius: 14px;
    background: rgba(15, 143, 84, 0.04);
}

.billing-all-green .badge {
    background: rgba(15, 143, 84, 0.08) !important;
    color: #0f8f54 !important;
    border: 1px solid rgba(15, 143, 84, 0.16) !important;
}

.theme-dark-page .card {
    background: #ffffff;
    color: #0f8f54;
    border: 1px solid #0f8f54;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.theme-dark-page .card-body {
    color: inherit;
}

.theme-dark-page .card .text-muted,
.theme-dark-page .card .text-uppercase.text-muted,
.theme-dark-page .card small.text-muted,
.theme-dark-page .card .form-text,
.theme-dark-page .text-muted {
    color: #0f8f54 !important;
}

.theme-dark-page .table {
    --bs-table-bg: transparent;
    --bs-table-color: #0f8f54;
    --bs-table-striped-bg: rgba(255, 255, 255, 0.02);
    --bs-table-hover-bg: rgba(16, 226, 101, 0.08);
    --bs-table-border-color: rgba(16, 226, 101, 0.08);
}

.theme-dark-page .table thead th {
    color: #0f8f54;
    border-bottom-color: rgba(16, 226, 101, 0.16);
}

.theme-dark-page thead.table-light,
.theme-dark-page .table-light {
    --bs-table-bg: transparent;
    background: transparent !important;
    color: #0f8f54 !important;
}

.theme-dark-page .table tbody td,
.theme-dark-page .table tbody th {
    border-top-color: rgba(16, 226, 101, 0.08);
}

.theme-dark-page .table-hover tbody tr:hover {
    color: #0f8f54;
}

.theme-dark-page .badge {
    background: rgba(16, 226, 101, 0.08) !important;
    color: #0f8f54 !important;
    border: 1px solid rgba(16, 226, 101, 0.16) !important;
}

.theme-dark-page .alert {
    border-radius: 16px;
}

.app-body .alert-success {
    background: linear-gradient(135deg, rgba(16, 226, 101, 0.18), rgba(16, 226, 101, 0.08)) !important;
    color: #0f8f54 !important;
    border-color: rgba(16, 226, 101, 0.55) !important;
    border-left: 6px solid #10e265 !important;
    box-shadow: 0 12px 28px rgba(16, 226, 101, 0.18), 0 0 0 1px rgba(16, 226, 101, 0.08) !important;
    font-weight: 700;
}

.app-body .alert-success .alert-link {
    color: #0b6b3f !important;
    font-weight: 800;
}

.theme-dark-page .alert-danger {
    background: rgba(180, 35, 24, 0.08);
    color: #0f8f54;
    border-color: rgba(180, 35, 24, 0.25);
}

.theme-dark-page .alert-success {
    background: linear-gradient(135deg, rgba(16, 226, 101, 0.22), rgba(16, 226, 101, 0.1)) !important;
    color: #e9fff2 !important;
    border-color: rgba(16, 226, 101, 0.55) !important;
    border-left: 6px solid #10e265 !important;
    box-shadow: 0 12px 28px rgba(16, 226, 101, 0.18), 0 0 0 1px rgba(16, 226, 101, 0.08) !important;
    font-weight: 700;
}

.theme-dark-page .alert-success .alert-link {
    color: #ffffff !important;
    font-weight: 800;
}

.theme-dark-page .alert-info {
    background: rgba(31, 111, 235, 0.1);
    color: #0f8f54;
    border-color: rgba(31, 111, 235, 0.22);
}

.theme-dark-page .alert-warning {
    background: rgba(255, 193, 7, 0.08);
    color: #0f8f54;
    border-color: rgba(255, 193, 7, 0.22);
}

.theme-dark-page .alert-secondary {
    background: rgba(16, 226, 101, 0.05);
    color: #0f8f54;
    border-color: rgba(16, 226, 101, 0.14);
}

.theme-dark-page .bg-light,
.theme-dark-page .bg-body-tertiary,
.theme-dark-page .bg-primary-subtle,
.theme-dark-page .bg-warning-subtle,
.theme-dark-page .bg-danger-subtle,
.theme-dark-page .bg-success-subtle {
    background: #ffffff !important;
    color: #0f8f54 !important;
}

.theme-dark-page .border-primary-subtle,
.theme-dark-page .border-warning-subtle,
.theme-dark-page .border-danger-subtle,
.theme-dark-page .border-success-subtle {
    border-color: rgba(16, 226, 101, 0.14) !important;
}

.theme-dark-page .calculator-hero {
    background:
        radial-gradient(circle at top right, rgba(16, 226, 101, 0.12), transparent 34%),
        #ffffff;
    border: 1px solid #0f8f54;
}

.calculator-page .calculator-panel,
.calculator-page .calculator-display-panel {
    background: #ffffff;
    border: 1px solid #0f8f54;
}

.calculator-page .calculator-panel-head {
    padding-bottom: 1rem;
    border-bottom: 1px solid #0f8f54;
}

.calculator-page .calculator-field .form-label {
    color: #0f8f54;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.calculator-page .calculator-field .form-select,
.calculator-page .calculator-field .form-control {
    width: 100%;
    min-height: 38px;
    border-radius: 0.375rem;
    font-size: 1rem;
}

.calculator-page .calculator-input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.calculator-page .calculator-input-group .input-group-text {
    background: rgba(16, 226, 101, 0.1);
    color: #f4fff7;
    border-color: rgba(16, 226, 101, 0.16);
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    min-width: auto;
    padding-inline: 0.75rem;
    justify-content: center;
    font-weight: 700;
    min-height: 38px;
}

.calculator-page .calculator-options {
    padding: 1rem;
    border-radius: 16px;
    background: rgba(16, 226, 101, 0.05);
    border: 1px solid rgba(16, 226, 101, 0.12);
}

.calculator-page .calculator-switch .form-check-input {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(16, 226, 101, 0.18);
}

.calculator-page .calculator-switch .form-check-input:checked {
    background-color: #10e265;
    border-color: #10e265;
}

.calculator-page .calculator-switch .form-check-label {
    color: rgba(244, 255, 247, 0.86);
    font-weight: 600;
}

.calculator-page .calculator-display-panel {
    position: relative;
}

.calculator-page .calculator-display-panel::before {
    content: '';
    position: absolute;
    inset: 1rem 1rem auto 1rem;
    height: 2px;
    background: linear-gradient(90deg, rgba(16, 226, 101, 0), rgba(16, 226, 101, 0.55), rgba(16, 226, 101, 0));
    opacity: 0.8;
}

.calculator-page .calculator-badge {
    background: rgba(16, 226, 101, 0.08) !important;
    color: #f4fff7 !important;
    border: 1px solid rgba(16, 226, 101, 0.16) !important;
}

.calculator-page .calculator-result-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 250, 246, 0.92));
    border: 1px solid rgba(31, 111, 235, 0.12);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.calculator-page .calculator-price-display {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #10e265;
    text-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.calculator-page .metric-tile {
    border-width: 1px;
    border-radius: 18px;
}

.calculator-page .calculator-breakdown-wrap {
    border: 1px solid rgba(16, 226, 101, 0.12);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(7, 10, 7, 0.7);
}

.calculator-page .calculator-breakdown {
    --bs-table-bg: transparent;
    --bs-table-color: #f4fff7;
    --bs-table-bg-state: rgba(255, 255, 255, 0.03);
    --bs-table-striped-bg: rgba(255, 255, 255, 0.04);
    --bs-table-hover-bg: rgba(16, 226, 101, 0.08);
    --bs-table-border-color: rgba(16, 226, 101, 0.08);
}

.calculator-page .calculator-breakdown th {
    color: #f4fff7;
    font-weight: 700;
    width: 46%;
}

.calculator-page .calculator-breakdown td {
    color: rgba(244, 255, 247, 0.9);
}

.calculator-page .calculator-breakdown tbody tr > * {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

.calculator-page .calculator-hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.calculator-page .btn.btn-primary {
    box-shadow: 0 14px 28px rgba(16, 226, 101, 0.16);
}

.calculator-page .d-grid > .btn {
    min-height: auto;
}

.calculator-page .btn.btn-outline-secondary {
    color: #f4fff7;
    border-color: rgba(244, 255, 247, 0.22);
}

.calculator-page .btn.btn-outline-secondary:hover {
    color: #f4fff7;
    background: rgba(16, 226, 101, 0.1);
    border-color: rgba(16, 226, 101, 0.24);
}

.calculator-page .calculator-metrics .card-body {
    padding: 1.1rem;
}

.theme-dark-page .form-control,
.theme-dark-page .form-select,
.theme-dark-page textarea.form-control {
    background-color: rgba(12, 16, 12, 0.96);
    color: #f4fff7;
    border-color: rgba(16, 226, 101, 0.16);
}

.theme-dark-page .form-control::placeholder,
.theme-dark-page .form-select::placeholder,
.theme-dark-page textarea.form-control::placeholder {
    color: rgba(244, 255, 247, 0.42);
}

.theme-dark-page .form-control:focus,
.theme-dark-page .form-select:focus,
.theme-dark-page textarea.form-control:focus {
    background-color: rgba(12, 16, 12, 0.98);
    color: #f4fff7;
    border-color: rgba(16, 226, 101, 0.6);
    box-shadow: 0 0 0 0.2rem rgba(16, 226, 101, 0.12);
}

.support-settings-page .form-control,
.support-settings-page .form-select,
.support-settings-page textarea.form-control,
.support-settings-page input,
.support-settings-page textarea {
    background: #ffffff !important;
    background-image: none !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
    color-scheme: light;
}

.support-settings-page .form-control::placeholder,
.support-settings-page .form-select::placeholder,
.support-settings-page textarea.form-control::placeholder,
.support-settings-page input::placeholder,
.support-settings-page textarea::placeholder {
    color: rgba(15, 143, 84, 0.7) !important;
}

.support-settings-page .form-control:focus,
.support-settings-page .form-select:focus,
.support-settings-page textarea.form-control:focus,
.support-settings-page input:focus,
.support-settings-page textarea:focus {
    background: #ffffff !important;
    background-image: none !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
    box-shadow: 0 0 0 0.2rem rgba(15, 143, 84, 0.18) !important;
}

.theme-dark-page .btn-outline-secondary,
.theme-dark-page .btn-outline-primary {
    color: #f4fff7;
    border-color: rgba(244, 255, 247, 0.22);
}

.theme-dark-page .btn-outline-secondary:hover,
.theme-dark-page .btn-outline-primary:hover {
    background: rgba(16, 226, 101, 0.1);
    border-color: rgba(16, 226, 101, 0.24);
    color: #f4fff7;
}

.theme-dark-page .btn-outline-primary {
    color: #10e265;
    border-color: rgba(16, 226, 101, 0.36);
}

.courses-page .courses-form .form-control,
.courses-page .courses-form .form-select,
.courses-page .courses-form textarea.form-control,
.courses-page .table .form-control,
.courses-page .table .form-select,
.courses-page .table textarea.form-control {
    width: 100%;
}

.courses-page .courses-form .form-control,
.courses-page .courses-form .form-select,
.courses-page .courses-form textarea.form-control {
    min-height: 56px;
}

.courses-page .courses-table {
    width: 100%;
    table-layout: fixed;
}

.courses-page .courses-table-wrap {
    border: 1px solid rgba(16, 226, 101, 0.14);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(7, 10, 7, 0.7);
}

.courses-page .courses-table thead.table-light,
.courses-page .courses-table thead th {
    color: #f4fff7;
    background: rgba(16, 226, 101, 0.08);
    border-bottom-color: rgba(16, 226, 101, 0.16);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 700;
}

.courses-page .courses-table tbody td,
.courses-page .courses-table tbody th {
    border-top-color: rgba(16, 226, 101, 0.08);
    background-clip: padding-box;
    vertical-align: middle;
    white-space: normal;
    overflow-wrap: anywhere;
}

.courses-page .courses-table tbody tr > * {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

.courses-page .courses-table tbody tr:nth-of-type(even) > * {
    --bs-table-accent-bg: rgba(255, 255, 255, 0.02);
}

.courses-page .courses-table .text-end {
    white-space: nowrap;
}

.courses-page .courses-table .btn-group-sm .btn {
    border-radius: 10px;
    padding: 0.35rem 0.7rem;
    font-size: 0.82rem;
}

.courses-page .course-col-name {
    width: 22%;
}

.courses-page .course-col-summary {
    width: 34%;
}

.courses-page .course-col-contents {
    width: 14%;
}

.courses-page .course-col-status {
    width: 16%;
}

.courses-page .course-col-actions {
    width: 14%;
}

.courses-page .course-content-col-title {
    width: 28%;
}

.courses-page .course-content-col-type {
    width: 18%;
}

.courses-page .course-content-col-order {
    width: 12%;
}

.courses-page .course-content-col-status {
    width: 16%;
}

.courses-page .course-content-col-actions {
    width: 26%;
}

.costs-page .costs-form .form-control,
.costs-page .costs-form .form-select,
.costs-page .costs-form textarea.form-control,
.costs-page .table .form-control,
.costs-page .table .form-select,
.costs-page .table textarea.form-control {
    width: 100%;
}

.costs-page .costs-form .form-control,
.costs-page .costs-form textarea.form-control {
    min-height: 56px;
}

.costs-page .costs-table {
    width: 100%;
    table-layout: fixed;
}

.costs-page .costs-table-wrap {
    border: 1px solid rgba(16, 226, 101, 0.14);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(7, 10, 7, 0.7);
}

.costs-page .costs-table thead.table-light,
.costs-page .costs-table thead th {
    color: #f4fff7;
    background: rgba(16, 226, 101, 0.08);
    border-bottom-color: rgba(16, 226, 101, 0.16);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 700;
}

.costs-page .costs-table tbody td,
.costs-page .costs-table tbody th {
    border-top-color: rgba(16, 226, 101, 0.08);
    background-clip: padding-box;
    vertical-align: middle;
}

.costs-page .costs-table tbody tr > * {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

.costs-page .cost-col-name {
    width: 52%;
}

.costs-page .cost-col-amount {
    width: 24%;
}

.costs-page .cost-col-actions {
    width: 24%;
}

.costs-page .costs-table .text-end {
    white-space: nowrap;
}

.costs-page .costs-table .form-control {
    min-width: 0;
}

.products-page .products-table {
    width: 100%;
    table-layout: fixed;
}

.products-page .products-table-wrap {
    border: 1px solid rgba(16, 226, 101, 0.14);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(7, 10, 7, 0.7);
}

.products-page .products-table thead.table-light,
.products-page .products-table thead th {
    color: #0f8f54;
    background: #eaf5ee;
    border-bottom: 1px solid rgba(16, 226, 101, 0.22);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    font-weight: 700;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}

.products-page .products-table thead th:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.products-page .products-table thead th:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.products-page .table tbody td,
.products-page .table tbody th {
    border-top-color: rgba(16, 226, 101, 0.08);
    background-clip: padding-box;
    white-space: normal;
    overflow-wrap: anywhere;
}

.products-page .table-hover tbody tr:hover {
    color: #f4fff7;
}

.products-page .products-table tbody tr:nth-of-type(even) > * {
    --bs-table-accent-bg: rgba(255, 255, 255, 0.02);
}

.products-page .products-table tbody tr > * {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

.products-page .ingredients-table {
    width: 100%;
    table-layout: fixed;
}

/* Cabeçalho dos insumos: barra clara de destaque + fonte um pouco maior. */
.products-page .ingredients-table thead th {
    background: #eaf5ee;
    color: #0f8f54;
    font-size: 0.9rem;
    font-weight: 700;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(16, 226, 101, 0.22);
}

.products-page .ingredients-table thead th:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.products-page .ingredients-table thead th:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.products-page .ing-search {
    margin-left: auto;
    align-self: center;
    max-width: 320px;
}

.products-page .ingredients-table tbody tr:nth-of-type(even) > * {
    --bs-table-accent-bg: rgba(255, 255, 255, 0.02);
}

.products-page .ingredients-table tbody tr > * {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

.products-page .badge {
    background: rgba(16, 226, 101, 0.08) !important;
    color: #bfffd2 !important;
    border: 1px solid rgba(16, 226, 101, 0.16) !important;
}

.products-page .table .btn-group-sm .btn {
    border-radius: 10px;
    padding: 0.35rem 0.7rem;
    font-size: 0.82rem;
}

.products-page .product-col-name {
    width: 22%;
}

.products-page .product-col-description {
    width: 34%;
}

.products-page .product-col-cost {
    width: 14%;
}

.products-page .product-col-status {
    width: 16%;
}

.products-page .product-col-actions {
    width: 14%;
}

.products-page .ingredient-col-name {
    width: 24%;
}

.products-page .ingredient-col-unit {
    width: 14%;
}

.products-page .ingredient-col-quantity {
    width: 14%;
}

.products-page .ingredient-col-value {
    width: 16%;
}

.products-page .ingredient-col-unit-value {
    width: 16%;
}

.products-page .ingredient-col-actions {
    width: 16%;
}

.products-page .products-table .text-end {
    white-space: nowrap;
}

.products-page .ingredients-table .text-end {
    white-space: nowrap;
}

.theme-dark-page .btn-primary {
    background: #10e265;
    color: #111411;
    border-color: #10e265;
    font-weight: 600;
}

.theme-dark-page .btn-primary:hover {
    background: var(--accent-green-soft);
    border-color: rgba(16, 226, 101, 0.24);
    color: #111411;
}

.theme-dark-page .nav-tabs {
    border-bottom-color: rgba(16, 226, 101, 0.12);
}

.theme-dark-page .nav-tabs .nav-link {
    color: rgba(244, 255, 247, 0.72);
    border-color: transparent;
    background: transparent;
}

.theme-dark-page .nav-tabs .nav-link.active {
    color: #f4fff7;
    background: rgba(16, 226, 101, 0.08);
    border-color: rgba(16, 226, 101, 0.14) rgba(16, 226, 101, 0.14) transparent;
}

.theme-dark-page .list-group-item {
    background: transparent;
    color: #f4fff7;
    border-color: rgba(16, 226, 101, 0.08);
}

.theme-dark-page .border,
.theme-dark-page .border-top,
.theme-dark-page .border-bottom,
.theme-dark-page .border-start,
.theme-dark-page .border-end {
    border-color: rgba(16, 226, 101, 0.12) !important;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.8rem 1.2rem;
    border-radius: 14px;
    border: 0;
    font-weight: 700;
    cursor: pointer;
}

.primary-button {
    background: linear-gradient(135deg, var(--accent), #63a4ff);
    color: #fff;
}

.secondary-button {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.danger-button {
    background: linear-gradient(135deg, #b42318, #ef4444);
    color: #fff;
    border: 0;
}

.danger-button:hover {
    background: linear-gradient(135deg, #9f1d15, #dc2626);
}

.product-delete-button {
    background: linear-gradient(135deg, #b42318, #ef4444);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 24px rgba(180, 35, 24, 0.34);
    position: relative;
    overflow: hidden;
}

.product-delete-button:hover,
.product-delete-button:focus {
    background: linear-gradient(135deg, #9f1d15, #dc2626);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 28px rgba(180, 35, 24, 0.45);
    transform: translateY(-1px);
}

.product-delete-button:active {
    transform: translateY(1px);
    box-shadow: 0 6px 16px rgba(180, 35, 24, 0.3);
}

.metric-card,
.quick-card {
    padding: 1.35rem;
}

.metric-card {
    grid-column: span 3;
}

.metric-card strong {
    display: block;
    margin-top: 0.35rem;
    font-size: 2rem;
}

.quick-card {
    grid-column: span 12;
}

.dashboard-list-card {
    grid-column: span 4;
}

.dashboard-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
    display: grid;
    gap: 0.75rem;
}

.dashboard-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border);
}

.dashboard-list strong {
    font-weight: 700;
}

.dashboard-list span {
    color: var(--muted);
    white-space: nowrap;
}

.quick-card ul {
    margin: 0.75rem 0 0;
    padding-left: 1.15rem;
}

.table-wrap {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    min-width: 960px;
}

.data-table th,
.data-table td {
    padding: 0.85rem 0.95rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.data-table th {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    white-space: nowrap;
}

.data-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.55);
}

.table-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.35rem;
    align-items: center;
}

.actions-column {
    width: 24%;
    white-space: nowrap;
}

.name-column {
    width: 22%;
}

.status-column {
    width: 16%;
}

.currency-column {
    width: 14%;
    text-align: right;
}

.product-column {
    width: 18%;
}

.table-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    min-height: 36px;
    width: 36px;
    padding: 0;
    border-radius: 12px;
    border: 1px solid rgba(31, 111, 235, 0.22);
    background: rgba(31, 111, 235, 0.12);
    color: var(--accent-dark);
    line-height: 1;
}

.table-action-button:hover {
    background: rgba(31, 111, 235, 0.18);
}

.table-action-button.danger {
    border-color: rgba(155, 28, 28, 0.18);
    background: rgba(155, 28, 28, 0.12);
    color: #9b1c1c;
}

.table-action-button.danger:hover {
    background: rgba(155, 28, 28, 0.18);
}

.table-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.table-action-svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.product-ingredients-table {
    min-width: 760px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(31, 111, 235, 0.12);
    color: var(--accent-dark);
    font-size: 0.82rem;
    font-weight: 700;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
}

.course-card {
    grid-column: span 6;
    padding: 1.35rem;
    background: var(--panel);
    backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.course-card h3,
.course-detail-header h2 {
    margin-top: 0.35rem;
}

.course-card-meta,
.course-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.85rem;
}

.course-card p,
.course-detail-body p {
    color: var(--muted);
}

.course-detail-header {
    padding: 1.35rem;
    border-radius: 24px;
    background: var(--panel);
    backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.content-list {
    display: grid;
    gap: 0.85rem;
}

.content-item {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--border);
}

.content-item-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.content-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

.support-button {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 52px;
    padding: 0.9rem 1.1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #18b76e, #0f8f54);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 16px 32px rgba(15, 143, 84, 0.28);
    border: 0;
}

.support-button:hover {
    transform: translateY(-1px);
}

.support-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.support-button-svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.support-button-label {
    white-space: nowrap;
}

.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem;
}

.auth-panel {
    width: min(100%, 520px);
    padding: 2rem;
    background:
        radial-gradient(circle at top right, rgba(31, 111, 235, 0.12), transparent 25%),
        var(--panel-strong);
}

.auth-copy {
    margin: 1.5rem 0;
}

.auth-form {
    display: grid;
    gap: 1rem;
}

.auth-form .primary-button,
.auth-form .secondary-button {
    min-height: 52px;
    font-size: 1rem;
}

.auth-form label {
    display: grid;
    gap: 0.45rem;
    font-weight: 600;
}

.auth-form input,
.auth-form select,
.auth-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    font: inherit;
}

.auth-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(1rem + 2px), calc(100% - 12px) calc(1rem + 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 2.5rem;
}

.auth-form textarea {
    min-height: 96px;
    resize: vertical;
}

.field-help {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

.form-success {
    padding: 0.95rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(34, 197, 94, 0.25);
    background: rgba(34, 197, 94, 0.1);
    color: #166534;
    font-weight: 600;
}

.hostname-preview {
    color: var(--text);
    font-weight: 700;
}

.auth-footer {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
}

.auth-footer-button {
    width: 100%;
}

.auth-footer-note {
    margin: 0;
    text-align: center;
    color: var(--muted);
}

.auth-footer-button {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text);
    border: 1px solid var(--border);
}

.auth-footer-button:hover {
    background: rgba(255, 255, 255, 0.18);
}

.signup-back-button {
    color: #1f2430;
    background: rgba(31, 36, 48, 0.06);
    border: 1px solid rgba(31, 36, 48, 0.14);
}

.signup-back-button:hover {
    color: #1f2430;
    background: rgba(31, 36, 48, 0.1);
}

.auth-footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.auth-link {
    color: var(--accent);
    background: transparent;
    border: 0;
    padding: 0;
    min-height: auto;
    font-weight: 700;
}

.auth-link:hover {
    color: var(--accent-dark);
    background: transparent;
}

.tab-header {
    display: inline-flex;
    gap: 0.5rem;
    padding: 0.35rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid var(--border);
}

.tab-button {
    border: 0;
    border-radius: 12px;
    padding: 0.7rem 1rem;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.tab-button.active {
    background: #fff;
    color: var(--text);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.tab-panel {
    display: none;
    margin-top: 1rem;
    padding-top: 0.25rem;
}

.tab-panel.active {
    display: grid;
    gap: 1rem;
}

.product-tabs-shell {
    display: grid;
    gap: 0.7rem;
    padding: 1rem 1rem 0.85rem;
    border: 1px solid rgba(16, 226, 101, 0.18);
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(16, 226, 101, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(17, 20, 17, 0.98), rgba(10, 14, 10, 0.98));
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.product-tabs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.35rem;
    border-bottom: 1px solid rgba(16, 226, 101, 0.16);
    margin-bottom: 0;
    padding-left: 0;
}

.product-tabs .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    color: rgba(233, 255, 242, 0.72);
    font-weight: 700;
    padding: 0.8rem 1.05rem;
    background: transparent;
    margin-bottom: -1px;
}

.product-tabs .nav-link.active {
    color: #10E265;
    background:
        linear-gradient(180deg, rgba(17, 20, 17, 0.98), rgba(15, 18, 15, 0.98));
    border-color: rgba(16, 226, 101, 0.18) rgba(16, 226, 101, 0.18) transparent;
    box-shadow:
        0 -1px 0 rgba(255, 255, 255, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.product-tabs-hint {
    color: rgba(233, 255, 242, 0.64);
    font-size: 0.92rem;
}

.product-detail-page .card {
    overflow: hidden;
}

.product-detail-avatar {
    width: 84px;
    height: 84px;
    border-radius: 20px;
    overflow: hidden;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top, rgba(16, 226, 101, 0.24), transparent 58%),
        rgba(15, 18, 15, 0.92);
    border: 1px solid rgba(16, 226, 101, 0.18);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.26);
}

.product-detail-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-detail-avatar span {
    font-size: 2rem;
    font-weight: 800;
    color: #10E265;
}

.product-detail-page .metric-card {
    min-height: 100%;
    background:
        radial-gradient(circle at top right, rgba(16, 226, 101, 0.08), transparent 36%),
        rgba(15, 18, 15, 0.92);
    color: #f4fff7;
    border: 1px solid rgba(16, 226, 101, 0.12);
}

.product-detail-page .metric-card small {
    color: rgba(244, 255, 247, 0.62);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.product-detail-page .metric-card strong {
    font-size: 1.5rem;
    line-height: 1.1;
}

.product-detail-panel {
    background:
        radial-gradient(circle at top right, rgba(16, 226, 101, 0.05), transparent 34%),
        rgba(15, 18, 15, 0.92);
    border: 1px solid rgba(16, 226, 101, 0.12);
}

.product-info-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    gap: 0.75rem;
}

.product-info-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(233, 255, 242, 0.96);
    border: 1px solid rgba(16, 226, 101, 0.18);
    color: #1a1e1a;
}

.product-info-list span {
    color: var(--muted);
    font-size: 0.92rem;
}

.product-info-list strong {
    font-weight: 700;
    text-align: right;
}

.product-detail-table {
    min-width: 100%;
}

.pdv-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.pdv-form-shell {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.pdv-navbar {
    background: #131613;
    border-bottom: 2px solid #10E265;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.pdv-brand {
    color: #10E265;
}

.pdv-brand span {
    color: #ffffff;
}

.pdv-entry-card,
.pdv-summary-card,
.pdv-table-card {
    background: rgba(34, 39, 34, 0.96);
    border: 1px solid rgba(16, 226, 101, 0.16);
    border-radius: 14px;
}

.pdv-entry-card .card-body {
    padding: 1rem 1rem 1.1rem;
}

.pdv-label {
    color: #10E265;
    letter-spacing: 0.08em;
}

.pdv-search-input,
.pdv-qty-entry,
.pdv-summary-card .form-control,
.pdv-summary-card .form-select {
    background: rgba(0, 0, 0, 0.28) !important;
    border: 1px solid rgba(16, 226, 101, 0.18) !important;
    color: #ffffff !important;
    font-weight: 500;
}

.pdv-search-input::placeholder,
.pdv-summary-card .form-control::placeholder,
.pdv-summary-card .form-select::placeholder {
    color: rgba(233, 255, 242, 0.5);
}

.pdv-search-input:focus,
.pdv-qty-entry:focus,
.pdv-summary-card .form-control:focus,
.pdv-summary-card .form-select:focus {
    border-color: #10E265 !important;
    box-shadow: 0 0 0 0.2rem rgba(16, 226, 101, 0.22) !important;
    background: rgba(0, 0, 0, 0.32) !important;
    color: #ffffff !important;
}

.pdv-search-group .btn {
    min-height: 56px;
}

.pdv-add-trigger {
    background: linear-gradient(135deg, #10E265, #0ec959);
    color: #1a1e1a;
    border: 0;
    box-shadow: 0 8px 18px rgba(16, 226, 101, 0.2);
}

.pdv-add-trigger:hover,
.pdv-add-trigger:focus {
    background: linear-gradient(135deg, #0ec959, #0bbd52);
    color: #1a1e1a;
}

.pdv-suggestions {
    max-height: 300px;
    overflow: auto;
    border: 1px solid rgba(16, 226, 101, 0.14);
    border-radius: 12px;
    background: rgba(17, 22, 17, 0.98);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
}

.pdv-suggestion,
.pdv-suggestion-empty {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 0.85rem 1rem;
    border: 0;
    background: transparent;
    color: #ffffff;
    text-align: left;
}

.pdv-suggestion:hover {
    background: rgba(16, 226, 101, 0.1);
}

.pdv-suggestion-name {
    font-weight: 700;
}

.pdv-suggestion-price {
    color: #10E265;
    font-weight: 800;
    white-space: nowrap;
}

.pdv-suggestion-empty {
    color: rgba(233, 255, 242, 0.68);
}

.table-container {
    overflow: hidden;
}

.pdv-table-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.pdv-cart-table {
    color: #ffffff !important;
    margin-bottom: 0;
}

.pdv-cart-table thead th {
    background: #131613 !important;
    color: #10E265 !important;
    border-bottom: 2px solid rgba(16, 226, 101, 0.18) !important;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pdv-cart-table td {
    background: transparent !important;
    border-bottom: 1px solid rgba(233, 255, 242, 0.08) !important;
    vertical-align: middle;
}

.pdv-item-name {
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
}

.pdv-item-meta {
    color: rgba(233, 255, 242, 0.62);
    font-size: 0.82rem;
    margin-top: 0.2rem;
}

.pdv-unit-price,
.pdv-subtotal {
    font-weight: 800;
    white-space: nowrap;
}

.pdv-subtotal {
    color: #10E265;
}

.pdv-qty-input {
    background: rgba(233, 255, 242, 0.95) !important;
    color: #1a1e1a !important;
    border: 1px solid rgba(16, 226, 101, 0.22) !important;
    min-height: 46px;
    border-radius: 12px;
}

.pdv-remove-button {
    border-color: rgba(239, 68, 68, 0.5);
    color: #ffffff;
}

.pdv-remove-button:hover {
    background: rgba(239, 68, 68, 0.12);
    color: #ffffff;
}

.pdv-total-box {
    background: #131613;
    border: 1px solid #10E265;
    border-radius: 14px;
    padding: 1.25rem 1.2rem;
    text-align: right;
}

.pdv-total-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: rgba(233, 255, 242, 0.6);
    letter-spacing: 0.12em;
}

.pdv-total-value {
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    font-weight: 900;
    color: #10E265;
    line-height: 1;
    font-family: 'Courier New', Courier, monospace;
}

.pdv-section-title {
    color: #10E265;
    border-color: rgba(16, 226, 101, 0.18) !important;
}

.pdv-shortcut {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(16, 226, 101, 0.14);
    color: #ffffff;
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-shortcut {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(16, 226, 101, 0.14);
    color: #ffffff;
    font-weight: 500;
    text-align: left;
    transition: all 0.2s;
}

.btn-shortcut:hover {
    background: var(--accent-green-soft);
    border-color: rgba(16, 226, 101, 0.24);
    color: #0f8f54;
}

.btn-pay {
    background: #10E265 !important;
    color: #1A1E1A !important;
    font-weight: 800;
    text-transform: uppercase;
}

.btn-pay:hover {
    background: var(--accent-green-soft) !important;
    box-shadow: 0 0 15px rgba(16, 226, 101, 0.4);
}

.footer-shortcuts {
    background: #131613;
    border-top: 1px solid rgba(16, 226, 101, 0.12);
    padding: 0.75rem 0;
}

.pdv-sidebar {
    display: grid;
    gap: 1rem;
    min-height: 0;
}

.pdv-sidebar .btn-outline-secondary {
    color: #ffffff;
    border-color: rgba(244, 255, 247, 0.2);
}

.pdv-sidebar .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.pdv-shell {
    background:
        radial-gradient(circle at top left, rgba(16, 226, 101, 0.08), transparent 26%),
        linear-gradient(180deg, rgba(8, 12, 8, 0.98), rgba(5, 8, 5, 0.97));
    color: #f4fff7;
    border: 1px solid rgba(16, 226, 101, 0.12);
}

.pdv-card-body {
    padding: 1.5rem;
}

.pdv-hero {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(16, 226, 101, 0.12), transparent 34%),
        rgba(15, 18, 15, 0.92);
    border: 1px solid rgba(16, 226, 101, 0.14);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.pdv-hero-copy {
    display: grid;
    align-content: start;
    gap: 0.15rem;
    min-width: min(100%, 360px);
}

.pdv-kicker {
    letter-spacing: 0.14em;
    color: #10E265;
    font-size: 0.75rem;
}

.pdv-hero-subtitle {
    color: rgba(244, 255, 247, 0.7);
}

.pdv-total-banner {
    display: grid;
    gap: 0.2rem;
    padding: 1rem 1.15rem;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(16, 226, 101, 0.18), rgba(16, 226, 101, 0.08)),
        rgba(15, 18, 15, 0.9);
    border: 1px solid rgba(16, 226, 101, 0.22);
    align-self: flex-start;
    min-width: min(100%, 420px);
    flex: 1 1 420px;
}

.pdv-total-banner span,
.pdv-cart-count span {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(244, 255, 247, 0.62);
    font-weight: 700;
}

.pdv-total-banner strong {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    line-height: 1;
    color: #10E265;
    font-weight: 900;
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 0.02em;
}

.pdv-total-banner small {
    color: rgba(244, 255, 247, 0.7);
}

.pdv-total-banner small span {
    color: #f4fff7;
    font-weight: 700;
}

.pdv-panel {
    padding: 1rem;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(16, 226, 101, 0.05), transparent 30%),
        rgba(15, 18, 15, 0.92);
    border: 1px solid rgba(16, 226, 101, 0.12);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.pdv-layout {
    align-items: stretch;
}

.pdv-sidebar {
    display: grid;
    gap: 1rem;
    position: sticky;
    top: 1rem;
}

.pdv-register {
    display: grid;
    gap: 1rem;
}

.pdv-scanner-panel,
.pdv-client-panel,
.pdv-summary-panel {
    padding: 1rem 1rem 1.1rem;
}

.pdv-scanner-panel {
    background:
        linear-gradient(180deg, rgba(15, 18, 15, 0.96), rgba(15, 18, 15, 0.9)),
        radial-gradient(circle at top right, rgba(16, 226, 101, 0.08), transparent 30%);
}

.pdv-client-panel {
    background:
        radial-gradient(circle at top right, rgba(16, 226, 101, 0.05), transparent 26%),
        rgba(15, 18, 15, 0.92);
}

.pdv-scan-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(16, 226, 101, 0.1);
    color: #10E265;
    border: 1px solid rgba(16, 226, 101, 0.18);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pdv-sidebar-panel .form-label,
.pdv-client-panel .form-label {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(244, 255, 247, 0.68);
    margin-bottom: 0.45rem;
}

.pdv-sidebar-panel .form-control,
.pdv-sidebar-panel .form-select {
    background-color: #e9fff2;
    color: #1a1e1a;
    border-color: rgba(16, 226, 101, 0.24);
    min-height: 52px;
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.pdv-sidebar-panel .form-control:focus,
.pdv-sidebar-panel .form-select:focus {
    background-color: #e9fff2;
    color: #1a1e1a;
}

.pdv-add-button {
    min-height: 52px;
    box-shadow: 0 12px 24px rgba(16, 226, 101, 0.18);
}

.pdv-cart-count {
    display: inline-grid;
    gap: 0.15rem;
    min-width: 92px;
    padding: 0.7rem 0.9rem;
    border-radius: 16px;
    background: rgba(16, 226, 101, 0.08);
    border: 1px solid rgba(16, 226, 101, 0.16);
    text-align: center;
}

.pdv-cart-count strong {
    font-size: 1.5rem;
    color: #10E265;
    line-height: 1;
}

.pdv-cart-table {
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.7rem;
}

.pdv-cart-table thead.table-light,
.pdv-cart-table thead th {
    background: rgba(233, 255, 242, 0.95) !important;
    color: #1a1e1a !important;
    border-bottom-color: rgba(16, 226, 101, 0.18);
}

.pdv-cart-table tbody tr {
    background: rgba(15, 18, 15, 0.92);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.pdv-cart-table tbody td {
    color: #f4fff7;
    border-color: rgba(16, 226, 101, 0.08);
    padding-top: 1rem;
    padding-bottom: 1rem;
    vertical-align: middle;
}

.pdv-cart-table .form-control {
    background-color: #e9fff2;
    color: #1a1e1a;
    border-color: rgba(16, 226, 101, 0.22);
    min-height: 46px;
    border-radius: 12px;
}

.pdv-cart-table .form-control:focus {
    background-color: #e9fff2;
    color: #1a1e1a;
    border-color: rgba(16, 226, 101, 0.6);
}

.pdv-cart-table .pdv-remove-button {
    color: #f4fff7;
    border-color: rgba(244, 255, 247, 0.2);
}

.pdv-cart-table .pdv-remove-button:hover {
    background: rgba(180, 35, 24, 0.12);
    border-color: rgba(239, 68, 68, 0.35);
}

.pdv-item-name {
    font-weight: 800;
    color: #f4fff7;
    line-height: 1.15;
    font-size: 1rem;
}

.pdv-item-meta {
    color: rgba(244, 255, 247, 0.58);
    font-size: 0.84rem;
    margin-top: 0.25rem;
}

.pdv-unit-price {
    color: #10E265;
    font-weight: 800;
    white-space: nowrap;
}

.pdv-qty-input {
    max-width: 110px;
    margin-inline: auto;
}

.pdv-subtotal {
    color: #f4fff7;
    font-weight: 800;
    font-size: 1.05rem;
    white-space: nowrap;
}

.pdv-summary-panel {
    display: grid;
    gap: 0.35rem;
    font-size: 1rem;
    position: relative;
}

.pdv-summary-panel strong {
    font-size: 1.15rem;
}

.pdv-summary-panel strong[data-net-total] {
    font-size: 1.65rem;
}

.pdv-net-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.75rem;
    margin-top: 0.35rem;
    border-top: 1px solid rgba(16, 226, 101, 0.12);
}

.pdv-net-total span {
    color: rgba(244, 255, 247, 0.7);
    font-weight: 700;
}

.pdv-net-total strong,
.pdv-summary-panel strong {
    color: #10E265;
}

.pdv-submit-button {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
    box-shadow: 0 10px 24px rgba(16, 226, 101, 0.18);
}

.pdv-sidebar .btn-outline-secondary {
    color: #f4fff7;
    border-color: rgba(244, 255, 247, 0.2);
}

.pdv-sidebar .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #f4fff7;
}

.pdv-layout .form-text {
    color: rgba(244, 255, 247, 0.6);
}

.section-surface {
    padding: 1.1rem;
    border: 1px solid rgba(16, 226, 101, 0.14);
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(16, 226, 101, 0.06), transparent 28%),
        rgba(15, 18, 15, 0.94);
    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.product-ingredients-table .form-control,
.product-ingredients-table .form-select {
    min-height: calc(1.5em + 0.5rem + 2px);
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    background-color: #e9fff2;
    color: #1a1e1a;
    border-color: rgba(16, 226, 101, 0.22);
}

.product-ingredients-table .form-control:focus,
.product-ingredients-table .form-select:focus {
    background-color: #e9fff2;
    color: #1a1e1a;
    border-color: rgba(16, 226, 101, 0.6);
    box-shadow: 0 0 0 0.2rem rgba(16, 226, 101, 0.12);
}

.product-ingredients-table .form-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: none;
    min-height: calc(1.5em + 0.9rem + 2px);
    padding: 0.55rem 0.9rem;
    padding-right: 0.9rem;
    cursor: pointer;
}

.product-ingredients-table .form-control-sm,
.product-ingredients-table .form-select-sm {
    min-height: calc(1.5em + 0.9rem + 2px);
}

.section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(16, 226, 101, 0.12);
}

.section-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
    color: #10E265;
}

.formset-table-wrap {
    overflow-x: auto;
}

.product-ingredients-table {
    min-width: 720px;
}

.product-ingredients-table th,
.product-ingredients-table td {
    white-space: normal;
}

.remove-column {
    width: 1%;
    white-space: nowrap;
    text-align: center;
    position: relative;
}

.add-ingredient-button {
    width: fit-content;
    color: var(--accent-dark);
}

.delete-field {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.remove-column .table-action-button {
    margin-left: 0.35rem;
}

.form-error {
    padding: 0.9rem 1rem;
    border-radius: 14px;
    background: #fff1f1;
    color: #9b1c1c;
}

body.sidebar-collapsed .app-shell {
    grid-template-columns: 92px 1fr;
}

body.sidebar-collapsed .sidebar {
    padding-inline: 0.85rem;
}

body.sidebar-collapsed .brand-text,
body.sidebar-collapsed .menu-label {
    display: none;
}

body.sidebar-collapsed .sidebar-head,
body.sidebar-collapsed .menu-item {
    justify-content: center;
}

body.sidebar-collapsed .menu-item {
    padding-inline: 0.75rem;
}

body.sidebar-collapsed .menu-item:hover,
body.sidebar-collapsed .menu-item.active {
    transform: none;
}

body.sidebar-collapsed .menu-section-label,
body.sidebar-collapsed .brand-subtitle {
    display: none;
}

@media (max-width: 900px) {
    body.app-body {
        overflow: auto;
        height: auto;
    }

    .app-shell {
        grid-template-columns: 1fr;
        height: auto;
        overflow: visible;
    }

    .sidebar {
        border-radius: 0 0 24px 24px;
        min-height: auto;
    }

    .content {
        overflow: visible;
    }

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

    .hero-card,
    .metric-card,
    .quick-card,
    .dashboard-list-card,
    .course-card {
        grid-column: auto;
    }

    .topbar {
        flex-direction: column;
    }

    .app-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .sidebar-toggle {
        display: none;
    }

    .support-button {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }

body.sidebar-collapsed .app-shell {
    grid-template-columns: 1fr;
}
}

/* PDV overrides finais para garantir o layout de caixa */
.pdv-page {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    background:
        radial-gradient(circle at top left, rgba(16, 226, 101, 0.08), transparent 24%),
        linear-gradient(180deg, #1a1e1a 0%, #111411 100%) !important;
    color: #e9fff2 !important;
}

.pdv-form-shell {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
}

.pdv-navbar {
    background: #131613 !important;
    border-bottom: 2px solid #10e265 !important;
}

.pdv-entry-card,
.pdv-items-card,
.pdv-summary-card {
    background: rgba(34, 39, 34, 0.98) !important;
    border: 1px solid rgba(16, 226, 101, 0.16) !important;
    border-radius: 18px !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18) !important;
}

.pdv-search-input,
.pdv-qty-entry,
.pdv-summary-card .form-control,
.pdv-summary-card .form-select {
    background: #e9fff2 !important;
    border: 1px solid rgba(16, 226, 101, 0.18) !important;
    color: #1a1e1a !important;
    min-height: 52px !important;
    border-radius: 14px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55) !important;
}

.pdv-add-trigger {
    min-height: 52px !important;
    background: linear-gradient(135deg, #10e265, #0ec959) !important;
    color: #1a1e1a !important;
    border: 0 !important;
}

.pdv-suggestions {
    border: 1px solid rgba(16, 226, 101, 0.14) !important;
    background: rgba(17, 22, 17, 0.98) !important;
}

.pdv-items-header {
    background:
        linear-gradient(180deg, rgba(19, 22, 19, 0.98), rgba(19, 22, 19, 0.92)),
        radial-gradient(circle at top right, rgba(16, 226, 101, 0.08), transparent 30%) !important;
    border-bottom: 1px solid rgba(16, 226, 101, 0.12) !important;
}

.pdv-cart-table thead th {
    background: #131613 !important;
    color: #10e265 !important;
    border-bottom: 2px solid rgba(16, 226, 101, 0.18) !important;
}

.pdv-cart-table tbody td {
    color: #f4fff7 !important;
}

.pdv-qty-input {
    background: #e9fff2 !important;
    color: #1a1e1a !important;
}

.pdv-remove-button {
    color: #f4fff7 !important;
}

.pdv-total-panel {
    background:
        linear-gradient(135deg, rgba(16, 226, 101, 0.18), rgba(16, 226, 101, 0.08)),
        rgba(15, 18, 15, 0.95) !important;
    border: 1px solid rgba(16, 226, 101, 0.24) !important;
}

.pdv-total-value {
    color: #10e265 !important;
}

.pdv-summary-card {
    position: sticky;
    top: 1rem;
}

.pdv-metric span {
    color: rgba(233, 255, 242, 0.68) !important;
}

.pdv-metric strong {
    color: #f4fff7 !important;
}

.pdv-label,
.pdv-section-title,
.pdv-section-kicker {
    color: #10e265 !important;
}

.btn-pay {
    background: #10e265 !important;
    color: #1a1e1a !important;
    border: 0 !important;
}

.sales-page .card {
    background: rgba(34, 39, 34, 0.98);
    border: 1px solid rgba(16, 226, 101, 0.16);
    border-radius: 18px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.sales-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(16, 226, 101, 0.14);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(7, 10, 7, 0.7);
}

.sales-table {
    width: 100%;
    table-layout: fixed;
}

.sales-page .sales-table thead.table-light,
.sales-page .sales-table thead th {
    color: #f4fff7;
    background: rgba(16, 226, 101, 0.08);
    border-bottom-color: rgba(16, 226, 101, 0.16);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 700;
}

.sales-page .table tbody td,
.sales-page .table tbody th {
    border-top-color: rgba(16, 226, 101, 0.08);
    background-clip: padding-box;
    white-space: normal;
    overflow-wrap: anywhere;
}

.sales-page .table-hover tbody tr:hover {
    color: #f4fff7;
}

.sales-page .sales-table tbody tr:nth-of-type(even) > * {
    --bs-table-accent-bg: rgba(255, 255, 255, 0.02);
}

.sales-page .sales-table tbody tr > * {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

.sales-page .sale-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid rgba(16, 226, 101, 0.16);
}

.sales-page .sale-status-completed {
    background: rgba(16, 226, 101, 0.08);
    color: #bfffd2;
}

.sales-page .sale-status-cancelled {
    background: rgba(148, 163, 184, 0.12);
    color: #e2e8f0;
}

.sales-page .table .btn-group-sm .btn {
    border-radius: 10px;
    padding: 0.35rem 0.7rem;
    font-size: 0.82rem;
}

.sales-page .sale-col-id {
    width: 10%;
}

.sales-page .sale-col-customer {
    width: 24%;
}

.sales-page .sale-col-gross {
    width: 14%;
}

.sales-page .sale-col-discount {
    width: 14%;
}

.sales-page .sale-col-net {
    width: 14%;
}

.sales-page .sale-col-status {
    width: 12%;
}

.sales-page .sale-col-date {
    width: 14%;
}

.sales-page .sale-col-actions {
    width: 8%;
}

.sales-page .sales-table .text-end {
    white-space: nowrap;
}

.sales-detail-page .card {
    background: rgba(34, 39, 34, 0.98);
    border: 1px solid rgba(16, 226, 101, 0.16);
    border-radius: 18px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.sales-detail-page .sales-summary-card {
    padding: 1rem 1.1rem;
    border-radius: 16px;
    border: 1px solid rgba(16, 226, 101, 0.16);
    background: rgba(7, 10, 7, 0.7);
}

.sales-items-wrap {
    border: 1px solid rgba(16, 226, 101, 0.14);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(7, 10, 7, 0.7);
}

.sales-items-table {
    width: 100%;
    table-layout: fixed;
}

.sales-detail-page .sales-items-table thead.table-light,
.sales-detail-page .sales-items-table thead th {
    color: #f4fff7;
    background: rgba(16, 226, 101, 0.08);
    border-bottom-color: rgba(16, 226, 101, 0.16);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 700;
}

.sales-detail-page .sales-items-table tbody td {
    border-top-color: rgba(16, 226, 101, 0.08);
    background-clip: padding-box;
    white-space: normal;
    overflow-wrap: anywhere;
}

.sales-detail-page .sales-items-table tbody tr:nth-of-type(even) > * {
    --bs-table-accent-bg: rgba(255, 255, 255, 0.02);
}

.sales-detail-page .sales-items-table tbody tr > * {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

.sales-detail-page .sales-items-table .text-end {
    white-space: nowrap;
}

.sales-detail-page .sale-item-col-product {
    width: 40%;
}

.sales-detail-page .sale-item-col-quantity {
    width: 18%;
}

.sales-detail-page .sale-item-col-unit {
    width: 21%;
}

.sales-detail-page .sale-item-col-subtotal {
    width: 21%;
}

.pdv-all-green {
    background: #ffffff;
    color: #0f8f54 !important;
}

.pdv-all-green,
.pdv-all-green .pdv-page,
.pdv-all-green .pdv-workspace,
.pdv-all-green .pdv-form-shell,
.pdv-all-green .tab-panel,
.pdv-all-green .product-tabs-shell,
.pdv-all-green .product-tabs,
.pdv-all-green .pdv-navbar,
.pdv-all-green .pdv-sidebar,
.pdv-all-green .pdv-shell,
.pdv-all-green .pdv-card-body,
.pdv-all-green .pdv-hero,
.pdv-all-green .pdv-panel,
.pdv-all-green .pdv-scanner-panel,
.pdv-all-green .pdv-client-panel,
.pdv-all-green .pdv-summary-panel,
.pdv-all-green .pdv-entry-card,
.pdv-all-green .pdv-items-card,
.pdv-all-green .pdv-summary-card,
.pdv-all-green .pdv-table-card,
.pdv-all-green .pdv-total-panel,
.pdv-all-green .pdv-total-box,
.pdv-all-green .pdv-total-banner,
.pdv-all-green .pdv-suggestions,
.pdv-all-green .pdv-suggestion,
.pdv-all-green .pdv-suggestion-empty,
.pdv-all-green .pdv-shortcut,
.pdv-all-green .btn-shortcut {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
}

.pdv-all-green .card,
.pdv-all-green .card-header,
.pdv-all-green .card-body,
.pdv-all-green .list-group-item,
.pdv-all-green .dropdown-menu,
.pdv-all-green .alert,
.pdv-all-green .table,
.pdv-all-green .table-responsive,
.pdv-all-green .border,
.pdv-all-green .border-top,
.pdv-all-green .border-bottom,
.pdv-all-green .border-start,
.pdv-all-green .border-end {
    background-color: #ffffff !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
}

.pdv-all-green .table thead th,
.pdv-all-green .pdv-cart-table thead th,
.pdv-all-green .pdv-items-header,
.pdv-all-green .pdv-section-title,
.pdv-all-green .pdv-section-kicker,
.pdv-all-green .pdv-total-title,
.pdv-all-green .pdv-total-subtitle,
.pdv-all-green .pdv-label,
.pdv-all-green .pdv-metric,
.pdv-all-green .pdv-metric-card,
.pdv-all-green .pdv-net-total,
.pdv-all-green .pdv-item-name,
.pdv-all-green .pdv-item-meta,
.pdv-all-green .pdv-unit-price,
.pdv-all-green .pdv-subtotal,
.pdv-all-green .pdv-cart-count,
.pdv-all-green .pdv-summary-note,
.pdv-all-green .pdv-hero-copy,
.pdv-all-green .pdv-kicker,
.pdv-all-green .pdv-hero-subtitle,
.pdv-all-green .product-tabs-hint,
.pdv-all-green .form-text,
.pdv-all-green small,
.pdv-all-green strong,
.pdv-all-green span,
.pdv-all-green p,
.pdv-all-green h1,
.pdv-all-green h2,
.pdv-all-green h3,
.pdv-all-green h4,
.pdv-all-green h5,
.pdv-all-green h6,
.pdv-all-green label {
    color: #0f8f54 !important;
}

.pdv-all-green .text-white,
.pdv-all-green .text-white-50,
.pdv-all-green .text-light,
.pdv-all-green .text-muted,
.pdv-all-green .text-muted-custom,
.pdv-all-green .text-body-secondary {
    color: #0f8f54 !important;
}

.pdv-all-green .form-control,
.pdv-all-green .form-select,
.pdv-all-green .input-group-text {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
}

.pdv-all-green .form-control::placeholder,
.pdv-all-green .form-select::placeholder,
.pdv-all-green textarea::placeholder {
    color: rgba(15, 143, 84, 0.7) !important;
}

.pdv-all-green .form-control:focus,
.pdv-all-green .form-select:focus,
.pdv-all-green textarea:focus {
    border-color: #0f8f54 !important;
    box-shadow: 0 0 0 0.2rem rgba(15, 143, 84, 0.18) !important;
}

.pdv-all-green .btn-primary,
.pdv-all-green .btn-pay,
.pdv-all-green .pdv-add-trigger,
.pdv-all-green .pdv-submit-button {
    background: #10e265 !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
}

.pdv-all-green .btn-primary:hover,
.pdv-all-green .btn-pay:hover,
.pdv-all-green .pdv-add-trigger:hover,
.pdv-all-green .pdv-submit-button:hover,
.pdv-all-green .btn-shortcut:hover,
.pdv-all-green .pdv-shortcut:hover,
.pdv-all-green .pdv-suggestion:hover {
    background: rgba(16, 226, 101, 0.08) !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
}

.pdv-all-green .pdv-cart-table tbody td,
.pdv-all-green .pdv-cart-table tbody th {
    color: #0f8f54 !important;
    border-top-color: #0f8f54 !important;
}

.pdv-all-green .pdv-remove-button {
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
    background: #ffffff !important;
}

.pdv-all-green .pdv-remove-button:hover {
    background: rgba(16, 226, 101, 0.08) !important;
    color: #0f8f54 !important;
}

.pdv-all-green .pdv-total-value,
.pdv-all-green .pdv-cart-count strong,
.pdv-all-green .pdv-metric strong,
.pdv-all-green .pdv-metric-card strong,
.pdv-all-green .pdv-total-banner strong,
.pdv-all-green .pdv-total-banner small,
.pdv-all-green .pdv-total-banner small span {
    color: #0f8f54 !important;
}

.pdv-all-green .product-tabs {
    border-bottom-color: #0f8f54 !important;
}

.pdv-all-green .product-tabs .nav-link {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
}

.pdv-all-green .product-tabs .nav-link.active {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 #0f8f54 #ffffff !important;
    box-shadow: none !important;
}

.pdv-all-green .pdv-items-card .pdv-items-header {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border-bottom: 1px solid #0f8f54 !important;
}

.pdv-all-green .pdv-cart-table {
    background: #ffffff !important;
    border-collapse: separate;
    border-spacing: 0 0.7rem;
}

.pdv-all-green .pdv-cart-table thead.table-light,
.pdv-all-green .pdv-cart-table thead th {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border-bottom: 1px solid #0f8f54 !important;
}

.pdv-all-green .pdv-cart-table tbody tr {
    background: #ffffff !important;
    box-shadow: none !important;
}

.pdv-all-green .pdv-cart-table tbody td {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
}

.pdv-all-green .pdv-cart-table .form-control {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
}

.pdv-all-green .pdv-cart-table .pdv-remove-button {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
}

.pdv-all-green .pdv-item-name,
.pdv-all-green .pdv-item-meta,
.pdv-all-green .pdv-unit-price,
.pdv-all-green .pdv-subtotal {
    color: #0f8f54 !important;
}

.pdv-all-green .pdv-total-panel,
.pdv-all-green .pdv-metric-card,
.pdv-all-green .pdv-summary-card,
.pdv-all-green .pdv-summary-note {
    background: #ffffff !important;
    border: 1px solid #0f8f54 !important;
    color: #0f8f54 !important;
}

.pdv-all-green .pdv-metric-card {
    padding: 1rem 1.1rem;
    border-radius: 18px;
}

.pdv-all-green .pdv-metric-card span,
.pdv-all-green .pdv-metric-card strong,
.pdv-all-green .pdv-summary-note span,
.pdv-all-green .pdv-summary-note strong,
.pdv-all-green .pdv-total-panel .pdv-total-title,
.pdv-all-green .pdv-total-panel .pdv-total-subtitle {
    color: #0f8f54 !important;
}

.pdv-all-green .pdv-summary-card .card-body,
.pdv-all-green .pdv-summary-note {
    background: #ffffff !important;
}

.pdv-all-green .pdv-total-panel {
    box-shadow: none !important;
}

.pdv-all-green .pdv-total-panel,
.pdv-all-green .pdv-summary-card,
.pdv-all-green .pdv-metric-card,
.pdv-all-green .pdv-summary-note {
    background-image: none !important;
}

.ingredients-all-green {
    background: #ffffff !important;
    color: #0f8f54 !important;
}

.ingredients-all-green .card,
.ingredients-all-green .ingredient-hero,
.ingredients-all-green .ingredient-panel,
.ingredients-all-green .ingredient-form-card,
.ingredients-all-green .ingredient-preview,
.ingredients-all-green .ingredients-empty-state,
.ingredients-all-green .ingredients-table-wrap,
.ingredients-all-green .alert,
.ingredients-all-green .badge,
.ingredients-all-green .input-group-text,
.ingredients-all-green .form-control,
.ingredients-all-green .form-select,
.ingredients-all-green .table,
.ingredients-all-green .table-responsive,
.ingredients-all-green .btn-precificae,
.ingredients-all-green .btn-outline-precificae,
.ingredients-all-green .btn-outline-secondary,
.ingredients-all-green .btn-outline-primary,
.ingredients-all-green .btn-danger {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
}

.ingredients-all-green .ingredient-action-button {
    min-width: 9.5rem;
}

.ingredients-all-green .card-body,
.ingredients-all-green .card-header,
.ingredients-all-green .table thead th,
.ingredients-all-green .table tbody td,
.ingredients-all-green .table tbody th,
.ingredients-all-green .ingredients-table thead th,
.ingredients-all-green .ingredients-table tbody td,
.ingredients-all-green .ingredients-table tbody th,
.ingredients-all-green .ingredients-empty-state,
.ingredients-all-green .ingredient-preview,
.ingredients-all-green .ingredient-hero,
.ingredients-all-green .text-white,
.ingredients-all-green .text-white-50,
.ingredients-all-green .text-light,
.ingredients-all-green .text-muted,
.ingredients-all-green .text-muted-custom,
.ingredients-all-green .form-text,
.ingredients-all-green .badge,
.ingredients-all-green .btn,
.ingredients-all-green p,
.ingredients-all-green span,
.ingredients-all-green strong,
.ingredients-all-green small,
.ingredients-all-green label,
.ingredients-all-green dt,
.ingredients-all-green dd,
.ingredients-all-green h1,
.ingredients-all-green h2,
.ingredients-all-green h3,
.ingredients-all-green h4,
.ingredients-all-green h5,
.ingredients-all-green h6 {
    color: #0f8f54 !important;
}

.ingredients-all-green .ingredient-hero,
.ingredients-all-green .card,
.ingredients-all-green .ingredients-table-wrap,
.ingredients-all-green .ingredients-empty-state,
.ingredients-all-green .alert,
.ingredients-all-green .badge {
    border: 1px solid #0f8f54 !important;
    background: #ffffff !important;
}

.ingredients-all-green .ingredients-table thead.table-light,
.ingredients-all-green .ingredients-table thead th {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border-bottom-color: #0f8f54 !important;
}

.ingredients-all-green .ingredients-table tbody tr:nth-of-type(even) > * {
    --bs-table-accent-bg: rgba(15, 143, 84, 0.03);
}

.ingredients-all-green .ingredients-table tbody tr:hover > * {
    background: rgba(15, 143, 84, 0.05) !important;
}

.ingredients-all-green .form-control::placeholder,
.ingredients-all-green .form-select::placeholder,
.ingredients-all-green textarea::placeholder {
    color: rgba(15, 143, 84, 0.65) !important;
}

.ingredients-all-green .form-control:focus,
.ingredients-all-green .form-select:focus,
.ingredients-all-green textarea:focus {
    border-color: #0f8f54 !important;
    box-shadow: 0 0 0 0.2rem rgba(15, 143, 84, 0.18) !important;
}

.ingredients-all-green .btn-precificae:hover,
.ingredients-all-green .btn-outline-precificae:hover,
.ingredients-all-green .btn-outline-secondary:hover,
.ingredients-all-green .btn-outline-primary:hover,
.ingredients-all-green .btn-danger:hover {
    background: rgba(15, 143, 84, 0.08) !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
}

.ingredients-all-green .card,
.ingredients-all-green .ingredient-hero,
.ingredients-all-green .ingredient-panel,
.ingredients-all-green .ingredient-form-card,
.ingredients-all-green .ingredients-empty-state,
.ingredients-all-green .ingredients-table-wrap,
.ingredients-all-green .alert,
.ingredients-all-green .badge,
.ingredients-all-green .input-group-text,
.ingredients-all-green .form-control,
.ingredients-all-green .form-select,
.ingredients-all-green .table,
.ingredients-all-green .table-responsive,
.ingredients-all-green .btn-precificae,
.ingredients-all-green .btn-outline-precificae,
.ingredients-all-green .btn-outline-secondary,
.ingredients-all-green .btn-outline-primary,
.ingredients-all-green .btn-danger,
.ingredients-all-green .ingredients-table thead th,
.ingredients-all-green .ingredients-table tbody td,
.ingredients-all-green .ingredients-table tbody th,
.ingredients-all-green .ingredient-preview {
    background-image: none !important;
}

.products-all-green {
    background: #ffffff !important;
    color: #0f8f54 !important;
}

.products-all-green .card,
.products-all-green .card-body,
.products-all-green .card-header,
.products-all-green .products-table-wrap,
.products-all-green .product-detail-panel,
.products-all-green .product-summary-card,
.products-all-green .product-detail-avatar,
.products-all-green .product-tabs-shell,
.products-all-green .product-tabs,
.products-all-green .product-tabs .nav-link,
.products-all-green .section-surface,
.products-all-green .section-header,
.products-all-green .product-info-list li,
.products-all-green .product-ingredients-table,
.products-all-green .table-responsive,
.products-all-green .table,
.products-all-green .alert,
.products-all-green .badge,
.products-all-green .input-group-text,
.products-all-green .form-control,
.products-all-green .form-select,
.products-all-green .btn,
.products-all-green .btn-primary,
.products-all-green .btn-outline-secondary,
.products-all-green .btn-outline-primary,
.products-all-green .btn-outline-reset,
.products-all-green .btn-danger,
.products-all-green .product-delete-button {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
}

.products-all-green .card,
.products-all-green .products-table-wrap,
.products-all-green .product-detail-panel,
.products-all-green .product-summary-card,
.products-all-green .product-detail-avatar,
.products-all-green .product-tabs-shell,
.products-all-green .product-tabs,
.products-all-green .product-tabs .nav-link,
.products-all-green .section-surface,
.products-all-green .section-header,
.products-all-green .product-info-list li,
.products-all-green .product-ingredients-table,
.products-all-green .alert,
.products-all-green .badge {
    border: 1px solid #0f8f54 !important;
}

.products-all-green .products-table thead.table-light,
.products-all-green .products-table thead th,
.products-all-green .product-detail-table thead.table-light,
.products-all-green .product-detail-table thead th,
.products-all-green .product-ingredients-table thead.table-light,
.products-all-green .product-ingredients-table thead th,
.products-all-green .product-tabs {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
}

.products-all-green .products-table tbody td,
.products-all-green .products-table tbody th,
.products-all-green .product-detail-table tbody td,
.products-all-green .product-detail-table tbody th,
.products-all-green .product-ingredients-table tbody td,
.products-all-green .product-ingredients-table tbody th,
.products-all-green .table tbody td,
.products-all-green .table tbody th {
    color: #0f8f54 !important;
    border-top-color: #0f8f54 !important;
}

.products-all-green .product-detail-avatar span {
    color: #0f8f54 !important;
}

.products-all-green .product-info-list span,
.products-all-green .product-tabs-hint,
.products-all-green .product-summary-card small,
.products-all-green .product-detail-page .metric-card small,
.products-all-green .text-muted,
.products-all-green .text-muted-custom,
.products-all-green .text-white,
.products-all-green .text-white-50,
.products-all-green .text-light,
.products-all-green .badge,
.products-all-green p,
.products-all-green span,
.products-all-green strong,
.products-all-green small,
.products-all-green label,
.products-all-green dt,
.products-all-green dd,
.products-all-green h1,
.products-all-green h2,
.products-all-green h3,
.products-all-green h4,
.products-all-green h5,
.products-all-green h6 {
    color: #0f8f54 !important;
}

.products-all-green .product-detail-avatar,
.products-all-green .product-summary-card,
.products-all-green .product-detail-panel,
.products-all-green .section-surface,
.products-all-green .product-info-list li,
.products-all-green .products-table-wrap,
.products-all-green .product-ingredients-table,
.products-all-green .product-tabs,
.products-all-green .product-tabs .nav-link,
.products-all-green .alert,
.products-all-green .badge,
.products-all-green .card {
    background-image: none !important;
}

.products-all-green .product-tabs .nav-link.active {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 #0f8f54 #ffffff !important;
    box-shadow: none !important;
}

.products-all-green .product-detail-avatar {
    display: grid;
    place-items: center;
}

.products-all-green .product-detail-avatar img {
    background: #ffffff !important;
}

.products-all-green .product-detail-page .metric-card,
.products-all-green .product-summary-card,
.products-all-green .product-detail-panel,
.products-all-green .section-surface,
.products-all-green .product-tabs-shell {
    background: #ffffff !important;
}

.products-all-green .form-control,
.products-all-green .form-select,
.products-all-green .input-group-text {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
}

.products-all-green .form-control::placeholder,
.products-all-green .form-select::placeholder,
.products-all-green textarea::placeholder {
    color: rgba(15, 143, 84, 0.65) !important;
}

.products-all-green .form-control:focus,
.products-all-green .form-select:focus,
.products-all-green textarea:focus {
    border-color: #0f8f54 !important;
    box-shadow: 0 0 0 0.2rem rgba(15, 143, 84, 0.18) !important;
}

.products-all-green .btn-primary,
.products-all-green .btn-outline-secondary,
.products-all-green .btn-outline-primary,
.products-all-green .btn-outline-reset,
.products-all-green .btn-danger,
.products-all-green .product-delete-button {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border: 1px solid #0f8f54 !important;
}

.products-all-green .btn-primary:hover,
.products-all-green .btn-outline-secondary:hover,
.products-all-green .btn-outline-primary:hover,
.products-all-green .btn-outline-reset:hover,
.products-all-green .btn-danger:hover,
.products-all-green .product-delete-button:hover {
    background: rgba(15, 143, 84, 0.08) !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
}

.calculator-all-green {
    background: #ffffff !important;
    color: #0f8f54 !important;
}

.calculator-all-green .card,
.calculator-all-green .calculator-hero,
.calculator-all-green .calculator-panel,
.calculator-all-green .calculator-display-panel,
.calculator-all-green .calculator-result-card,
.calculator-all-green .calculator-metrics .card,
.calculator-all-green .calculator-badge,
.calculator-all-green .calculator-field,
.calculator-all-green .calculator-input-group,
.calculator-all-green .calculator-options,
.calculator-all-green .calculator-switch,
.calculator-all-green .calculator-breakdown-wrap,
.calculator-all-green .calculator-breakdown,
.calculator-all-green .table,
.calculator-all-green .table-responsive,
.calculator-all-green .badge,
.calculator-all-green .alert,
.calculator-all-green .form-control,
.calculator-all-green .form-select,
.calculator-all-green .input-group-text,
.calculator-all-green .btn,
.calculator-all-green .btn-primary,
.calculator-all-green .btn-outline-secondary,
.calculator-all-green .btn-outline-primary {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
}

.calculator-all-green .card-body,
.calculator-all-green .calculator-hero .card-body,
.calculator-all-green .calculator-panel-head,
.calculator-all-green .calculator-field .form-label,
.calculator-all-green .calculator-switch .form-check-label,
.calculator-all-green .calculator-price-display,
.calculator-all-green .metric-tile,
.calculator-all-green .calculator-breakdown th,
.calculator-all-green .calculator-breakdown td,
.calculator-all-green .badge,
.calculator-all-green .text-muted,
.calculator-all-green .text-muted-custom,
.calculator-all-green .text-white,
.calculator-all-green .text-white-50,
.calculator-all-green .text-light,
.calculator-all-green p,
.calculator-all-green span,
.calculator-all-green strong,
.calculator-all-green small,
.calculator-all-green label,
.calculator-all-green h1,
.calculator-all-green h2,
.calculator-all-green h3,
.calculator-all-green h4,
.calculator-all-green h5,
.calculator-all-green h6 {
    color: #0f8f54 !important;
}

.calculator-all-green .calculator-hero,
.calculator-all-green .calculator-panel,
.calculator-all-green .calculator-display-panel,
.calculator-all-green .calculator-result-card,
.calculator-all-green .calculator-metrics .card,
.calculator-all-green .calculator-breakdown-wrap,
.calculator-all-green .calculator-breakdown,
.calculator-all-green .badge,
.calculator-all-green .card {
    background-image: none !important;
}

.calculator-all-green .calculator-panel,
.calculator-all-green .calculator-display-panel {
    border: 1px solid #0f8f54 !important;
}

.calculator-all-green .calculator-hero {
    border: 1px solid #0f8f54 !important;
}

.calculator-all-green .calculator-switch .form-check-input {
    background-color: #ffffff !important;
    border-color: #0f8f54 !important;
}

.calculator-all-green .calculator-switch .form-check-input:checked {
    background-color: #10e265 !important;
    border-color: #0f8f54 !important;
}

.calculator-all-green .calculator-breakdown thead.table-light,
.calculator-all-green .calculator-breakdown thead th {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border-bottom-color: #0f8f54 !important;
}

.calculator-all-green .calculator-breakdown tbody td,
.calculator-all-green .calculator-breakdown tbody th {
    color: #0f8f54 !important;
    border-top-color: #0f8f54 !important;
}

.calculator-all-green .form-control::placeholder,
.calculator-all-green .form-select::placeholder,
.calculator-all-green textarea::placeholder {
    color: rgba(15, 143, 84, 0.65) !important;
}

.calculator-all-green .form-control:focus,
.calculator-all-green .form-select:focus,
.calculator-all-green textarea:focus {
    border-color: #0f8f54 !important;
    box-shadow: 0 0 0 0.2rem rgba(15, 143, 84, 0.18) !important;
}

.calculator-all-green .btn-primary,
.calculator-all-green .btn-outline-secondary,
.calculator-all-green .btn-outline-primary {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border: 1px solid #0f8f54 !important;
}

.calculator-all-green .btn-primary:hover,
.calculator-all-green .btn-outline-secondary:hover,
.calculator-all-green .btn-outline-primary:hover {
    background: rgba(15, 143, 84, 0.08) !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
}

.sales-all-green {
    background: #ffffff !important;
    color: #0f8f54 !important;
}

.sales-all-green .card,
.sales-all-green .card-body,
.sales-all-green .sales-summary-card,
.sales-all-green .sales-items-wrap,
.sales-all-green .sales-table-wrap,
.sales-all-green .sales-items-table,
.sales-all-green .sales-table,
.sales-all-green .table,
.sales-all-green .table-responsive,
.sales-all-green .alert,
.sales-all-green .badge,
.sales-all-green .btn,
.sales-all-green .btn-primary,
.sales-all-green .btn-outline-secondary,
.sales-all-green .btn-outline-primary,
.sales-all-green .sale-status-badge {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
}

.sales-all-green .sales-summary-card,
.sales-all-green .sales-items-wrap,
.sales-all-green .sales-table-wrap,
.sales-all-green .sales-items-table,
.sales-all-green .sales-table,
.sales-all-green .table,
.sales-all-green .alert,
.sales-all-green .badge,
.sales-all-green .card {
    background-image: none !important;
}

.sales-all-green .sales-summary-card,
.sales-all-green .sales-items-wrap,
.sales-all-green .sales-table-wrap,
.sales-all-green .alert,
.sales-all-green .badge,
.sales-all-green .card {
    border: 1px solid #0f8f54 !important;
}

.sales-all-green .sales-summary-card {
    padding: 1rem 1.25rem;
    border-radius: 16px !important;
}

.sales-all-green .sales-table thead.table-light,
.sales-all-green .sales-table thead th,
.sales-all-green .sales-items-table thead.table-light,
.sales-all-green .sales-items-table thead th {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border-bottom: 1px solid #0f8f54 !important;
}

.sales-all-green .sales-table tbody td,
.sales-all-green .sales-table tbody th,
.sales-all-green .sales-items-table tbody td,
.sales-all-green .sales-items-table tbody th {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border-top-color: #0f8f54 !important;
}

.sales-all-green .sales-summary-card .text-muted,
.sales-all-green .sales-summary-card .small,
.sales-all-green .sales-summary-card .fs-4,
.sales-all-green .text-muted,
.sales-all-green .text-white,
.sales-all-green .text-white-50,
.sales-all-green .text-light,
.sales-all-green p,
.sales-all-green span,
.sales-all-green strong,
.sales-all-green small,
.sales-all-green label,
.sales-all-green h1,
.sales-all-green h2,
.sales-all-green h3,
.sales-all-green h4,
.sales-all-green h5,
.sales-all-green h6 {
    color: #0f8f54 !important;
}

.sales-all-green .form-control,
.sales-all-green .form-select,
.sales-all-green .input-group-text {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
}

.sales-all-green .btn-primary:hover,
.sales-all-green .btn-outline-secondary:hover,
.sales-all-green .btn-outline-primary:hover {
    background: rgba(15, 143, 84, 0.08) !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
}

.sales-all-green .sale-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
}

.tax-profile-all-green,
.costs-all-green {
    background: #ffffff !important;
    color: #0f8f54 !important;
}

.tax-profile-all-green .card,
.tax-profile-all-green .card-body,
.tax-profile-all-green .alert,
.tax-profile-all-green .form-control,
.tax-profile-all-green .form-select,
.tax-profile-all-green textarea.form-control,
.tax-profile-all-green .input-group-text,
.tax-profile-all-green .btn,
.tax-profile-all-green .btn-primary,
.tax-profile-all-green .btn-outline-secondary,
.tax-profile-all-green .btn-outline-primary,
.tax-profile-all-green .border,
.tax-profile-all-green .border-top,
.tax-profile-all-green .border-bottom,
.tax-profile-all-green .border-start,
.tax-profile-all-green .border-end,
.tax-profile-all-green .tax-profile-panel,
.tax-profile-all-green .tax-profile-summary,
.costs-all-green .card,
.costs-all-green .card-body,
.costs-all-green .alert,
.costs-all-green .form-control,
.costs-all-green .form-select,
.costs-all-green textarea.form-control,
.costs-all-green .input-group-text,
.costs-all-green .btn,
.costs-all-green .btn-primary,
.costs-all-green .btn-outline-secondary,
.costs-all-green .btn-outline-primary,
.costs-all-green .btn-outline-danger,
.costs-all-green .border,
.costs-all-green .border-top,
.costs-all-green .border-bottom,
.costs-all-green .border-start,
.costs-all-green .border-end,
.costs-all-green .costs-table-wrap,
.costs-all-green .costs-table,
.costs-all-green .costs-panel,
.costs-all-green .costs-summary-card {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
}

.tax-profile-all-green .card,
.tax-profile-all-green .alert,
.tax-profile-all-green .form-control,
.tax-profile-all-green .form-select,
.tax-profile-all-green textarea.form-control,
.tax-profile-all-green .input-group-text,
.tax-profile-all-green .btn,
.costs-all-green .card,
.costs-all-green .alert,
.costs-all-green .form-control,
.costs-all-green .form-select,
.costs-all-green textarea.form-control,
.costs-all-green .input-group-text,
.costs-all-green .btn {
    background-image: none !important;
}

.tax-profile-all-green h1,
.tax-profile-all-green h2,
.tax-profile-all-green h3,
.tax-profile-all-green h4,
.tax-profile-all-green h5,
.tax-profile-all-green h6,
.tax-profile-all-green p,
.tax-profile-all-green span,
.tax-profile-all-green strong,
.tax-profile-all-green small,
.tax-profile-all-green label,
.tax-profile-all-green dt,
.tax-profile-all-green dd,
.tax-profile-all-green .text-muted,
.tax-profile-all-green .text-white,
.tax-profile-all-green .text-white-50,
.tax-profile-all-green .text-light,
.tax-profile-all-green .form-text,
.costs-all-green h1,
.costs-all-green h2,
.costs-all-green h3,
.costs-all-green h4,
.costs-all-green h5,
.costs-all-green h6,
.costs-all-green p,
.costs-all-green span,
.costs-all-green strong,
.costs-all-green small,
.costs-all-green label,
.costs-all-green dt,
.costs-all-green dd,
.costs-all-green .text-muted,
.costs-all-green .text-white,
.costs-all-green .text-white-50,
.costs-all-green .text-light,
.costs-all-green .form-text {
    color: #0f8f54 !important;
}

.tax-profile-all-green .form-control::placeholder,
.tax-profile-all-green .form-select::placeholder,
.tax-profile-all-green textarea::placeholder,
.costs-all-green .form-control::placeholder,
.costs-all-green .form-select::placeholder,
.costs-all-green textarea::placeholder {
    color: rgba(15, 143, 84, 0.65) !important;
}

.tax-profile-all-green .form-control:focus,
.tax-profile-all-green .form-select:focus,
.tax-profile-all-green textarea:focus,
.costs-all-green .form-control:focus,
.costs-all-green .form-select:focus,
.costs-all-green textarea:focus {
    border-color: #0f8f54 !important;
    box-shadow: 0 0 0 0.2rem rgba(15, 143, 84, 0.18) !important;
}

.tax-profile-all-green .tax-profile-regime-select {
    min-height: calc(1.5em + 0.75rem + 2px) !important;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem !important;
    border-radius: 0.375rem !important;
}

.costs-all-green .costs-table thead.table-light,
.costs-all-green .costs-table thead th {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border-bottom: 1px solid #0f8f54 !important;
}

.costs-all-green .costs-table tbody td,
.costs-all-green .costs-table tbody th {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border-top-color: #0f8f54 !important;
}

.costs-all-green .costs-table-wrap,
.costs-all-green .costs-table,
.costs-all-green .costs-summary-card,
.tax-profile-all-green .alert,
.tax-profile-all-green .card,
.costs-all-green .alert,
.costs-all-green .card {
    background: #ffffff !important;
    border: 1px solid #0f8f54 !important;
    box-shadow: none !important;
}

.tax-profile-all-green .btn-primary,
.tax-profile-all-green .btn-outline-secondary,
.tax-profile-all-green .btn-outline-primary,
.costs-all-green .btn-primary,
.costs-all-green .btn-outline-secondary,
.costs-all-green .btn-outline-primary,
.costs-all-green .btn-outline-danger {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border: 1px solid #0f8f54 !important;
}

.tax-profile-all-green .btn-primary:hover,
.tax-profile-all-green .btn-outline-secondary:hover,
.tax-profile-all-green .btn-outline-primary:hover,
.costs-all-green .btn-primary:hover,
.costs-all-green .btn-outline-secondary:hover,
.costs-all-green .btn-outline-primary:hover,
.costs-all-green .btn-outline-danger:hover {
    background: rgba(15, 143, 84, 0.08) !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
}

.costs-all-green .costs-table .form-control {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
}

.courses-all-green {
    background: #ffffff !important;
    color: #0f8f54 !important;
}

.courses-all-green .card,
.courses-all-green .card-body,
.courses-all-green .card-header,
.courses-all-green .courses-table-wrap,
.courses-all-green .courses-table,
.courses-all-green .table,
.courses-all-green .table-responsive,
.courses-all-green .alert,
.courses-all-green .badge,
.courses-all-green .list-group-item,
.courses-all-green .form-control,
.courses-all-green .form-select,
.courses-all-green textarea.form-control,
.courses-all-green .input-group-text,
.courses-all-green .btn,
.courses-all-green .btn-primary,
.courses-all-green .btn-outline-secondary,
.courses-all-green .btn-outline-primary,
.courses-all-green .btn-outline-danger,
.courses-all-green .border,
.courses-all-green .border-top,
.courses-all-green .border-bottom,
.courses-all-green .border-start,
.courses-all-green .border-end,
.courses-all-green .course-card,
.courses-all-green .course-detail-header,
.courses-all-green .course-detail-body,
.courses-all-green .course-content-card,
.courses-all-green .course-content-panel {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
}

.courses-all-green .bg-light,
.courses-all-green .bg-body-tertiary,
.courses-all-green .bg-primary-subtle,
.courses-all-green .bg-success-subtle,
.courses-all-green .bg-warning-subtle,
.courses-all-green .bg-danger-subtle,
.courses-all-green .bg-info-subtle,
.courses-all-green .text-bg-light,
.courses-all-green .text-bg-success,
.courses-all-green .text-bg-secondary,
.courses-all-green .text-bg-info,
.courses-all-green .text-bg-warning,
.courses-all-green .text-bg-danger,
.courses-all-green .alert-secondary,
.courses-all-green .alert-info {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
}

.courses-all-green .card,
.courses-all-green .card-body,
.courses-all-green .card-header,
.courses-all-green .courses-table-wrap,
.courses-all-green .courses-table,
.courses-all-green .table,
.courses-all-green .table-responsive,
.courses-all-green .alert,
.courses-all-green .badge,
.courses-all-green .list-group-item,
.courses-all-green .course-card,
.courses-all-green .course-detail-header,
.courses-all-green .course-detail-body,
.courses-all-green .course-content-card,
.courses-all-green .course-content-panel {
    background-image: none !important;
}

.courses-all-green .courses-table-wrap,
.courses-all-green .courses-table,
.courses-all-green .alert,
.courses-all-green .badge,
.courses-all-green .list-group-item,
.courses-all-green .card,
.courses-all-green .course-card,
.courses-all-green .course-detail-header,
.courses-all-green .course-detail-body,
.courses-all-green .course-content-card,
.courses-all-green .course-content-panel {
    border: 1px solid #0f8f54 !important;
}

.courses-all-green .courses-table thead.table-light,
.courses-all-green .courses-table thead th {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border-bottom: 1px solid #0f8f54 !important;
}

.courses-all-green .courses-table tbody td,
.courses-all-green .courses-table tbody th {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border-top-color: #0f8f54 !important;
}

.courses-all-green .courses-table tbody tr:nth-of-type(even) > * {
    --bs-table-accent-bg: rgba(15, 143, 84, 0.03);
}

.courses-all-green .courses-table tbody tr:hover > *,
.courses-all-green .list-group-item:hover {
    background: rgba(15, 143, 84, 0.05) !important;
}

.courses-all-green .text-bg-success,
.courses-all-green .text-bg-secondary,
.courses-all-green .text-bg-info,
.courses-all-green .text-bg-warning,
.courses-all-green .text-bg-danger,
.courses-all-green .text-bg-light,
.courses-all-green .badge {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border: 1px solid #0f8f54 !important;
}

.courses-all-green h1,
.courses-all-green h2,
.courses-all-green h3,
.courses-all-green h4,
.courses-all-green h5,
.courses-all-green h6,
.courses-all-green p,
.courses-all-green span,
.courses-all-green strong,
.courses-all-green small,
.courses-all-green label,
.courses-all-green dt,
.courses-all-green dd,
.courses-all-green .text-muted,
.courses-all-green .text-white,
.courses-all-green .text-white-50,
.courses-all-green .text-light,
.courses-all-green .form-text,
.courses-all-green .badge {
    color: #0f8f54 !important;
}

.courses-all-green .form-control,
.courses-all-green .form-select,
.courses-all-green textarea.form-control,
.courses-all-green .input-group-text {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
}

.courses-all-green .form-control::placeholder,
.courses-all-green .form-select::placeholder,
.courses-all-green textarea::placeholder {
    color: rgba(15, 143, 84, 0.65) !important;
}

.courses-all-green .form-control:focus,
.courses-all-green .form-select:focus,
.courses-all-green textarea:focus {
    border-color: #0f8f54 !important;
    box-shadow: 0 0 0 0.2rem rgba(15, 143, 84, 0.18) !important;
}

.courses-all-green .btn-primary,
.courses-all-green .btn-outline-secondary,
.courses-all-green .btn-outline-primary,
.courses-all-green .btn-outline-danger {
    background: #ffffff !important;
    color: #0f8f54 !important;
    border: 1px solid #0f8f54 !important;
}

.courses-all-green .btn-primary:hover,
.courses-all-green .btn-outline-secondary:hover,
.courses-all-green .btn-outline-primary:hover,
.courses-all-green .btn-outline-danger:hover {
    background: rgba(15, 143, 84, 0.08) !important;
    color: #0f8f54 !important;
    border-color: #0f8f54 !important;
}
.master-dashboard { display: grid; gap: 22px; }
.master-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px; color: #fff; background: linear-gradient(135deg, #063d27, #08c96d); border-radius: 22px; box-shadow: 0 18px 45px rgba(4, 92, 54, .18); }
.master-hero h2 { margin: 4px 0 6px; font-size: clamp(1.5rem, 3vw, 2.25rem); }
.master-hero p { margin: 0; color: rgba(255,255,255,.82); }
.master-kicker { color: #10d977; font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.master-hero .master-kicker { color: rgba(255,255,255,.72); }
.master-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.master-metrics article, .master-panel { background: #fff; border: 1px solid #dce9e2; border-radius: 18px; box-shadow: 0 10px 28px rgba(16, 45, 31, .06); }
.master-metrics article { display: grid; gap: 5px; padding: 20px; }
.master-metrics span { color: #65756d; font-size: .82rem; font-weight: 700; }
.master-metrics strong { color: #10291d; font-size: 1.9rem; }
.master-metrics small { color: #829087; }
.master-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(250px, .8fr); gap: 18px; }
.master-panel { padding: 20px; min-width: 0; }
.master-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.master-panel-head h3 { margin: 3px 0 0; color: #10291d; font-size: 1.1rem; }
.master-panel-head a { color: #078a4d; font-size: .82rem; font-weight: 700; text-decoration: none; }
.master-table { width: 100%; border-collapse: collapse; }
.master-table th { color: #718078; font-size: .72rem; text-align: left; text-transform: uppercase; }
.master-table th, .master-table td { padding: 12px 9px; border-bottom: 1px solid #e8efeb; }
.master-table td { color: #34483e; font-size: .86rem; }
.master-table td a { display: block; color: #10291d; font-weight: 750; text-decoration: none; }
.master-table td small { display: block; color: #87948d; }
.master-status { display: inline-flex; padding: 4px 8px; border-radius: 999px; font-size: .7rem; font-weight: 800; }
.master-status.success { color: #08733f; background: #dff8eb; }
.master-status.warning { color: #8a5c00; background: #fff2cc; }
.master-status.danger { color: #a72d2d; background: #ffe2e2; }
.master-status.neutral { color: #526159; background: #e8eeeb; }
.master-shortcuts { display: grid; align-content: start; gap: 8px; }
.master-shortcuts > a { display: grid; gap: 3px; padding: 13px 14px; color: #10291d; background: #f5faf7; border: 1px solid #e0ece5; border-radius: 12px; text-decoration: none; transition: .18s ease; }
.master-shortcuts > a:hover { border-color: #10d977; transform: translateY(-1px); }
.master-shortcuts > a span { color: #748279; font-size: .76rem; }
.master-page-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.master-page-header h2 { margin: 3px 0 4px; color: #10291d; }
.master-page-header p { margin: 0; color: #718078; }
.master-metrics-compact { grid-template-columns: repeat(3, minmax(0, 220px)); }
.master-filters { display: grid; grid-template-columns: minmax(240px, 1fr) 210px auto; gap: 10px; margin-bottom: 18px; }
.master-client-table td strong { display: block; color: #10291d; }
.master-action-link { color: #078a4d; font-weight: 750; text-decoration: none; }
.master-empty { display: grid; justify-items: center; gap: 5px; padding: 44px 20px; color: #738178; text-align: center; }
.master-empty strong { color: #10291d; font-size: 1rem; }
.master-empty a { margin-top: 8px; color: #078a4d; font-weight: 800; }
.master-form { max-width: 920px; }
.master-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.master-field { display: grid; gap: 7px; color: #34483e; font-weight: 700; }
.master-field-wide { grid-column: 1 / -1; }
.master-field small { color: #829087; font-size: .72rem; font-weight: 500; }
.master-field em { color: #b52d2d; font-size: .76rem; font-style: normal; }
.master-check { display: flex; align-items: center; gap: 9px; padding: 12px 14px; background: #f5faf7; border: 1px solid #e0ece5; border-radius: 11px; color: #34483e; font-weight: 700; }
.master-form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid #e5ede8; }
.master-inline-actions { display: flex; align-items: center; gap: 10px; }
.master-inline-actions form { margin: 0; }
.master-inline-actions button { padding: 0; color: #078a4d; background: none; border: 0; font-size: .78rem; font-weight: 800; cursor: pointer; }
.master-inline-actions button.danger { color: #b52d2d; }
.master-inline-actions span { color: #829087; font-size: .78rem; }
.master-inline-actions .master-access-button { padding: 7px 10px; border: 1px solid #0b9b55; border-radius: 8px; background: #0b9b55; color: #fff; font-size: .78rem; font-weight: 800; }
.master-inline-actions .master-access-button:hover { background: #087c44; border-color: #087c44; }
.master-account-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.master-account-tags span { display: inline-flex; padding: 3px 7px; border-radius: 999px; background: #dcf8e8; color: #087640; font-size: .66rem; font-weight: 800; }
.master-client-context { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; padding: 14px 18px; border: 1px solid #9fdbb9; border-radius: 14px; background: #edfaf3; color: #214c35; }
.master-client-context > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px 11px; }
.master-client-context span { color: #078a4d; font-size: .72rem; font-weight: 800; letter-spacing: .07em; }
.master-client-context strong { color: #10291d; }
.master-client-context small { color: #60776a; }
body.app-body .sidebar .menu-client-context { display: grid; gap: 3px; margin: 4px 7px 8px; padding: 10px 12px; border: 1px solid rgba(16, 226, 101, .2); border-radius: 8px; background: rgba(16, 226, 101, .07); }
body.app-body .sidebar .menu-client-context span { color: rgba(255, 255, 255, .48); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
body.app-body .sidebar .menu-client-context strong { overflow: hidden; color: #10e265; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
body.app-body.sidebar-collapsed .menu-client-context { display: none !important; }
.master-invite-note { display: grid; gap: 4px; margin-top: 20px; padding: 15px; color: #365143; background: #edfaf3; border: 1px solid #cfeedd; border-radius: 12px; }
.master-invite-note span { color: #6d7e75; font-size: .82rem; }
.master-client-metrics { grid-template-columns: repeat(4, minmax(0, 220px)); }
.master-settings-button { display: inline-grid; width: 34px; height: 34px; padding: 0 !important; place-items: center; border: 1px solid #d5e5dc !important; border-radius: 9px; background: #fff !important; color: #315044 !important; font-size: .9rem !important; transition: .18s ease; }
.master-settings-button:hover { border-color: #0ba65b !important; color: #078a4d !important; background: #effbf5 !important; }
.master-drawer-backdrop { position: fixed; z-index: 1090; inset: 0; background: rgba(8, 24, 16, .48); backdrop-filter: blur(2px); }
.master-drawer-backdrop[hidden] { display: none; }
.master-client-drawer { position: fixed; z-index: 1100; top: 0; right: 0; left: auto; margin: 0; border: 0; max-width: 100vw; max-height: none; width: min(420px, 100vw); height: 100dvh; overflow-y: auto; padding: 18px 18px 28px; background: #fff; color: #193426; box-shadow: -18px 0 48px rgba(7, 29, 18, .18); }
.master-client-drawer::backdrop { background: rgba(8, 24, 16, .48); backdrop-filter: blur(2px); }
.master-client-drawer.is-open { animation: client-drawer-in .24s ease both; }
@keyframes client-drawer-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .master-client-drawer.is-open { animation: none; } }
body.master-drawer-visible { overflow: hidden; }
.master-client-drawer-head { position: sticky; z-index: 2; top: -18px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: -18px -18px 12px; padding: 18px; border-bottom: 1px solid #e3ebe7; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); }
.master-client-drawer-head h3 { margin: 4px 0 0; color: #10291d; font-size: 1.05rem; font-weight: 800; }
.master-drawer-close { display: grid; width: 32px; height: 32px; padding: 0; flex: 0 0 auto; place-items: center; border: 1px solid #d9e5de; border-radius: 9px; background: #fff; color: #526159; font-size: 1.25rem; line-height: 1; cursor: pointer; }
.master-default-account-note { display: grid; gap: 2px; margin-bottom: 12px; padding: 11px 12px; border: 1px solid #dbe8e0; border-radius: 10px; background: #f7faf8; color: #64736b; font-size: .76rem; }
.master-default-account-note strong { color: #243c30; }
.master-default-account-note.is-global { border-color: #a7e2c3; background: #edfaf3; }
.master-client-drawer-form { display: grid; gap: 14px; }
.master-drawer-section { display: grid; gap: 11px; padding-bottom: 14px; border-bottom: 1px solid #e6eee9; }
.master-drawer-section .master-field { gap: 5px; font-size: .73rem; text-transform: uppercase; }
.master-drawer-section .master-field input, .master-drawer-section .master-field select { min-height: 38px; font-size: .86rem; text-transform: none; }
.master-drawer-section .master-field small { text-transform: none; line-height: 1.45; }
.master-drawer-section input:disabled, .master-drawer-section select:disabled { opacity: .75; background: #f0f4f2; cursor: not-allowed; }
.master-password-input { display: flex; position: relative; }
.master-password-input input { width: 100%; padding-right: 42px; }
.master-password-input button { position: absolute; right: 3px; top: 3px; height: 32px; width: 34px; border: 0; background: transparent; color: #617b6b; cursor: pointer; }
.master-section-save { width: 100%; font-size: .83rem; font-weight: 700; background: #10c866; color: #071d11; border-color: #10c866; }
.master-drawer-note { margin: 0; color: #65776d; font-size: .76rem; line-height: 1.5; }
.master-contract-notice { padding: 11px; border: 1px solid #e2cf8c; border-radius: 8px; background: #fff9e7; color: #755c0a; font-size: .76rem; }
.master-client-drawer .form-select, .master-client-drawer .form-control { width: 100%; border: 1px solid #d8e5dd; border-radius: 8px; background-color: #f8fcfa; padding: 8px 10px; color: #263d30; }
.master-client-drawer .form-select:focus, .master-client-drawer .form-control:focus { outline: none; border-color: #13b867; box-shadow: 0 0 0 3px rgba(19,184,103,.14); }
.master-client-pagination { display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin-top: 16px; font-size: .83rem; }
.master-client-drawer .btn-success, .master-page-header > button[data-client-drawer-open] { background: #10c866; border-color: #10c866; color: #062213; font-size: .84rem; font-weight: 750; border-radius: 8px; }
.master-client-drawer .btn-success:hover, .master-page-header > button[data-client-drawer-open]:hover { background: #0fb95d; border-color: #0fb95d; }
.master-client-drawer button:focus-visible { outline: 2px solid #087c44; outline-offset: 3px; }
.master-phone-input { display: grid; grid-template-columns: auto 1fr; }
.master-phone-input > span { display: grid; min-width: 48px; place-items: center; border: 1px solid #cedbd4; border-right: 0; border-radius: 8px 0 0 8px; background: #ebf7f0; color: #087c44; font-weight: 800; }
.master-phone-input input { border-radius: 0 8px 8px 0; }
.master-technical-fields { padding: 9px 0 0; }
.master-technical-fields summary { margin-bottom: 10px; color: #087c44; font-size: .76rem; font-weight: 800; cursor: pointer; }
.master-technical-fields .master-field + .master-field { margin-top: 10px; }
.master-contract-section > p { margin: -5px 0 1px; color: #718078; font-size: .76rem; }
.master-financial-state { color: #62746a; }
.master-drawer-actions { position: sticky; bottom: -28px; z-index: 2; margin: 0 -18px; padding: 13px 18px 18px; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); }
.master-account-actions { display: grid; gap: 8px; margin-top: 8px; padding-top: 14px; border-top: 1px solid #e7eeea; }
.master-account-actions form { margin: 0; }
.master-account-actions button { width: 100%; padding: 9px 12px; border: 1px solid #f1baba; border-radius: 8px; background: #fff1f1; color: #bd2e2e; font-size: .8rem; font-weight: 800; text-align: left; cursor: pointer; }
.master-account-actions button.is-positive { border-color: #9eddbb; background: #eafaf2; color: #087c44; }
.account-unavailable-card { display: grid; max-width: 620px; gap: 14px; margin: 7vh auto; padding: 32px; border: 1px solid #d9e7df; border-radius: 20px; background: #fff; box-shadow: 0 18px 50px rgba(13, 48, 31, .09); }
.account-unavailable-card h2, .account-unavailable-card p { margin: 0; }
.account-unavailable-card p { color: #67776f; }
.account-unavailable-card form { margin-top: 8px; }
@media (max-width: 1000px) { .master-metrics { grid-template-columns: repeat(2, 1fr); } .master-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .master-hero, .master-page-header, .master-client-context { align-items: flex-start; flex-direction: column; } .master-metrics, .master-metrics-compact, .master-client-metrics { grid-template-columns: 1fr; } .master-filters, .master-form-grid { grid-template-columns: 1fr; } .master-field-wide { grid-column: auto; } .master-client-drawer { width: 100vw; } }

/* Portal de cobrança compartilhado entre cliente e Painel Master */
.billing-account-page { display: grid; gap: 22px; color: var(--text-color, #12201a); }
.billing-account-header, .billing-account-panel, .billing-selected-company, .billing-readonly-notice, .billing-trial-notice, .billing-account-empty-global { border: 1px solid rgba(0, 157, 83, .42); border-radius: 18px; background: rgba(255, 255, 255, .82); }
.billing-account-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 24px 28px; }
.billing-account-eyebrow, .billing-account-panel-heading > span { color: #00a85a; font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.billing-account-header h2, .billing-account-panel-heading h3 { margin: 4px 0 0; color: #071b12; }
.billing-account-header h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); }
.billing-account-header p { margin: 8px 0 0; color: #66736d; }
.billing-environment-badge, .billing-status-pill { display: inline-flex; align-items: center; border-radius: 999px; font-size: .75rem; font-weight: 800; white-space: nowrap; }
.billing-environment-badge { padding: 7px 11px; background: #edf4f0; color: #315245; }
.billing-environment-badge.is-sandbox { background: #e7f8ee; color: #087540; }
.billing-readonly-notice, .billing-trial-notice, .billing-selected-company, .billing-account-empty-global { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 15px 18px; }
.billing-readonly-notice { background: #fff7da; border-color: #e6bd41; }
.billing-trial-notice { background: #eafbf1; }
.billing-selected-company span { color: #66736d; }
.billing-selected-company strong { font-size: 1.05rem; }
.billing-account-panel { overflow: hidden; }
.billing-account-panel-heading { padding: 20px 24px 14px; }
.billing-account-panel-heading h3 { font-size: 1.15rem; }
.billing-summary-grid { display: grid; grid-template-columns: repeat(5, minmax(130px, 1fr)); gap: 1px; margin: 0; border-top: 1px solid #e3eee8; background: #e3eee8; }
.billing-summary-grid > div { padding: 18px 20px; background: #fff; }
.billing-summary-grid dt { margin-bottom: 5px; color: #738078; font-size: .75rem; font-weight: 700; }
.billing-summary-grid dd { margin: 0; color: #0a1b13; font-weight: 750; }
.billing-status-pill { padding: 4px 8px; background: #eef1ef; color: #4c5953; }
.billing-status-pill.is-active, .billing-status-pill.is-received, .billing-status-pill.is-confirmed { background: #dcf8e8; color: #087640; }
.billing-status-pill.is-overdue, .billing-status-pill.is-error, .billing-status-pill.is-chargeback { background: #ffe3e3; color: #ad2525; }
.billing-status-pill.is-pending, .billing-status-pill.is-draft { background: #fff1cf; color: #8b6000; }
.billing-payment-method { display: flex; align-items: center; gap: 14px; margin: 0 24px 24px; padding: 18px; border: 1px solid #cce8d8; border-radius: 13px; background: #f8fffb; }
.billing-payment-method > div:last-child { display: grid; gap: 3px; }
.billing-payment-method span { color: #64736b; font-size: .88rem; }
.billing-card-icon { color: #00a85a; font-size: 1.6rem; transform: rotate(90deg); }
.billing-card-action { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 24px 24px; }
.billing-card-action small { color: #68766f; }
.billing-history-table { width: 100%; border-collapse: collapse; }
.billing-history-table th, .billing-history-table td { padding: 14px 18px; border-top: 1px solid #e4ece8; text-align: left; }
.billing-history-table th { color: #627069; font-size: .73rem; text-transform: uppercase; }
.billing-history-table td { color: #27362f; font-size: .88rem; }
.billing-history-table a { color: #008f4c; font-weight: 750; text-decoration: none; }
.billing-link-unavailable { color: #8b9691; font-size: .8rem; }
.billing-account-empty { margin: 0 24px 24px; padding: 20px; border: 1px dashed #b9ddc9; border-radius: 12px; color: #68756f; text-align: center; }
.billing-account-empty-global { display: grid; min-height: 130px; place-content: center; text-align: center; }
@media (max-width: 992px) { .billing-summary-grid { grid-template-columns: repeat(2, minmax(130px, 1fr)); } }
@media (max-width: 600px) { .billing-account-header { padding: 20px; } .billing-summary-grid { grid-template-columns: 1fr; } .billing-account-panel-heading { padding-inline: 18px; } .billing-payment-method, .billing-account-empty { margin-inline: 18px; } }

.billing-health-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 0 20px 20px; }
.billing-health-metrics { padding: 0 20px; }
.billing-health-metrics article strong { font-size: 1rem; }
.billing-health-row { display: grid; gap: 14px; padding: 17px; border: 1px solid #deebe4; border-radius: 14px; background: #f9fcfa; }
.billing-health-title, .billing-health-actions, .billing-webhook-counters { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.billing-health-facts { display: grid; gap: 5px; color: #4e6057; }
.billing-health-facts small { color: #74847b; }
.billing-health-url { overflow-wrap: anywhere; }
.billing-health-actions { justify-content: flex-start; }
.billing-health-actions a, .billing-health-actions button { color: #078a4d; background: none; border: 0; font-size: .8rem; font-weight: 800; text-decoration: none; cursor: pointer; }
.billing-health-actions form { margin: 0; }
.billing-webhook-counters span { padding: 5px 9px; border-radius: 999px; background: #edf4f0; color: #52655b; font-size: .72rem; font-weight: 700; }
.billing-webhook-counters .has-failure { background: #ffe4e4; color: #a52727; }
.billing-production-lock, .billing-webhook-address { display: grid; gap: 5px; padding: 15px 18px; border-radius: 13px; }
.billing-production-lock { color: #7b5705; background: #fff4d5; border: 1px solid #e8c45d; }
.billing-webhook-address { margin-bottom: 20px; color: #315447; background: #eaf8f0; border: 1px solid #cbe8d7; }
.billing-webhook-address span { overflow-wrap: anywhere; font-size: .86rem; }
.asaas-settings-panel { max-width: 980px; }
@media (max-width: 850px) { .billing-health-grid { grid-template-columns: 1fr; } }

/* Portal de cobrança: avisos de status da assinatura (ativa / confirmando / não concluído / bloqueado) */
.billing-status-notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; padding: 15px 18px; border: 1px solid; border-radius: 18px; }
.billing-status-notice > div { display: flex; flex-direction: column; gap: 2px; }
.billing-status-notice strong { color: #16281d; }
.billing-status-notice span { color: #4c5953; font-size: .92rem; }
.billing-status-notice.is-ok { background: #eafbf1; border-color: rgba(0, 157, 83, .42); }
.billing-status-notice.is-wait { background: #eef6ff; border-color: #9cc3f5; }
.billing-status-notice.is-warn { background: #fff7da; border-color: #e6bd41; }
.billing-spinner { width: 22px; height: 22px; border: 3px solid #bcd6f7; border-top-color: #1f6feb; border-radius: 50%; animation: billing-spin .8s linear infinite; }
@keyframes billing-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .billing-spinner { animation: none; } }

/* Barra lateral: "Precificaê" em cima e o nome da empresa embaixo (corta com reticências se for longo). */
.sidebar .brand { min-width: 0; }
.sidebar .brand-text { min-width: 0; }
.sidebar .brand-subtitle { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 170px; }
.sidebar .brand-mark.has-photo { overflow: hidden; padding: 0; background: #ffffff; }
.sidebar .brand-mark.has-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.billing-mode { display: grid; gap: 4px; margin: 0 20px 14px; padding: 14px 18px; border-radius: 13px; }
.billing-mode.is-test { color: #7b5705; background: #fff4d5; border: 1px solid #e8c45d; }
.billing-mode.is-live { color: #0d5c36; background: #e6f8ee; border: 1px solid #9fdcb9; }
.billing-mode span { font-size: .86rem; }
.billing-health-row.is-primary { border-color: #10e265; box-shadow: 0 0 0 1px #10e265 inset; }
.billing-checklist { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: .86rem; }
.billing-checklist .is-ok { color: #0d7a45; }
.billing-checklist .is-missing { color: #8a6d1f; }
.billing-checklist span { display: inline-block; width: 1.1em; font-weight: 800; }
.billing-health-problem { margin: 0; padding: 8px 11px; color: #8a2d20; background: #fdecea; border-radius: 9px; font-size: .82rem; }
.billing-switch { display: grid; gap: 8px; padding-top: 12px; border-top: 1px dashed #cfe2d7; }
.billing-switch label { display: flex; align-items: flex-start; gap: 8px; color: #33453b; font-size: .84rem; }
.billing-switch button { justify-self: start; padding: 8px 14px; color: #0f1310; background: #10e265; border: 0; border-radius: 10px; font-size: .84rem; font-weight: 800; cursor: pointer; }
.billing-switch button:disabled { color: #6b7a71; background: #e3ebe6; cursor: not-allowed; }
.billing-switch small { color: #74847b; }
.billing-production-steps { display: grid; gap: 6px; padding: 15px 18px; color: #315447; background: #eaf8f0; border: 1px solid #cbe8d7; border-radius: 13px; }
.billing-production-steps ol { display: grid; gap: 4px; margin: 0; padding-left: 20px; font-size: .88rem; }
.billing-health-row { align-content: start; }
.billing-health-actions { flex-wrap: wrap; column-gap: 18px; }
.billing-health-actions a, .billing-health-actions button { white-space: nowrap; }
.asaas-settings-panel .form-control.is-saved::placeholder { color: #1f2d25; opacity: 1; letter-spacing: 2px; }
.asaas-saved-badge { margin-left: 6px; padding: 2px 8px; color: #0d7a45; background: #e2f7ea; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.asaas-inactive-warning { margin: 0; padding: 10px 14px; color: #7b5705; background: #fff4d5; border: 1px solid #e8c45d; border-radius: 11px; font-size: .86rem; }
/* Financeiro do Painel Master em abas */
.master-panel-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.master-panel-header h3 { margin: 3px 0 0; color: #10291d; font-size: 1.1rem; }
.fin-mode-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: .8rem; font-weight: 800; white-space: nowrap; }
.fin-mode-pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.fin-mode-pill.is-live { color: #0d7a45; background: #dff8eb; border: 1px solid #a8e6c3; }
.fin-mode-pill.is-test { color: #8a5c00; background: #fff4d5; border: 1px solid #e8c45d; }
.fin-tabs { display: flex; gap: 6px; padding: 6px; overflow-x: auto; background: #fff; border: 1px solid #dce9e2; border-radius: 14px; box-shadow: 0 10px 28px rgba(16, 45, 31, .05); }
.fin-tab { position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; padding: 10px 18px; color: #0f8f54; font-size: .9rem; font-weight: 800; text-decoration: none; border-radius: 10px; transition: background .15s ease, color .15s ease; }
.fin-tab:hover { color: #0d6a3f; background: #f0faf4; }
.fin-tab.is-active { color: #0f1310; background: #10e265; box-shadow: 0 8px 18px -10px rgba(15, 143, 84, .8); }
.fin-tab-dot { width: 8px; height: 8px; border-radius: 50%; background: #e5484d; }
.fin-panel { display: grid; gap: 18px; }
.fin-panel[hidden] { display: none; }
.fin-metrics article { position: relative; justify-items: center; overflow: hidden; padding: 24px 18px 20px; text-align: center; }
.fin-metrics article::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: #cfdcd5; }
.fin-metrics article[data-tone="success"]::before { background: #10e265; }
.fin-metrics article[data-tone="warning"]::before { background: #f2b705; }
.fin-metrics article[data-tone="danger"]::before { background: #e5484d; }
.fin-metrics span { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.fin-metrics strong { font-size: 1.75rem; line-height: 1.15; }
.fin-metrics article[data-tone="success"] strong { color: #0d7a45; }
.fin-metrics article[data-tone="warning"] strong { color: #9a6700; }
.fin-metrics article[data-tone="danger"] strong { color: #b42318; }
.fin-metrics small { font-size: .8rem; }
.master-panel .fin-metrics article { background: #f9fcfa; box-shadow: none; }
.fin-metrics-health strong { font-size: 1.15rem; }
.fin-page .billing-mode { margin: 0; }
.fin-page .billing-health-grid { padding: 0; }
.billing-health-name { display: grid; gap: 2px; }
.billing-health-name strong { color: #10291d; font-size: 1.02rem; }
.billing-health-name small { color: #74847b; font-size: .76rem; }
.asaas-account { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; color: #315447; background: #eaf8f0; border: 1px solid #cbe8d7; border-radius: 10px; font-size: .84rem; }
.asaas-account strong { color: #10291d; }
.fin-page .billing-health-actions { gap: 8px; }
.fin-page .billing-health-actions button { padding: 7px 12px; background: #f3fbf6; border: 1px solid #bfe3cd; border-radius: 9px; }
.fin-page .billing-health-actions button:hover { background: #e2f7ea; }
.asaas-credentials { background: #fff; border: 1px solid #deebe4; border-radius: 12px; }
.asaas-credentials summary { display: flex; align-items: center; gap: 8px; padding: 11px 14px; color: #10291d; font-size: .88rem; font-weight: 800; list-style: none; cursor: pointer; }
.asaas-credentials summary::-webkit-details-marker { display: none; }
.asaas-credentials summary::after { content: '▾'; margin-left: auto; color: #0f8f54; transition: transform .15s ease; }
.asaas-credentials[open] summary::after { transform: rotate(180deg); }
.asaas-credentials-form { display: grid; gap: 14px; padding: 4px 14px 14px; }
.asaas-credentials-form .form-control { width: 100%; min-height: 40px; }
.asaas-credentials-form .form-control.is-saved::placeholder { color: #1f2d25; opacity: 1; letter-spacing: 2px; }
.asaas-save { justify-self: start; padding: 9px 16px; color: #0f1310; background: #10e265; border: 0; border-radius: 10px; font-size: .86rem; font-weight: 800; cursor: pointer; }
.asaas-save:hover { background: #0fd35e; }
@media (max-width: 620px) { .fin-tab { padding: 9px 14px; font-size: .86rem; } .fin-metrics strong { font-size: 1.5rem; } }
.fin-page .master-filters .form-select { min-height: 42px; padding: 8px 12px; color: #10291d; background-color: #fff; border: 1px solid #d5e4dc; border-radius: 10px; font-size: .88rem; }
.fin-page .master-filters .form-select:focus { border-color: #10e265; outline: none; box-shadow: 0 0 0 3px rgba(16, 226, 101, .18); }
.fin-page .master-filters button { min-height: 42px; padding: 8px 20px; color: #0f1310; background: #10e265; border: 0; border-radius: 10px; font-size: .88rem; font-weight: 800; cursor: pointer; }
.fin-page .master-filters button:hover { background: #0fd35e; }
@media (max-width: 620px) {
    .fin-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
    .fin-tab { justify-content: center; padding: 9px 6px; line-height: 1.2; text-align: center; white-space: normal; }
}
/* Abas em destaque (Perfil da Empresa, Produto): mesma cara das abas do Financeiro */
.products-bootstrap-page .nav-tabs.app-tabs { gap: 6px; padding: 6px; background: #fff; border: 1px solid #dce9e2 !important; border-radius: 14px; box-shadow: 0 10px 28px rgba(16, 45, 31, .06); }
.products-bootstrap-page .nav-tabs.app-tabs .nav-link { margin: 0 !important; padding: 10px 18px; color: #0f8f54 !important; background: transparent; border: 0 !important; border-radius: 10px !important; font-weight: 800; transition: background .15s ease, color .15s ease; }
.products-bootstrap-page .nav-tabs.app-tabs .nav-link:hover,
.products-bootstrap-page .nav-tabs.app-tabs .nav-link:focus-visible { color: #0d6a3f !important; background: #f0faf4; }
.products-bootstrap-page .nav-tabs.app-tabs .nav-link.active { color: #0f1310 !important; background: #10e265 !important; box-shadow: 0 8px 18px -10px rgba(15, 143, 84, .8); }
@media (max-width: 620px) {
    .products-bootstrap-page .nav-tabs.app-tabs { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; }
    .products-bootstrap-page .nav-tabs.app-tabs .nav-link { padding: 9px 6px; line-height: 1.2; text-align: center; }
}
/* Botão liga/desliga do Asaas + janela de confirmação */
.env-name-row { display: flex; align-items: center; gap: 10px; }
.env-switch { position: relative; flex: 0 0 auto; width: 44px; height: 24px; padding: 0; background: #cfdcd5; border: 0; border-radius: 999px; cursor: pointer; transition: background .2s ease; }
.env-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s ease; }
.env-switch.is-on { background: #10c866; }
.env-switch.is-on::after { transform: translateX(20px); }
.env-switch:disabled { cursor: not-allowed; opacity: .5; }
.env-switch:focus-visible { outline: 3px solid rgba(16, 226, 101, .35); outline-offset: 2px; }
.env-switch-state { color: #0d7a45; font-size: .74rem; font-weight: 800; }
.env-switch-state.is-off { color: #8a6d1f; }
.fin-modal { position: fixed; inset: 0; z-index: 1060; display: grid; place-items: center; padding: 16px; background: rgba(8, 20, 14, .55); }
.fin-modal[hidden] { display: none; }
.fin-modal-card { display: grid; gap: 14px; width: min(460px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 22px; background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.fin-modal-card h3 { margin: 0; color: #10291d; font-size: 1.15rem; }
.fin-modal-card p, .fin-modal-list li { color: #4e6057; font-size: .9rem; line-height: 1.45; }
.fin-modal-card p { margin: 0; }
.fin-modal-list { display: grid; gap: 6px; margin: 0; padding-left: 18px; }
.fin-modal-note { padding: 10px 12px; background: #f5faf7; border: 1px solid #e0ece5; border-radius: 10px; }
.fin-code-input { width: 100%; margin-top: 10px; padding: 12px; color: #10291d; font-size: 1.5rem; font-weight: 800; letter-spacing: .5em; text-align: center; border: 1px solid #d5e4dc; border-radius: 12px; }
.fin-code-input:focus { border-color: #10e265; outline: none; box-shadow: 0 0 0 3px rgba(16, 226, 101, .18); }
.fin-link-btn { justify-self: start; margin-top: 6px; padding: 0; color: #0f8f54; background: none; border: 0; font-size: .84rem; font-weight: 800; text-decoration: underline; cursor: pointer; }
.fin-modal-error { min-height: 1.2em; color: #b42318 !important; font-size: .85rem !important; font-weight: 700; }
.fin-modal-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.fin-btn { padding: 9px 16px; color: #10291d; background: #fff; border: 1px solid #d5e4dc; border-radius: 10px; font-size: .88rem; font-weight: 800; cursor: pointer; }
.fin-btn:disabled { cursor: wait; opacity: .6; }
.fin-btn-primary { color: #0f1310; background: #10e265; border-color: #10e265; }
.fin-btn-danger { color: #fff; background: #d92d20; border-color: #d92d20; }
.fin-note { margin: 4px 0 0; color: #74847b; font-size: .8rem; }
/* Integração Hotmart (parceiros) */
.hotmart-failures { display: grid; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.hotmart-failures li { padding: 9px 12px; color: #8a2d20; background: #fdecea; border-radius: 9px; font-size: .82rem; }
.hotmart-offers { display: grid; gap: 10px; margin: 0; padding: 12px; border: 1px dashed #cfe2d7; border-radius: 10px; }
.hotmart-offers legend { padding: 0 6px; color: #10291d; font-size: .86rem; font-weight: 800; }
.hotmart-offers small { color: #74847b; font-size: .76rem; }
.hotmart-main-checkout { align-items: flex-start; }
.hotmart-main-checkout .form-check-input { flex: 0 0 auto; margin-top: 3px; }
.hotmart-main-checkout small { display: block; margin-top: 3px; color: #74847b; font-size: .76rem; font-weight: 500; }
.fin-page .master-panel-header form { margin: 0; }
.master-table td form { margin: 0; }
.partner-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 620px) { .partner-metrics { grid-template-columns: 1fr; } }
