:root {
    --branco: #FEFEFE;
    --tiffany: #44E2D9;
    --texto: #242424;
    --cinza: #f3f6f6;
    --borda: #dfe8e8;
    --verde: #22a35a;
    --vermelho: #d84343;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--branco);
    color: var(--texto);
    font-family: Arial, Helvetica, sans-serif;
}

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

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 112px 24px 48px;
}

.login-shell {
    width: min(416px, 100%);
    text-align: center;
}

.login-box {
    border: 0;
    border-radius: 0;
    padding: 0;
    background: var(--branco);
}

.login-logo {
    width: 180px;
    max-width: 78%;
    margin-bottom: 25px;
}

.login-form {
    display: grid;
    justify-items: center;
    gap: 17px;
}

.login-field {
    width: 100%;
    align-items: center;
    gap: 11px;
}

.login-field label {
    color: #000;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
}

.login-field input {
    width: 100%;
    height: 52px;
    border: 1.5px solid var(--tiffany);
    border-radius: 12px;
    box-shadow: none;
    text-align: center;
    color: #333;
    font-size: 15px;
}

.login-field input::placeholder {
    color: #b8b8b8;
    font-size: 14px;
    font-style: italic;
}

.login-button {
    width: 230px;
    min-height: 52px;
    margin-top: 30px;
    color: white;
    font-size: 18px;
    border-radius: 12px;
    padding: 12px 18px;
}

.login-verse {
    margin: 31px auto 0;
    color: #000;
    font-size: 21px;
    font-weight: 700;
    font-style: italic;
    line-height: 1.12;
}

.login-verse span {
    color: var(--tiffany);
    font-size: 19px;
    font-weight: 400;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 28px auto 60px;
}

.app-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    background: var(--branco);
}

.sidebar {
    min-height: 100vh;
    border-right: 1px solid var(--borda);
    background: #f8ffff;
    padding: 20px 16px;
    position: sticky;
    top: 0;
    align-self: start;
}

.sidebar-logo-link {
    display: block;
    margin-bottom: 18px;
}

.sidebar-logo {
    width: 190px;
    max-width: 100%;
    display: block;
}

.sidebar-nav {
    display: grid;
    gap: 8px;
}

.sidebar-nav a {
    border-radius: 8px;
    padding: 11px 12px;
    font-weight: 700;
    color: #173333;
}

.sidebar-nav a:hover {
    background: #e9fafa;
}

.sidebar-nav a.active {
    border: 1px solid var(--tiffany);
    border-radius: 999px;
    background: var(--branco);
    color: #000;
}

.sidebar-logout {
    margin-top: 18px;
}

.main-area {
    min-width: 0;
}

.page-header {
    min-height: 128px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 22px 32px;
    border-bottom: 1px solid var(--borda);
}

.page-logo {
    width: 150px;
    max-height: 76px;
    object-fit: contain;
}

.page-header h1 {
    margin: 0;
    font-size: 24px;
}

.grid-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
}

.dashboard-page .app-layout {
    grid-template-columns: 293px minmax(0, 1fr);
}

.order-page .app-layout {
    grid-template-columns: 293px minmax(0, 1fr);
}

.dashboard-page .sidebar,
.order-page .sidebar {
    background: var(--branco);
    border-right: 1px solid var(--tiffany);
    padding: 44px 52px 32px;
}

.dashboard-page .sidebar-logo-link,
.order-page .sidebar-logo-link {
    display: flex;
    justify-content: center;
    margin-bottom: 46px;
}

.dashboard-page .sidebar-logo,
.order-page .sidebar-logo {
    width: 150px;
}

.dashboard-page .sidebar-nav,
.order-page .sidebar-nav {
    gap: 9px;
}

.dashboard-page .sidebar-nav a,
.order-page .sidebar-nav a {
    border-radius: 0;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.13;
    padding: 0;
}

.dashboard-page .sidebar-nav a:hover,
.order-page .sidebar-nav a:hover {
    background: transparent;
    color: #159d99;
}

.dashboard-page .sidebar-nav a.active,
.order-page .sidebar-nav a.active {
    border: 1px solid var(--tiffany);
    border-radius: 999px;
    padding: 2px 9px;
    color: #000;
}

.dashboard-page .sidebar-logout,
.order-page .sidebar-logout {
    margin-top: 36px;
}

.dashboard-page .sidebar-logout .btn,
.order-page .sidebar-logout .btn {
    min-height: 36px;
    border: 1px solid var(--tiffany);
    border-radius: 10px;
    background: var(--branco);
    color: #000;
    font-size: 22px;
    padding: 4px 15px;
}

.dashboard-main {
    background: var(--branco);
}

.dashboard-header {
    min-height: 120px;
    display: flex;
    align-items: center;
    background: #18b8b5;
    color: var(--branco);
    padding: 0 48px;
}

.dashboard-header h1 {
    margin: 0;
    font-size: 34px;
    font-weight: 800;
}

.centered-header {
    justify-content: center;
    text-align: center;
}

.dashboard-content {
    padding: 82px 48px 56px;
}

.dashboard-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 268px));
    justify-content: space-between;
    column-gap: 30px;
    row-gap: 46px;
    align-items: start;
}

.dashboard-group {
    display: grid;
    justify-items: center;
    gap: 14px;
}

.dashboard-group-icon {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.dashboard-group h2 {
    margin: 0 0 4px;
    color: #000;
    font-size: 27px;
    line-height: 1;
    text-align: center;
}

.dashboard-group-actions {
    width: 100%;
    display: grid;
    gap: 38px;
}

.dashboard-page .menu-button {
    width: 100%;
    min-height: 46px;
    border-radius: 999px;
    background: #18b8b5;
    color: var(--branco);
    font-size: 16px;
    line-height: 1.05;
    text-align: center;
    padding: 10px 18px;
}

.menu-button,
.btn {
    border: 0;
    border-radius: 8px;
    background: var(--tiffany);
    color: #123030;
    font-weight: 700;
    padding: 13px 16px;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
}

.menu-button {
    min-height: 74px;
}

.btn:hover,
.menu-button:hover {
    filter: brightness(.96);
}

.btn.secondary {
    background: #e9f7f7;
}

.btn.green {
    background: var(--verde);
    color: white;
}

.btn.red {
    background: var(--vermelho);
    color: white;
}

.paid-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--verde);
    font-weight: 800;
}

.paid-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--verde);
    box-shadow: 0 0 0 3px rgba(34, 163, 90, .12);
}

.actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.actions-right {
    justify-content: flex-end;
}

.actions-nowrap {
    flex-wrap: nowrap;
}

.table-actions-header,
.table-actions-cell {
    text-align: right;
}

.table-actions-cell {
    min-width: 430px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

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

.inline-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

label {
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--borda);
    border-radius: 8px;
    padding: 12px;
    font-size: 15px;
    background: white;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.panel {
    background: var(--cinza);
    border: 1px solid var(--borda);
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 18px;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--borda);
    border-radius: 8px;
}

table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    background: white;
}

th,
td {
    padding: 12px;
    border-bottom: 1px solid var(--borda);
    text-align: left;
    vertical-align: top;
}

th {
    background: #effafa;
}

.total {
    color: var(--tiffany);
    font-size: 26px;
    font-weight: 800;
    text-align: right;
}

.alert {
    padding: 12px;
    border-radius: 8px;
    background: #e6fff8;
    border: 1px solid var(--tiffany);
    margin-bottom: 16px;
}

.alert-error {
    background: #fff0f0;
    border-color: var(--vermelho);
}

.delete-user-form {
    display: grid;
    gap: 8px;
    margin-top: 10px;
    min-width: 230px;
}

.muted {
    color: #687575;
}

.product-img {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--borda);
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.checkbox-grid label {
    border: 1px solid var(--borda);
    border-radius: 8px;
    padding: 10px;
    background: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-grid input {
    width: auto;
}

details {
    margin-top: 8px;
}

.order-main {
    background: var(--branco);
}

.order-container {
    width: min(1430px, calc(100% - 64px));
    margin: 62px auto 70px;
}

.order-layout {
    display: grid;
    grid-template-columns: minmax(760px, 1fr) 260px;
    gap: 44px;
    align-items: start;
}

.order-panel {
    border: 1.5px solid #18b8b5;
    border-radius: 22px 22px 0 0;
    padding: 20px 18px;
    margin-bottom: 18px;
    background: var(--branco);
}

.order-client-grid {
    display: grid;
    grid-template-columns: 180px 180px 220px minmax(240px, 1fr) 182px;
    gap: 12px;
    align-items: end;
}

.order-product-grid {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) 125px 92px 92px 92px 103px;
    gap: 10px;
    align-items: end;
}

.order-page .field {
    gap: 7px;
}

.order-page .field label {
    margin-left: 12px;
    color: #000;
    font-size: 15px;
    font-weight: 700;
}

.order-page input,
.order-page select {
    min-height: 43px;
    border: 1.5px solid #18b8b5;
    border-radius: 10px;
    background: var(--branco);
}

.order-page input:disabled {
    background: #efefef;
}

.order-btn {
    min-height: 43px;
    border-radius: 10px;
    background: #18b8b5;
    color: var(--branco);
    font-size: 17px;
}

.order-client-box {
    min-height: 88px;
    margin-top: 12px;
    border: 1.5px solid #18b8b5;
    border-radius: 14px;
    padding: 10px 12px;
    background: #dffff8;
    color: #222;
}

.measure-option {
    display: flex;
    gap: 9px;
    align-items: center;
    justify-content: center;
    padding-bottom: 4px;
    color: #000;
    font-size: 14px;
    line-height: 1.1;
}

.measure-option input {
    width: 28px;
    min-height: 28px;
    padding: 0;
    accent-color: #18b8b5;
}

.order-items {
    margin-top: 12px;
}

.order-items-head,
.order-item-row {
    display: grid;
    grid-template-columns: minmax(390px, 1fr) 180px 110px 160px 58px;
    align-items: center;
}

.order-items-head {
    min-height: 35px;
    padding: 0 24px;
    background: #18b8b5;
    color: var(--branco);
    font-size: 19px;
    font-weight: 800;
}

.order-items-body {
    min-height: 174px;
    max-height: 200px;
    overflow-y: auto;
    border-bottom: 1.5px solid #18b8b5;
    padding: 12px 12px 24px 24px;
    background: var(--branco);
}

.order-item-row {
    min-height: 38px;
    color: #000;
    font-size: 22px;
    font-weight: 800;
}

.measure-text {
    color: #555;
}

.subtotal-text {
    color: #18b8b5;
}

.trash-button {
    width: 34px;
    min-height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.trash-button img {
    width: 25px;
    height: 31px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.empty-order {
    padding: 18px 0;
    color: #687575;
    font-weight: 700;
}

.order-footer-fields {
    display: grid;
    grid-template-columns: 290px 290px 1fr 240px;
    gap: 18px;
    align-items: end;
    margin-top: 24px;
    padding: 0 18px;
}

.discount-label {
    align-self: center;
    justify-self: end;
    color: #d71927;
    font-size: 21px;
    font-weight: 900;
}

.order-summary {
    padding-top: 24px;
}

.summary-line {
    margin-bottom: 18px;
    color: #18b8b5;
    font-size: 16px;
    font-weight: 900;
}

.summary-line strong {
    display: block;
    color: #d71927;
    font-size: 19px;
}

.summary-total {
    margin-top: 46px;
    color: #18b8b5;
    font-size: 24px;
    font-weight: 900;
}

.summary-total strong {
    display: block;
    color: #d71927;
    font-size: 48px;
    line-height: 1;
}

.summary-action {
    width: 255px;
    margin-top: 40px;
}

.order-summary .secondary {
    border: 1.5px solid #18b8b5;
    background: var(--branco);
    color: #18b8b5;
}

.order-summary .red {
    background: #e51b2a;
    color: var(--branco);
}

.customer-main {
    background: var(--branco);
}

.customer-container {
    width: min(1240px, calc(100% - 72px));
    margin: 82px 0 70px 66px;
}

.customer-form {
    display: grid;
    gap: 22px;
}

.customer-row {
    display: grid;
    align-items: end;
    column-gap: 22px;
    row-gap: 18px;
}

.customer-row-top {
    grid-template-columns: minmax(560px, 884px) 333px;
}

.customer-row-address {
    grid-template-columns: 192px 118px minmax(430px, 650px) 218px;
}

.customer-row-location {
    grid-template-columns: 333px 333px 378px 138px;
}

.customer-row-contact {
    grid-template-columns: 333px 235px 235px;
}

.customer-row-extra {
    grid-template-columns: 234px 234px;
}

.customer-page .field {
    gap: 7px;
}

.customer-page .field label {
    margin-left: 12px;
    color: #000;
    font-size: 15px;
    font-weight: 700;
}

.customer-page input,
.customer-page select {
    min-height: 43px;
    border: 1.5px solid #18b8b5;
    border-radius: 10px;
    background: var(--branco);
}

.customer-cep-button {
    min-height: 43px;
    border-radius: 10px;
    background: #e51b2a;
    color: var(--branco);
    align-self: end;
    margin-bottom: 0;
}

.customer-actions {
    display: grid;
    grid-template-columns: 255px 255px 255px;
    gap: 24px;
    margin-top: 18px;
}

.customer-actions .btn {
    min-height: 50px;
    border-radius: 10px;
    color: var(--branco);
    font-size: 17px;
}

.customer-save {
    background: #18b8b5;
}

.customer-clear {
    border: 1.5px solid #18b8b5;
    background: var(--branco);
    color: #18b8b5 !important;
}

.customer-back {
    background: #e51b2a;
}

.cep-feedback {
    min-height: 18px;
    margin: -6px 0 0;
    color: #687575;
    font-size: 14px;
    font-weight: 700;
}

.cep-feedback.ok {
    color: #159d99;
}

.cep-feedback.error {
    color: #e51b2a;
}

.cep-feedback.loading {
    color: #444;
}

.product-main {
    background: var(--branco);
}

.product-container {
    width: min(1120px, calc(100% - 72px));
    margin: 80px 0 70px 66px;
}

.product-form {
    display: grid;
    grid-template-columns: 530px 260px;
    column-gap: 40px;
    align-items: start;
}

.product-left,
.product-right {
    display: grid;
    gap: 22px;
}

.product-row {
    display: grid;
    align-items: end;
    gap: 16px;
}

.product-code-stock {
    grid-template-columns: 192px 192px;
}

.product-price-brand {
    grid-template-columns: 192px 300px;
}

.product-page .field {
    gap: 7px;
}

.product-page .field label {
    margin-left: 12px;
    color: #000;
    font-size: 15px;
    font-weight: 700;
}

.product-page input,
.product-page select,
.product-page textarea {
    min-height: 43px;
    border: 1.5px solid #18b8b5;
    border-radius: 10px;
    background: var(--branco);
}

.product-page textarea {
    min-height: 96px;
    resize: vertical;
}

.file-picker {
    display: flex;
    align-items: center;
    gap: 18px;
}

.file-picker input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.file-picker-button {
    width: 180px;
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    border-radius: 7px;
    background: #18b8b5;
    color: var(--branco) !important;
    cursor: pointer;
    font-weight: 800;
}

#nomeArquivoProduto {
    color: #8a8a8a;
    font-size: 14px;
    white-space: nowrap;
}

.product-image-preview {
    width: 224px;
    height: 202px;
    display: grid;
    place-items: center;
    border: 1.5px solid #18b8b5;
    border-radius: 22px;
    background: var(--branco);
    overflow: hidden;
}

.product-image-preview img {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-image-preview span {
    padding: 16px;
    color: #8a8a8a;
    text-align: center;
    font-weight: 700;
}

.product-submit,
.product-clear,
.product-back {
    width: 255px;
    min-height: 52px;
    border-radius: 10px;
    color: var(--branco);
    font-size: 17px;
}

.product-submit {
    margin-top: 24px;
    background: #18b8b5;
}

.product-clear {
    border: 1.5px solid #18b8b5;
    background: var(--branco);
    color: #18b8b5;
}

.product-back {
    background: #e51b2a;
}

.budget-main {
    background: var(--branco);
}

.budget-container {
    width: min(1140px, calc(100% - 72px));
    margin: 66px 0 70px 66px;
}

.budget-filters {
    display: grid;
    grid-template-columns: 490px 600px;
    gap: 36px;
    align-items: end;
    margin-bottom: 42px;
}

.budget-search {
    display: grid;
    grid-template-columns: auto 160px 142px;
    gap: 10px;
    align-items: center;
}

.budget-date-search {
    grid-template-columns: 100px 340px 142px;
}

.budget-search label {
    color: #000;
    font-size: 15px;
    line-height: 1.1;
}

.budget-search input {
    min-height: 32px;
    border: 1.5px solid #18b8b5;
    border-radius: 7px;
}

.budget-filter-button {
    min-height: 32px;
    border-radius: 7px;
    background: #18b8b5;
    color: var(--branco);
    font-size: 17px;
    padding: 4px 18px;
}

.budget-table-card {
    width: 100%;
}

.budget-table-head,
.budget-row {
    display: grid;
    grid-template-columns: 80px 235px 130px 120px minmax(540px, 1fr);
    align-items: center;
}

.budget-table-head {
    min-height: 32px;
    padding: 0 24px;
    background: #18b8b5;
    color: var(--branco);
    font-size: 16px;
    font-weight: 800;
}

.budget-table-body {
    max-height: 160px;
    overflow-y: auto;
    padding: 7px 10px 10px 24px;
    background: var(--branco);
}

.budget-row {
    min-height: 32px;
    color: #000;
    font-size: 14px;
}

.budget-actions {
    display: grid;
    grid-template-columns: 130px 130px 130px 130px;
    gap: 8px;
    align-items: center;
}

.budget-actions form {
    margin: 0;
}

.budget-actions .btn {
    width: 100%;
    min-height: 24px;
    border-radius: 6px;
    padding: 3px 8px;
    color: var(--branco);
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

.budget-edit-button {
    background: #ffe600;
    color: #222 !important;
}

.budget-approve-button {
    background: #06934d;
}

.budget-cancel-button {
    background: #e51b2a;
}

.budget-pdf-button {
    background: #18b8b5;
}

.budget-empty {
    padding: 18px 0;
    color: #687575;
    font-weight: 700;
}

.budget-back-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 44px;
}

.budget-back-button {
    width: 255px;
    min-height: 50px;
    border-radius: 10px;
    background: #e51b2a;
    color: var(--branco);
    font-size: 17px;
}

.budget-modal {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, .38);
}

.budget-modal.active {
    display: flex;
}

.budget-modal-box {
    width: min(720px, 100%);
    position: relative;
    border: 2px solid #18b8b5;
    border-radius: 18px;
    background: var(--branco);
    padding: 30px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}

.budget-modal-box h2 {
    margin: 0;
    color: #18b8b5;
    font-size: 28px;
}

.budget-modal-subtitle {
    margin: 8px 0 22px;
    color: #555;
    font-weight: 700;
}

.budget-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: 0;
    background: transparent;
    color: #e51b2a;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

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

.budget-modal .field label {
    margin-left: 8px;
}

.budget-modal input,
.budget-modal select {
    min-height: 42px;
    border: 1.5px solid #18b8b5;
    border-radius: 10px;
}

.budget-save-edits {
    width: 220px;
    min-height: 46px;
    margin-top: 24px;
    border-radius: 10px;
    background: #18b8b5;
    color: var(--branco);
    font-size: 17px;
}

.budget-item-data {
    display: none;
}

.budget-products-editor {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #d7eeee;
}

.budget-products-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.budget-products-title h3 {
    margin: 0;
    color: #18b8b5;
    font-size: 20px;
}

.budget-add-product {
    min-height: 36px;
    border-radius: 9px;
    background: #18b8b5;
    color: var(--branco);
    padding: 8px 14px;
}

.budget-product-head,
.budget-product-line {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 130px 100px;
    gap: 10px;
    align-items: center;
}

.budget-product-head {
    margin-bottom: 8px;
    color: #000;
    font-weight: 800;
}

.budget-products-list {
    display: grid;
    gap: 8px;
}

.budget-product-line select,
.budget-product-line input {
    min-height: 38px;
}

.budget-remove-product {
    min-height: 38px;
    border-radius: 9px;
    background: #e51b2a;
    color: var(--branco);
    padding: 8px 10px;
}


.sales-main {
    background: var(--branco);
}

.sales-container {
    width: min(1370px, calc(100% - 72px));
    margin: 66px 0 70px 66px;
}

.sales-alert {
    width: min(780px, 100%);
}

.sales-filters {
    display: grid;
    grid-template-columns: 490px 440px;
    gap: 36px;
    align-items: end;
    margin-bottom: 42px;
}

.sales-search {
    display: grid;
    grid-template-columns: 178px 160px 142px;
    gap: 10px;
    align-items: center;
}

.sales-date-search {
    grid-template-columns: 70px 210px 142px;
}

.sales-search label {
    color: #000;
    font-size: 15px;
    line-height: 1.1;
}

.sales-search input {
    min-height: 32px;
    border: 1.5px solid #18b8b5;
    border-radius: 7px;
}

.sales-filter-button {
    min-height: 32px;
    border-radius: 7px;
    background: #18b8b5;
    color: var(--branco);
    font-size: 17px;
    padding: 4px 18px;
}

.sales-table-card {
    width: 100%;
}

.sales-table-head,
.sales-row {
    display: grid;
    grid-template-columns: 80px 235px 130px 120px 190px minmax(560px, 1fr);
    align-items: center;
}

.sales-table-head {
    min-height: 32px;
    padding: 0 24px;
    border: 1.5px solid #18b8b5;
    color: #111;
    font-size: 16px;
    font-weight: 800;
}

.sales-table-body {
    max-height: 160px;
    overflow-y: auto;
    padding: 7px 10px 10px 24px;
    background: var(--branco);
}

.sales-row {
    min-height: 34px;
    color: #000;
    font-size: 14px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
    white-space: nowrap;
}

.status-badge > span {
    width: 14px;
    height: 14px;
    display: inline-block;
    border-radius: 999px;
}

.status-waiting > span {
    background: #ffd11a;
}

.status-paid > span {
    background: #06934d;
}

.status-paid {
    color: #06934d;
}

.status-adjust > span {
    background: #e51b2a;
}

.status-adjust {
    color: #e51b2a;
}

.sales-actions {
    display: grid;
    grid-template-columns: 132px 132px 132px 132px;
    gap: 8px;
    align-items: center;
}

.sales-actions form {
    margin: 0;
}

.sales-actions .btn {
    width: 100%;
    min-height: 24px;
    border-radius: 6px;
    padding: 3px 8px;
    color: var(--branco);
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

.sales-finalize-button,
.sales-payment-button,
.sales-receipt-button {
    background: #06934d;
}

.sales-pdf-button {
    background: #18b8b5;
}

.sales-cancel-button {
    background: #e51b2a;
}

.sales-empty {
    padding: 18px 0;
    color: #687575;
    font-weight: 700;
}

.sales-back-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 44px;
}

.sales-back-button {
    width: 255px;
    min-height: 50px;
    border-radius: 10px;
    background: #e51b2a;
    color: var(--branco);
    font-size: 17px;
}

@media (min-width: 1600px) {
    .dashboard-groups {
        grid-template-columns: repeat(5, 268px);
    }
}

@media (max-width: 620px) {
    .login-page {
        padding: 72px 18px 36px;
    }

    .login-box {
        border-radius: 0;
        padding: 0;
    }

    .login-logo {
        width: 165px;
    }

    .login-field label {
        font-size: 20px;
    }

    .login-verse {
        font-size: 19px;
    }

    .app-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        min-height: auto;
        position: static;
        border-right: 0;
        border-bottom: 1px solid var(--borda);
    }

    .sidebar-nav {
        grid-template-columns: 1fr 1fr;
    }

    .page-header {
        padding: 18px;
    }

    .page-header h1 {
        font-size: 19px;
    }

    .page-logo {
        width: 120px;
    }

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

    .order-page .app-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-page .sidebar,
    .order-page .sidebar {
        padding: 24px 20px;
    }

    .dashboard-header {
        min-height: 86px;
        padding: 0 22px;
    }

    .dashboard-header h1 {
        font-size: 25px;
    }

    .dashboard-content {
        padding: 36px 20px;
    }

    .dashboard-groups {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .dashboard-group-actions {
        gap: 14px;
    }

    .order-container {
        width: min(100% - 28px, 100%);
        margin-top: 28px;
    }

    .order-layout,
    .order-client-grid,
    .order-product-grid,
    .order-footer-fields,
    .customer-row,
    .customer-actions,
    .product-form,
    .budget-filters,
    .budget-search,
    .budget-date-search,
    .budget-table-head,
    .budget-row,
    .budget-actions,
    .budget-modal-grid,
    .budget-product-head,
    .budget-product-line,
    .sales-filters,
    .sales-search,
    .sales-date-search,
    .sales-table-head,
    .sales-row,
    .sales-actions,
    .product-code-stock,
    .product-price-brand {
        grid-template-columns: 1fr;
    }

    .customer-container {
        width: min(100% - 28px, 100%);
        margin: 28px auto;
    }

    .product-container {
        width: min(100% - 28px, 100%);
        margin: 28px auto;
    }

    .budget-container {
        width: min(100% - 28px, 100%);
        margin: 28px auto;
    }

    .sales-container {
        width: min(100% - 28px, 100%);
        margin: 28px auto;
    }

    .budget-table-body,
    .sales-table-body {
        max-height: none;
    }

    .budget-back-wrap,
    .sales-back-wrap {
        justify-content: stretch;
    }

    .budget-back-button,
    .sales-back-button,
    .budget-save-edits,
    .budget-add-product {
        width: 100%;
    }

    .budget-products-title {
        align-items: stretch;
        flex-direction: column;
    }

    .product-image-preview,
    .product-submit,
    .product-clear,
    .product-back {
        width: 100%;
    }

    .file-picker {
        align-items: flex-start;
        flex-direction: column;
    }

    .order-items-head,
    .order-item-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* Tela Ordem de Serviço */
.service-main {
    background: var(--branco);
}

.service-container {
    width: min(1290px, calc(100% - 72px));
    margin: 66px 0 70px 66px;
}

.service-filters {
    display: flex;
    align-items: end;
    margin-bottom: 42px;
}

.service-search {
    grid-template-columns: 178px 160px 142px;
}

.service-table-card {
    width: min(1280px, 100%);
}

.service-table-head,
.service-row {
    display: grid;
    grid-template-columns: 70px 240px 105px 210px 210px minmax(390px, 1fr);
    align-items: center;
}

.service-table-head {
    min-height: 32px;
    padding: 0 24px;
    border: 1.5px solid #18b8b5;
    color: #111;
    font-size: 16px;
    font-weight: 800;
}

.service-table-body {
    max-height: 155px;
    overflow-y: auto;
    padding: 7px 10px 10px 24px;
    background: var(--branco);
}

.service-row {
    min-height: 34px;
    color: #000;
    font-size: 14px;
}

.service-delivery-date {
    color: #e51b2a;
    font-weight: 900;
}

.service-actions {
    display: grid;
    grid-template-columns: 126px 132px 126px;
    gap: 12px;
    align-items: center;
}

.service-actions form {
    margin: 0;
}

.service-actions .btn {
    width: 100%;
    min-height: 24px;
    border-radius: 6px;
    padding: 3px 8px;
    color: var(--branco);
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

.service-pdf-button {
    background: #18b8b5;
}

.service-finalize-button {
    background: #06934d;
}

.service-adjust-button {
    background: #e51b2a;
}

.service-back-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 44px;
}

.service-back-button {
    width: 255px;
    min-height: 50px;
    border-radius: 10px;
    background: #e51b2a;
    color: var(--branco);
    font-size: 17px;
}

@media (max-width: 1100px) {
    .service-container {
        width: calc(100% - 32px);
        margin: 32px 16px;
    }

    .service-table-head,
    .service-row,
    .service-actions,
    .service-search {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .service-table-head {
        display: none;
    }

    .service-row {
        border: 1px solid #18b8b5;
        border-radius: 12px;
        padding: 12px;
        margin-bottom: 12px;
    }

    .service-back-wrap {
        justify-content: center;
    }
}

/* Tela Pedidos Concluídos */
.completed-main {
    background: var(--branco);
}

.completed-container {
    width: min(1370px, calc(100% - 72px));
    margin: 66px 0 70px 66px;
}

.completed-filters {
    display: grid;
    grid-template-columns: 490px 440px;
    gap: 36px;
    align-items: end;
    margin-bottom: 42px;
}

.completed-search {
    grid-template-columns: 178px 160px 142px;
}

.completed-date-search {
    grid-template-columns: 70px 210px 142px;
}

.completed-table-card {
    width: min(1280px, 100%);
}

.completed-table-head,
.completed-row {
    display: grid;
    grid-template-columns: 80px 235px 130px 120px 170px minmax(310px, 1fr);
    align-items: center;
}

.completed-table-head {
    min-height: 32px;
    padding: 0 24px;
    border: 1.5px solid #18b8b5;
    color: #111;
    font-size: 16px;
    font-weight: 800;
}

.completed-table-body {
    max-height: 160px;
    overflow-y: auto;
    padding: 7px 10px 10px 24px;
    background: var(--branco);
}

.completed-row {
    min-height: 34px;
    color: #000;
    font-size: 14px;
}

.completed-actions {
    display: grid;
    grid-template-columns: 132px 174px;
    gap: 10px;
    align-items: center;
}

.completed-actions .btn {
    width: 100%;
    min-height: 24px;
    border-radius: 6px;
    padding: 3px 8px;
    color: var(--branco);
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

.completed-pdf-button {
    background: #18b8b5;
}

.completed-receipt-button {
    background: #06934d;
}

.completed-back-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 44px;
}

.completed-back-button {
    width: 255px;
    min-height: 50px;
    border-radius: 10px;
    background: #e51b2a;
    color: var(--branco);
    font-size: 17px;
}

@media (max-width: 1100px) {
    .completed-container {
        width: calc(100% - 32px);
        margin: 32px 16px;
    }

    .completed-filters,
    .completed-search,
    .completed-date-search,
    .completed-table-head,
    .completed-row,
    .completed-actions {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .completed-table-head {
        display: none;
    }

    .completed-row {
        border: 1px solid #18b8b5;
        border-radius: 12px;
        padding: 12px;
        margin-bottom: 12px;
    }

    .completed-table-body {
        max-height: none;
        padding: 0;
    }

    .completed-back-wrap {
        justify-content: center;
    }
}

/* Tela Cadastrar Novo Usuário do Sistema */
.system-user-main {
    background: var(--branco);
}

.system-user-container {
    width: min(1045px, calc(100% - 72px));
    margin: 88px 0 70px 66px;
}

.system-user-alert {
    width: min(760px, 100%);
}

.system-user-form {
    display: grid;
    gap: 36px;
}

.system-user-top-row {
    display: grid;
    grid-template-columns: 410px 300px 142px;
    gap: 22px;
    align-items: end;
}

.system-user-inline-field {
    display: grid;
    align-items: center;
    gap: 12px;
}

.system-user-email-field {
    grid-template-columns: 120px minmax(220px, 1fr);
}

.system-user-password-field {
    grid-template-columns: 120px minmax(150px, 1fr);
}

.system-user-inline-field label {
    color: #000;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.08;
}

.system-user-inline-field label span {
    font-weight: 800;
}

.system-user-inline-field input {
    min-height: 34px;
    border: 1.5px solid #18b8b5;
    border-radius: 8px;
    background: var(--branco);
}

.system-user-include {
    min-height: 34px;
    border-radius: 8px;
    background: #18b8b5;
    color: var(--branco);
    font-size: 16px;
    padding: 5px 18px;
}

.system-user-check-data {
    display: grid;
    grid-template-columns: 140px auto;
    column-gap: 14px;
    row-gap: 6px;
    align-items: start;
    color: #000;
    font-size: 16px;
    font-weight: 800;
}

.system-user-check-data strong {
    grid-row: span 2;
    font-size: 17px;
}

.system-user-check-data div {
    display: flex;
    gap: 8px;
    align-items: center;
}

.system-user-check-data span,
.system-user-check-data b {
    color: #d71927;
    font-weight: 900;
}

.system-user-permissions {
    width: min(1040px, 100%);
}

.system-user-permissions h2 {
    min-height: 31px;
    display: flex;
    align-items: center;
    margin: 0 0 18px;
    padding: 0 8px;
    border: 1px solid #cfeeee;
    color: #000;
    font-size: 17px;
    font-weight: 900;
}

.system-user-permissions-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(190px, 1fr));
    column-gap: 42px;
    row-gap: 22px;
}

.system-user-permissions-grid label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.15;
}

.system-user-permissions-grid input[type="checkbox"] {
    width: 19px;
    height: 19px;
    min-height: 19px;
    flex: 0 0 19px;
    padding: 0;
    border: 1.5px solid #18b8b5;
    border-radius: 0;
    accent-color: #18b8b5;
}

.system-user-actions {
    display: grid;
    grid-template-columns: 275px 255px;
    gap: 22px;
    justify-content: center;
    margin-top: 62px;
}

.system-user-submit,
.system-user-back {
    min-height: 50px;
    border-radius: 10px;
    color: var(--branco);
    font-size: 30px;
    font-weight: 900;
    padding: 5px 24px;
}

.system-user-submit {
    background: #18b8b5;
}

.system-user-back {
    background: #e51b2a;
}

@media (max-width: 1100px) {
    .system-user-container {
        width: calc(100% - 32px);
        margin: 32px 16px;
    }

    .system-user-top-row,
    .system-user-email-field,
    .system-user-password-field,
    .system-user-permissions-grid,
    .system-user-actions {
        grid-template-columns: 1fr;
    }

    .system-user-check-data {
        grid-template-columns: 1fr;
    }

    .system-user-check-data strong {
        grid-row: auto;
    }

    .system-user-actions {
        justify-content: stretch;
        margin-top: 28px;
    }
}

/* Tela Status dos Pedidos */
.status-main {
    background: var(--branco);
}

.status-container {
    width: min(1500px, calc(100% - 72px));
    margin: 104px 0 70px 66px;
}

.status-table-card {
    width: min(1490px, 100%);
}

.status-table-head,
.status-row {
    display: grid;
    grid-template-columns: 70px 240px 105px 230px minmax(700px, 1fr);
    align-items: center;
}

.status-table-head {
    min-height: 32px;
    padding: 0 24px;
    border: 1.5px solid #18b8b5;
    color: #111;
    font-size: 16px;
    font-weight: 800;
}

.status-table-body {
    max-height: 190px;
    overflow-y: auto;
    padding: 8px 10px 10px 24px;
    background: var(--branco);
}

.status-row {
    min-height: 38px;
    color: #000;
    font-size: 14px;
}

.status-flow {
    display: grid;
    grid-template-columns: auto 23px 62px auto 23px 62px auto 23px 62px auto 23px 62px;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.status-stage {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    border-radius: 2px;
    color: #000;
    font-size: 13px;
    font-weight: 700;
    padding: 2px 5px;
}

.status-stage-current {
    background: #18b8b5;
    color: var(--branco);
}

.status-check {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--branco);
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
}

.status-check.done {
    background: #22a35a;
}

.status-check.pending {
    background: #e51b2a;
}

.status-date {
    color: #777;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.05;
}

.status-empty {
    padding: 18px 0;
    color: #687575;
    font-weight: 700;
}

.status-back-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 520px;
}

.status-back-button {
    width: 205px;
    min-height: 40px;
    border-radius: 8px;
    background: #e51b2a;
    color: var(--branco);
    font-size: 24px;
    font-weight: 900;
}

@media (max-width: 1300px) {
    .status-container {
        width: calc(100% - 32px);
        margin: 32px 16px;
    }

    .status-table-head,
    .status-row,
    .status-flow {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .status-table-head {
        display: none;
    }

    .status-row {
        border: 1px solid #18b8b5;
        border-radius: 12px;
        padding: 12px;
        margin-bottom: 12px;
    }

    .status-table-body {
        max-height: none;
        padding: 0;
    }

    .status-back-wrap {
        justify-content: center;
        margin-top: 34px;
    }
}

/* ===== Atualização visual geral 24/06 ===== */
body {
    overflow-x: hidden;
}

.app-layout,
.dashboard-page .app-layout,
.order-page .app-layout {
    grid-template-columns: 56px minmax(0, 1fr) !important;
    transition: grid-template-columns .22s ease;
}

body.sidebar-open .app-layout,
body.sidebar-open.dashboard-page .app-layout,
body.sidebar-open.order-page .app-layout {
    grid-template-columns: 260px minmax(0, 1fr) !important;
}

.sidebar,
.dashboard-page .sidebar,
.order-page .sidebar {
    min-height: 100vh;
    padding: 150px 8px 24px !important;
    overflow: hidden;
    background: var(--branco) !important;
    border-right: 1.5px solid #18b8b5 !important;
    position: sticky;
    top: 0;
    z-index: 10;
}

body.sidebar-open .sidebar,
body.sidebar-open.dashboard-page .sidebar,
body.sidebar-open.order-page .sidebar {
    padding: 50px 40px 28px !important;
    overflow: visible;
}

.sidebar-toggle {
    width: 28px;
    height: 21px;
    position: absolute;
    top: 155px;
    left: 12px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    border: 1.5px solid #18b8b5;
    border-radius: 7px;
    background: var(--branco);
    cursor: pointer;
    padding: 3px;
    z-index: 12;
}

.sidebar-toggle span {
    width: 100%;
    height: 2px;
    border-radius: 4px;
    background: #18b8b5;
}

body.sidebar-open .sidebar-toggle {
    top: 154px;
    left: 40px;
}

body:not(.sidebar-open) .sidebar-logo-link,
body:not(.sidebar-open) .sidebar-nav,
body:not(.sidebar-open) .sidebar-logout {
    display: none !important;
}

body.sidebar-open .sidebar-logo-link,
body.sidebar-open.dashboard-page .sidebar-logo-link,
body.sidebar-open.order-page .sidebar-logo-link {
    display: flex !important;
    justify-content: center;
    margin-bottom: 60px !important;
}

body.sidebar-open .sidebar-logo,
body.sidebar-open.dashboard-page .sidebar-logo,
body.sidebar-open.order-page .sidebar-logo {
    width: 145px !important;
}

body.sidebar-open .sidebar-nav,
body.sidebar-open.dashboard-page .sidebar-nav,
body.sidebar-open.order-page .sidebar-nav {
    display: grid !important;
    gap: 9px !important;
}

body.sidebar-open .sidebar-nav a,
body.sidebar-open.dashboard-page .sidebar-nav a,
body.sidebar-open.order-page .sidebar-nav a {
    padding: 0 !important;
    border-radius: 0;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.15;
}

body.sidebar-open .sidebar-nav a.active,
body.sidebar-open.dashboard-page .sidebar-nav a.active,
body.sidebar-open.order-page .sidebar-nav a.active {
    width: max-content;
    max-width: 100%;
    border: 1.5px solid #18b8b5;
    border-radius: 999px;
    padding: 2px 10px !important;
    background: var(--branco);
}

body.sidebar-open .sidebar-logout,
body.sidebar-open.dashboard-page .sidebar-logout,
body.sidebar-open.order-page .sidebar-logout {
    display: block !important;
    margin-top: 42px;
}

.dashboard-header,
.centered-header,
.page-title-line {
    min-height: 108px !important;
    justify-content: flex-start !important;
    text-align: left !important;
    background: var(--branco) !important;
    color: #222 !important;
    border-bottom: 1.5px solid #18b8b5;
    padding: 0 72px !important;
}

.dashboard-header h1,
.centered-header h1,
.page-title-line h1 {
    color: #222;
    font-size: 30px !important;
    font-weight: 500 !important;
}

.main-area {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.main-area::after {
    content: "";
    position: fixed;
    left: 18%;
    right: 4%;
    bottom: 16px;
    height: 265px;
    background: url('/img/logo.png') center bottom / contain no-repeat;
    opacity: .055;
    pointer-events: none;
    z-index: 0;
}

.main-area > * {
    position: relative;
    z-index: 1;
}

.dashboard-content {
    padding: 62px 72px 56px !important;
}

.dashboard-groups {
    grid-template-columns: repeat(5, minmax(150px, 220px)) !important;
    justify-content: start !important;
    column-gap: 34px !important;
}

.dashboard-group-actions {
    gap: 14px !important;
}

.dashboard-page .menu-button {
    min-height: 43px !important;
    border: 1.5px solid #18b8b5;
    background: var(--branco) !important;
    color: #111 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}

.dashboard-group-icon {
    width: 58px !important;
    height: 58px !important;
}

.dashboard-group h2 {
    font-size: 25px !important;
    font-weight: 500 !important;
}

/* Novo pedido atualizado */
.order-v2-container {
    width: min(1360px, calc(100% - 72px));
    margin: 48px 0 70px 66px;
}

.order-v2-layout {
    grid-template-columns: minmax(760px, 1fr) 255px;
    gap: 40px;
}

.client-panel-v2,
.product-panel-v2 {
    border: 0;
    padding: 0;
    margin-bottom: 8px;
    background: transparent;
}

.order-client-grid-v2 {
    grid-template-columns: 150px 150px 180px minmax(230px, 1fr) 182px;
    gap: 10px;
    align-items: end;
}

.order-product-row-main {
    display: grid;
    grid-template-columns: minmax(430px, 1fr) 112px 150px 150px;
    gap: 8px;
    align-items: end;
    margin-top: 4px;
}

.order-product-row-options {
    display: grid;
    grid-template-columns: minmax(250px, 1fr) 150px 220px 115px 112px;
    gap: 8px;
    align-items: end;
    margin-top: 4px;
}

.measure-field input {
    min-width: 0;
}

.order-items-head-v2,
.order-item-row {
    grid-template-columns: minmax(430px, 1fr) 130px 80px 125px 45px;
}

.order-items-head-v2 {
    margin-top: 18px;
    padding: 0 16px;
}

.order-items-body-v2 {
    min-height: 170px;
    max-height: 210px;
    padding: 8px 12px 18px 16px;
}

.order-item-row {
    font-size: 18px;
    line-height: 1.15;
}

.item-details {
    display: block;
    margin-top: 4px;
    color: #777;
    font-size: 12px;
    font-weight: 700;
}

.order-footer-v2 {
    grid-template-columns: 280px 280px minmax(260px, 1fr);
    gap: 24px;
    padding: 0 12px;
}

.discount-field-v2 label {
    color: #d71927 !important;
    font-size: 17px !important;
    font-weight: 900 !important;
}

.order-summary-v2 {
    padding-top: 46px;
}

.order-summary-v2 .summary-action {
    width: 230px;
}

/* Produto atualizado */
.product-v2-container {
    width: min(1360px, calc(100% - 72px));
    margin: 38px 0 70px 66px;
}

.product-v2-form {
    display: grid;
    grid-template-columns: minmax(520px, 600px) minmax(480px, 600px);
    column-gap: 88px;
    row-gap: 44px;
    align-items: start;
}

.product-v2-left,
.product-v2-right {
    display: grid;
    gap: 14px;
}

.product-images-area {
    display: grid;
    grid-template-columns: 250px 320px;
    gap: 28px;
    align-items: center;
}

.product-upload-panel {
    display: grid;
    justify-items: center;
    gap: 4px;
    text-align: center;
}

.product-upload-panel strong {
    font-size: 17px;
}

.product-upload-panel small,
#nomeArquivoProduto {
    color: #9a9a9a;
    font-style: italic;
    font-size: 13px;
}

.product-upload-icon {
    color: #18b8b5;
    font-size: 31px;
    line-height: 1;
}

.product-file-button {
    width: 205px !important;
    min-height: 31px !important;
    margin-top: 5px !important;
    font-size: 16px;
}

.product-upload-panel input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.product-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 74px);
    gap: 9px;
}

.product-preview-slot {
    width: 74px;
    height: 67px;
    border: 1.5px solid #18b8b5;
    border-radius: 8px;
    background: var(--branco);
    overflow: hidden;
}

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

.video-field .video-input-wrap {
    min-height: 43px;
    display: grid;
    grid-template-columns: 32px 1fr;
    align-items: center;
    border: 1.5px solid #18b8b5;
    border-radius: 10px;
    background: var(--branco);
    overflow: hidden;
}

.video-input-wrap span {
    color: #18b8b5;
    text-align: center;
    font-size: 20px;
}

.video-input-wrap input {
    border: 0 !important;
    min-height: 41px !important;
}

.product-v2-row {
    display: grid;
    gap: 8px;
    align-items: end;
}

.product-v2-row.three-cols {
    grid-template-columns: 1fr 1fr 1fr;
}

.product-v2-row.two-cols {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.product-v2-right textarea {
    min-height: 110px;
}

.publish-options {
    display: grid;
    gap: 10px;
    margin-top: 8px;
}

.publish-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000;
    font-size: 14px;
    font-weight: 500;
}

.publish-options input {
    width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    border: 1.5px solid #18b8b5;
    border-radius: 7px;
    accent-color: #18b8b5;
}

.product-options-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(270px, 1fr));
    gap: 34px;
    margin-top: 18px;
}

.product-option-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr 84px;
    gap: 10px;
    align-items: end;
}

.option-add {
    min-height: 38px;
    border-radius: 9px;
    background: #18b8b5;
    color: #fff;
    font-size: 19px;
}

.option-list {
    min-height: 36px;
    display: grid;
    gap: 5px;
    margin-top: 8px;
}

.option-item {
    display: grid;
    grid-template-columns: 1fr auto 22px;
    gap: 8px;
    align-items: center;
    color: #aaa;
    font-size: 12px;
}

.option-item button {
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 50%;
    background: #e51b2a;
    color: #fff;
    cursor: pointer;
}

.product-v2-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 4px;
}

.product-v2-actions .btn {
    width: 230px;
}

@media (max-width: 1280px) {
    .dashboard-groups {
        grid-template-columns: repeat(3, minmax(180px, 220px)) !important;
    }

    .order-v2-layout,
    .product-v2-form {
        grid-template-columns: 1fr;
    }

    .order-summary-v2 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
        padding-top: 0;
    }

    .order-summary-v2 .summary-action {
        width: 100%;
        margin-top: 8px;
    }

    .product-v2-right {
        max-width: 720px;
    }
}

@media (max-width: 900px) {
    .app-layout,
    .dashboard-page .app-layout,
    .order-page .app-layout,
    body.sidebar-open .app-layout,
    body.sidebar-open.dashboard-page .app-layout,
    body.sidebar-open.order-page .app-layout {
        grid-template-columns: 1fr !important;
    }

    .sidebar,
    .dashboard-page .sidebar,
    .order-page .sidebar {
        min-height: 52px;
        height: auto;
        position: sticky;
        top: 0;
        padding: 12px !important;
        border-right: 0 !important;
        border-bottom: 1.5px solid #18b8b5;
    }

    .sidebar-toggle,
    body.sidebar-open .sidebar-toggle {
        top: 14px;
        left: 14px;
    }

    body.sidebar-open .sidebar-logo-link,
    body.sidebar-open.dashboard-page .sidebar-logo-link,
    body.sidebar-open.order-page .sidebar-logo-link {
        margin: 34px 0 18px !important;
    }

    .dashboard-header,
    .centered-header,
    .page-title-line {
        min-height: 78px !important;
        padding: 0 20px 0 70px !important;
    }

    .dashboard-header h1,
    .centered-header h1,
    .page-title-line h1 {
        font-size: 24px !important;
    }

    .main-area::after {
        left: 0;
        right: 0;
        height: 170px;
        opacity: .04;
    }

    .dashboard-content,
    .order-v2-container,
    .customer-container,
    .product-v2-container,
    .budget-container,
    .sales-container,
    .service-container,
    .completed-container,
    .status-container,
    .system-user-container {
        width: calc(100% - 28px) !important;
        margin: 24px 14px 56px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .dashboard-groups,
    .order-client-grid-v2,
    .order-product-row-main,
    .order-product-row-options,
    .order-footer-v2,
    .order-summary-v2,
    .product-v2-form,
    .product-images-area,
    .product-v2-row.three-cols,
    .product-v2-row.two-cols,
    .product-options-row,
    .product-option-inputs,
    .product-v2-actions {
        grid-template-columns: 1fr !important;
    }

    .product-preview-grid {
        grid-template-columns: repeat(4, minmax(54px, 74px));
        justify-content: start;
    }

    .product-preview-slot {
        width: 100%;
        aspect-ratio: 1.1 / 1;
        height: auto;
    }

    .order-items-head-v2 {
        display: none;
    }

    .order-item-row {
        grid-template-columns: 1fr;
        gap: 8px;
        border: 1px solid #18b8b5;
        border-radius: 12px;
        padding: 10px;
        margin-bottom: 10px;
    }

    .order-items-body-v2 {
        max-height: none;
        padding: 0;
        border: 0;
    }

    .product-v2-actions {
        display: grid;
    }

    .product-v2-actions .btn,
    .order-summary-v2 .summary-action {
        width: 100%;
    }
}

.budget-product-head-options,
.budget-product-line-options {
    grid-template-columns: minmax(210px, 1.2fr) minmax(130px, 1fr) minmax(120px, .8fr) minmax(150px, 1fr) 80px 90px !important;
}

.budget-modal-box {
    width: min(1040px, 100%) !important;
}

.budget-hidden-options {
    display: none;
}

@media (max-width: 900px) {
    .budget-product-head-options,
    .budget-product-line-options {
        grid-template-columns: 1fr !important;
    }
}

/* ===== Ajustes solicitados: ícones, menu recolhido e responsividade fina ===== */
.sidebar-toggle {
    width: 31px;
    height: 31px;
    border: 0;
    background: transparent;
    padding: 0;
}

.sidebar-toggle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.sidebar-toggle span {
    display: none;
}

.product-upload-icon-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
}

.video-input-wrap img {
    width: 23px;
    height: 23px;
    object-fit: contain;
    justify-self: center;
}

.customer-container .alert-error {
    width: min(760px, 100%);
    margin-bottom: 18px;
}

.order-page input:required:invalid,
.order-page select:required:invalid,
.customer-page input:required:invalid {
    box-shadow: none;
}

@media (min-width: 901px) {
    body:not(.sidebar-open) .main-area::after {
        left: 12%;
    }

    body.sidebar-open .main-area::after {
        left: 18%;
    }
}

@media (max-width: 1280px) and (min-width: 901px) {
    .customer-row-top,
    .customer-row-address,
    .customer-row-location,
    .customer-row-contact,
    .customer-row-extra {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }

    .customer-name,
    .customer-address,
    .customer-city {
        grid-column: span 2;
    }

    .budget-filters,
    .sales-filters,
    .completed-filters {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    body.sidebar-open .sidebar-nav,
    body.sidebar-open.dashboard-page .sidebar-nav,
    body.sidebar-open.order-page .sidebar-nav {
        grid-template-columns: 1fr;
        padding-top: 8px;
    }

    body.sidebar-open .sidebar,
    body.sidebar-open.dashboard-page .sidebar,
    body.sidebar-open.order-page .sidebar {
        max-height: 92vh;
        overflow-y: auto !important;
    }

    body.sidebar-open .sidebar-logo,
    body.sidebar-open.dashboard-page .sidebar-logo,
    body.sidebar-open.order-page .sidebar-logo {
        width: 118px !important;
    }

    .sidebar-toggle,
    body.sidebar-open .sidebar-toggle {
        width: 30px;
        height: 30px;
    }

    .dashboard-content {
        padding-top: 30px !important;
    }

    .dashboard-groups {
        grid-template-columns: 1fr !important;
        justify-items: stretch !important;
    }

    .dashboard-group {
        width: 100%;
    }

    .dashboard-page .menu-button {
        width: 100%;
    }

    .customer-row-top,
    .customer-row-address,
    .customer-row-location,
    .customer-row-contact,
    .customer-row-extra,
    .customer-actions,
    .order-client-grid-v2,
    .order-product-row-main,
    .order-product-row-options,
    .order-footer-v2,
    .product-images-area,
    .product-v2-row.three-cols,
    .product-v2-row.two-cols,
    .product-options-row,
    .product-option-inputs,
    .product-v2-actions,
    .budget-filters,
    .budget-search,
    .budget-date-search,
    .sales-filters,
    .sales-search,
    .sales-date-search,
    .completed-filters,
    .completed-search,
    .completed-date-search,
    .service-search,
    .system-user-top-row,
    .system-user-actions {
        grid-template-columns: 1fr !important;
    }

    .customer-name,
    .customer-address,
    .customer-city {
        grid-column: auto;
    }

    .customer-actions .btn,
    .product-v2-actions .btn,
    .summary-action,
    .budget-back-button,
    .sales-back-button,
    .completed-back-button,
    .service-back-button,
    .status-back-button {
        width: 100% !important;
    }

    .order-summary-v2 {
        gap: 8px;
    }

    .summary-total {
        margin-top: 12px;
    }

    .summary-total strong {
        font-size: 38px;
    }

    .product-preview-grid {
        grid-template-columns: repeat(4, minmax(58px, 1fr));
        width: 100%;
    }

    .video-field .video-input-wrap {
        grid-template-columns: 38px 1fr;
    }

    .table-wrap table {
        min-width: 760px;
    }
}

@media (max-width: 520px) {
    .login-shell {
        width: min(100%, 350px);
    }

    .dashboard-header h1,
    .centered-header h1,
    .page-title-line h1 {
        font-size: 21px !important;
    }

    .product-preview-grid {
        grid-template-columns: repeat(2, minmax(90px, 1fr));
    }

    .order-client-box {
        font-size: 13px;
    }
}

/* ===== Revisão visual 27/06 - telas anexadas ===== */
body.sidebar-open .app-layout,
body.sidebar-open.dashboard-page .app-layout,
body.sidebar-open.order-page .app-layout {
    grid-template-columns: 260px minmax(0, 1fr) !important;
}

body.sidebar-open .sidebar,
body.sidebar-open.dashboard-page .sidebar,
body.sidebar-open.order-page .sidebar {
    padding: 54px 40px 28px !important;
}

.sidebar-toggle,
body.sidebar-open .sidebar-toggle {
    top: 70px !important;
    right: 16px !important;
    left: auto !important;
    width: 32px !important;
    height: 32px !important;
}

body.sidebar-open .sidebar-logo-link,
body.sidebar-open.dashboard-page .sidebar-logo-link,
body.sidebar-open.order-page .sidebar-logo-link {
    margin-bottom: 54px !important;
}

.dashboard-header,
.centered-header,
.page-title-line {
    min-height: 108px !important;
    background: #18b8b5 !important;
    color: #fff !important;
    border-bottom: 0 !important;
    padding: 0 72px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
}

.dashboard-header h1,
.centered-header h1,
.page-title-line h1 {
    color: #fff !important;
    font-size: 30px !important;
    font-weight: 900 !important;
    letter-spacing: -.3px;
}

.customer-container,
.product-v2-container,
.order-v2-container,
.dashboard-content {
    margin-left: 72px !important;
}

.customer-container {
    width: min(1160px, calc(100% - 120px));
    margin-top: 54px !important;
}

.customer-form {
    gap: 15px;
}

.customer-row-top {
    grid-template-columns: minmax(520px, 780px) 310px;
}

.customer-row-address {
    grid-template-columns: 170px 110px minmax(430px, 590px) 190px;
    column-gap: 18px;
}

.customer-row-location {
    grid-template-columns: 300px 300px 340px 125px;
    column-gap: 18px;
}

.customer-row-contact {
    grid-template-columns: 300px 210px 210px;
    column-gap: 18px;
}

.customer-row-extra {
    grid-template-columns: 210px 210px;
    column-gap: 18px;
}

.customer-actions {
    grid-template-columns: 210px 210px 210px;
    gap: 24px;
    margin-top: 20px;
}

.customer-actions .btn,
.customer-cep-button {
    min-height: 41px;
    border-radius: 9px;
}

.customer-save {
    background: #18b8b5 !important;
    color: #fff !important;
}

.product-v2-container {
    width: min(1510px, calc(100% - 120px));
    margin-top: 38px !important;
}

.product-v2-form {
    grid-template-columns: minmax(500px, 590px) minmax(510px, 600px) 220px !important;
    column-gap: 54px !important;
    row-gap: 40px;
}

.product-v2-actions {
    grid-column: 3 !important;
    grid-row: 1 !important;
    display: grid !important;
    gap: 26px !important;
    align-content: start;
    justify-content: stretch !important;
    margin-top: 18px !important;
}

.product-v2-actions .btn {
    width: 100% !important;
    min-height: 42px;
    border-radius: 9px;
}

.product-options-row {
    grid-column: 1 / 3 !important;
    grid-template-columns: repeat(3, minmax(245px, 1fr));
    gap: 32px;
    margin-top: 22px;
}

.product-images-area {
    grid-template-columns: 240px 315px;
    gap: 24px;
}

.product-preview-grid {
    grid-template-columns: repeat(4, 73px);
    gap: 8px;
}

.product-preview-slot {
    width: 73px;
    height: 66px;
}

.product-v2-left,
.product-v2-right {
    gap: 14px;
}

.video-field .video-input-wrap {
    min-height: 42px;
}

.product-v2-row.three-cols {
    grid-template-columns: 1fr 1fr 1fr;
}

.product-v2-row.two-cols {
    grid-template-columns: 1fr 1fr;
}

.order-v2-container {
    width: min(1380px, calc(100% - 120px));
    margin-top: 48px !important;
}

.order-v2-layout {
    grid-template-columns: minmax(760px, 1fr) 270px !important;
    gap: 46px !important;
}

.order-client-grid-v2 {
    grid-template-columns: 150px 150px 185px minmax(230px, 1fr) 185px;
}

.order-product-row-main {
    grid-template-columns: minmax(420px, 1fr) 110px 150px 150px;
}

.order-product-row-options {
    grid-template-columns: minmax(260px, 1fr) 145px 220px 115px 105px;
}

.order-actions-panel {
    display: grid;
    gap: 14px;
    align-content: start;
    padding-top: 0 !important;
}

.order-actions-panel .summary-action {
    width: 250px !important;
    min-height: 52px;
    margin-top: 0 !important;
    font-size: 19px;
    border-radius: 10px;
}

.order-totals-strip {
    display: grid;
    grid-template-columns: 160px 210px minmax(360px, 1fr);
    align-items: end;
    gap: 38px;
    margin: 36px 0 0 16px;
}

.compact-summary {
    margin: 0;
    color: #18b8b5;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.05;
}

.compact-summary strong {
    display: block;
    color: #d71927;
    font-size: 21px;
    line-height: 1.1;
}

.compact-total {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin: 0;
    color: #18b8b5;
    font-size: 27px;
    font-weight: 900;
    white-space: nowrap;
}

.compact-total strong {
    display: inline-block;
    color: #d71927;
    font-size: 52px;
    line-height: .9;
}

.dashboard-content {
    padding: 62px 72px 56px !important;
}

.dashboard-groups {
    grid-template-columns: repeat(5, minmax(160px, 225px)) !important;
    column-gap: 32px !important;
}

@media (max-width: 1480px) and (min-width: 901px) {
    .product-v2-form {
        grid-template-columns: minmax(460px, 560px) minmax(430px, 560px) 205px !important;
        column-gap: 34px !important;
    }

    .product-images-area {
        grid-template-columns: 215px 292px;
        gap: 16px;
    }

    .product-preview-grid {
        grid-template-columns: repeat(4, 66px);
    }

    .product-preview-slot {
        width: 66px;
        height: 60px;
    }

    .order-v2-layout {
        grid-template-columns: minmax(720px, 1fr) 250px !important;
        gap: 28px !important;
    }

    .order-actions-panel .summary-action {
        width: 230px !important;
    }
}

@media (max-width: 1280px) and (min-width: 901px) {
    .customer-container,
    .product-v2-container,
    .order-v2-container,
    .dashboard-content {
        width: calc(100% - 80px) !important;
        margin-left: 40px !important;
    }

    .product-v2-form,
    .order-v2-layout {
        grid-template-columns: 1fr !important;
    }

    .product-v2-actions {
        grid-column: 1 !important;
        grid-row: auto !important;
        grid-template-columns: repeat(3, minmax(160px, 1fr));
        margin-top: 0 !important;
    }

    .product-options-row {
        grid-column: 1 !important;
    }

    .order-actions-panel {
        grid-template-columns: repeat(3, minmax(160px, 1fr));
    }

    .order-actions-panel .summary-action {
        width: 100% !important;
    }
}

@media (max-width: 900px) {
    .dashboard-header,
    .centered-header,
    .page-title-line {
        min-height: 76px !important;
        padding: 0 18px 0 68px !important;
    }

    .dashboard-header h1,
    .centered-header h1,
    .page-title-line h1 {
        font-size: 23px !important;
    }

    .customer-container,
    .product-v2-container,
    .order-v2-container,
    .dashboard-content {
        width: calc(100% - 28px) !important;
        margin: 24px 14px 56px !important;
    }

    .product-v2-form,
    .order-v2-layout,
    .customer-row-top,
    .customer-row-address,
    .customer-row-location,
    .customer-row-contact,
    .customer-row-extra,
    .customer-actions,
    .product-v2-row.three-cols,
    .product-v2-row.two-cols,
    .product-images-area,
    .product-options-row,
    .product-option-inputs,
    .product-v2-actions,
    .order-client-grid-v2,
    .order-product-row-main,
    .order-product-row-options,
    .order-footer-v2,
    .order-totals-strip,
    .order-actions-panel {
        grid-template-columns: 1fr !important;
    }

    .product-v2-actions,
    .product-options-row {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .order-actions-panel .summary-action,
    .product-v2-actions .btn,
    .customer-actions .btn {
        width: 100% !important;
    }

    .compact-total {
        white-space: normal;
        flex-wrap: wrap;
        gap: 8px;
        font-size: 22px;
    }

    .compact-total strong {
        font-size: 42px;
    }

    .sidebar,
    .dashboard-page .sidebar,
    .order-page .sidebar {
        min-height: 54px;
    }

    .sidebar-toggle,
    body.sidebar-open .sidebar-toggle {
        top: 12px !important;
        left: 14px !important;
        right: auto !important;
    }
}

/* ===== Revisão visual 28/06 - telas operacionais e PDFs ===== */
.main-area::after {
    display: none !important;
    content: none !important;
}

.title-menu-icon {
    display: none;
}

.dashboard-header h1::before,
.centered-header h1::before,
.page-title-line h1::before {
    content: "▰";
    display: inline-block;
    margin-right: 8px;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    transform: translateY(-1px);
}

.screen-container {
    width: min(1460px, calc(100% - 92px));
    margin: 64px 0 80px 66px;
}

.form-screen-container {
    width: min(1240px, calc(100% - 92px));
}

.screen-form {
    display: grid;
    gap: 18px;
}

.form-line {
    display: grid;
    gap: 18px;
    align-items: end;
}

.form-line.two-wide {
    grid-template-columns: minmax(420px, 850px) 330px;
}

.form-line .mid {
    max-width: 315px;
}

.form-line .small {
    max-width: 225px;
}

.form-line .grow {
    min-width: 0;
}

.screen-page .field label,
.screen-page label {
    color: #000;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.08;
}

.screen-page input,
.screen-page select,
.screen-page textarea,
.screen-filter input,
.screen-filter select {
    min-height: 42px;
    border: 1.5px solid #18b8b5;
    border-radius: 9px;
    background: #fff;
}

.screen-page textarea {
    min-height: 96px;
}

.screen-filter {
    display: grid;
    grid-template-columns: auto 310px auto;
    gap: 12px;
    align-items: center;
}

.compact-filter {
    width: min(500px, 100%);
    grid-template-columns: 120px 310px;
    margin-bottom: 26px;
}

.screen-actions,
.left-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 38px;
}

.action-wide {
    width: 190px;
    min-height: 40px;
    border-radius: 8px;
    font-size: 21px;
    font-weight: 900;
}

.btn.green,
.green {
    background: #06934d !important;
    color: #fff !important;
}

.btn.red,
.red,
.screen-back-button {
    background: #e51b2a !important;
    color: #fff !important;
}

.screen-table-card {
    width: min(1280px, 100%);
}

.screen-table-head,
.screen-row {
    display: grid;
    align-items: center;
}

.screen-table-head {
    min-height: 32px;
    padding: 0 12px;
    border: 1.5px solid #18b8b5;
    color: #111;
    font-size: 16px;
    font-weight: 900;
}

.screen-table-body {
    max-height: 260px;
    overflow-y: auto;
    padding: 8px 10px 10px 12px;
}

.screen-row {
    min-height: 32px;
    color: #555;
    font-size: 14px;
}

.screen-empty {
    padding: 18px 0;
    color: #687575;
    font-weight: 700;
}

.report-container {
    width: min(1420px, calc(100% - 92px));
}

.report-toolbar,
.sales-filters,
.completed-filters {
    display: grid;
    grid-template-columns: minmax(500px, 1fr) minmax(340px, 430px) auto;
    gap: 24px;
    align-items: end;
    margin-bottom: 26px;
}

.report-toolbar .report-filter {
    grid-template-columns: 130px minmax(260px, 360px) auto;
}

.report-pdf-callout,
.status-report-pdf {
    display: inline-grid;
    grid-template-columns: auto 150px;
    align-items: center;
    gap: 14px;
    color: #000;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.1;
}

.report-pdf-button {
    min-height: 39px;
    border-radius: 9px;
    background: #18b8b5;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    padding: 6px 24px;
}

.report-client-head,
.report-client-row {
    grid-template-columns: 2fr 1.2fr 1.1fr .9fr 1.9fr 190px;
}

.report-supplier-head,
.report-supplier-row {
    grid-template-columns: 2fr 1.1fr 1.1fr 1.8fr 190px;
}

.report-product-head,
.report-product-row {
    grid-template-columns: 90px 150px 2fr 130px 120px 1.4fr 190px;
}

.report-carrier-head,
.report-carrier-row {
    grid-template-columns: 2fr 1.4fr 1.4fr 1.2fr 190px;
}

.mini-actions {
    display: grid;
    grid-template-columns: 92px 92px;
    gap: 12px;
    align-items: center;
}

.mini-actions form {
    margin: 0;
}

.mini-btn {
    width: 92px;
    min-height: 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #18b8b5;
    border-radius: 5px;
    background: #fff;
    color: #000;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.mini-btn.delete {
    border-color: #e51b2a;
    background: #e51b2a;
    color: #fff;
}

.mini-product-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.screen-back-wrap {
    display: flex;
    justify-content: flex-end;
    width: min(1280px, 100%);
    margin-top: 44px;
}

.screen-back-button {
    width: 220px;
    min-height: 43px;
    border-radius: 9px;
    font-size: 23px;
    font-weight: 900;
}

.cash-container,
.logs-container {
    width: min(1380px, calc(100% - 92px));
}

.cash-toolbar,
.logs-toolbar {
    grid-template-columns: minmax(520px, 650px) minmax(360px, 430px);
}

.cash-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(190px, 280px));
    width: min(840px, 100%);
    border: 1.5px solid #18b8b5;
    margin-bottom: 8px;
}

.cash-cards article {
    min-height: 140px;
    display: grid;
    align-content: start;
    justify-items: center;
    border-right: 1.5px solid #18b8b5;
}

.cash-cards article:last-child {
    border-right: 0;
}

.cash-cards h2,
.cash-table-title {
    width: 100%;
    margin: 0;
    background: #18b8b5;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    text-align: center;
    padding: 8px;
}

.cash-cards strong {
    margin-top: 42px;
    font-size: 31px;
    font-weight: 900;
}

.cash-table-card {
    width: min(840px, 100%);
}

.cash-head,
.cash-row {
    grid-template-columns: 1fr 1.2fr 2fr 1fr 1.2fr;
}

.logs-table-card {
    width: min(1260px, 100%);
}

.logs-head,
.logs-row {
    grid-template-columns: 130px 170px 150px 90px 210px 90px 170px minmax(220px, 1fr);
}

.logs-body {
    min-height: 300px;
}

.status-report-pdf {
    float: right;
    margin: 0 50px 16px 0;
}

/* Ajustes de grids nas telas de pedidos */
.budget-filters {
    grid-template-columns: minmax(470px, 520px) minmax(520px, 620px) minmax(340px, 420px) !important;
}

.service-filters {
    display: grid !important;
    grid-template-columns: minmax(520px, 560px) minmax(360px, 430px) !important;
    gap: 40px;
}

.completed-filters,
.sales-filters {
    grid-template-columns: minmax(420px, 470px) minmax(360px, 420px) minmax(360px, 430px) !important;
}

@media (max-width: 1280px) {
    .report-toolbar,
    .sales-filters,
    .completed-filters,
    .budget-filters,
    .service-filters,
    .cash-toolbar,
    .logs-toolbar {
        grid-template-columns: 1fr !important;
    }

    .report-pdf-callout,
    .status-report-pdf {
        float: none;
        margin: 0 0 18px;
        justify-self: start;
    }

    .screen-table-card,
    .logs-table-card,
    .cash-table-card,
    .cash-cards {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .screen-container,
    .form-screen-container,
    .report-container,
    .cash-container,
    .logs-container {
        width: calc(100% - 28px) !important;
        margin: 24px 14px 56px !important;
    }

    .form-line.two-wide,
    .form-line,
    .screen-filter,
    .compact-filter,
    .report-toolbar .report-filter,
    .report-pdf-callout,
    .status-report-pdf,
    .cash-cards,
    .screen-table-head,
    .screen-row,
    .report-client-head,
    .report-client-row,
    .report-supplier-head,
    .report-supplier-row,
    .report-product-head,
    .report-product-row,
    .report-carrier-head,
    .report-carrier-row,
    .cash-head,
    .cash-row,
    .logs-head,
    .logs-row {
        grid-template-columns: 1fr !important;
    }

    .screen-table-head {
        display: none;
    }

    .screen-row {
        border: 1px solid #18b8b5;
        border-radius: 12px;
        padding: 12px;
        margin-bottom: 12px;
        gap: 8px;
    }

    .screen-table-body,
    .logs-body {
        max-height: none;
        min-height: 0;
        padding: 0;
    }

    .screen-actions,
    .left-actions,
    .screen-back-wrap,
    .cash-back {
        justify-content: stretch;
    }

    .action-wide,
    .screen-back-button,
    .report-pdf-button {
        width: 100%;
    }

    .cash-cards article {
        border-right: 0;
        border-bottom: 1.5px solid #18b8b5;
    }

    .cash-cards article:last-child {
        border-bottom: 0;
    }
}

/* ===== Ajuste final 28_atualizado - telas 100% conforme anexos ===== */
:root {
    --tiffany: #18b8b5;
    --branco: #ffffff;
    --texto: #000000;
    --vermelho: #e51b2a;
    --verde: #06934d;
}

body {
    background: #fff;
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
}

.app-layout,
.dashboard-page .app-layout,
.order-page .app-layout,
body.sidebar-open .app-layout,
body.sidebar-open.dashboard-page .app-layout,
body.sidebar-open.order-page .app-layout {
    grid-template-columns: 244px minmax(0, 1fr) !important;
}

.sidebar,
.dashboard-page .sidebar,
.order-page .sidebar,
body.sidebar-open .sidebar,
body.sidebar-open.dashboard-page .sidebar,
body.sidebar-open.order-page .sidebar {
    width: 244px !important;
    min-height: 100vh;
    padding: 56px 26px 28px 30px !important;
    background: #fff !important;
    border-right: 1.5px solid #18b8b5 !important;
    overflow: visible !important;
}

.sidebar-toggle,
body.sidebar-open .sidebar-toggle {
    display: none !important;
}

body.sidebar-open .sidebar-logo-link,
body.sidebar-open.dashboard-page .sidebar-logo-link,
body.sidebar-open.order-page .sidebar-logo-link,
.sidebar-logo-link {
    display: flex !important;
    justify-content: center;
    margin: 0 0 58px !important;
}

body.sidebar-open .sidebar-logo,
body.sidebar-open.dashboard-page .sidebar-logo,
body.sidebar-open.order-page .sidebar-logo,
.sidebar-logo {
    width: 132px !important;
    max-width: 132px !important;
}

body.sidebar-open .sidebar-nav,
body.sidebar-open.dashboard-page .sidebar-nav,
body.sidebar-open.order-page .sidebar-nav,
.sidebar-nav {
    display: grid !important;
    gap: 9px !important;
}

body.sidebar-open .sidebar-nav a,
body.sidebar-open.dashboard-page .sidebar-nav a,
body.sidebar-open.order-page .sidebar-nav a,
.sidebar-nav a {
    width: max-content;
    max-width: 190px;
    padding: 0 !important;
    border-radius: 0;
    color: #000;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
    background: transparent;
}

body.sidebar-open .sidebar-nav a.active,
body.sidebar-open.dashboard-page .sidebar-nav a.active,
body.sidebar-open.order-page .sidebar-nav a.active,
.sidebar-nav a.active {
    border: 1.5px solid #18b8b5 !important;
    border-radius: 999px !important;
    padding: 1px 7px !important;
    background: #fff !important;
    color: #000 !important;
}

body.sidebar-open .sidebar-logout,
body.sidebar-open.dashboard-page .sidebar-logout,
body.sidebar-open.order-page .sidebar-logout,
.sidebar-logout {
    display: block !important;
    margin-top: 46px !important;
}

.sidebar-logout .btn,
.dashboard-page .sidebar-logout .btn,
.order-page .sidebar-logout .btn {
    min-height: 35px !important;
    border: 1.5px solid #18b8b5 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #000 !important;
    font-size: 23px !important;
    font-weight: 900 !important;
    padding: 3px 15px !important;
}

.dashboard-header,
.centered-header,
.page-title-line {
    min-height: 121px !important;
    height: 121px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 0 10px !important;
    background: #18b8b5 !important;
    color: #fff !important;
    border: 0 !important;
    text-align: left !important;
}

.dashboard-header h1,
.centered-header h1,
.page-title-line h1 {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    color: #fff !important;
    font-size: 33px !important;
    font-weight: 900 !important;
    letter-spacing: -.4px;
    line-height: 1 !important;
}

.dashboard-header h1::before,
.centered-header h1::before,
.page-title-line h1::before {
    content: "" !important;
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    display: inline-block !important;
    flex: 0 0 24px;
    background: url('/img/icon-title-menu.png') center / contain no-repeat;
    transform: none !important;
}

/* Login */
.login-page {
    min-height: 100vh !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding: 115px 24px 48px !important;
    background: #fff !important;
}
.login-shell {
    width: min(460px, 100%) !important;
}
.login-box {
    width: 460px !important;
    min-height: 586px !important;
    display: grid !important;
    justify-items: center !important;
    align-content: start !important;
    padding: 30px 22px 26px !important;
    border: 1.5px solid #18b8b5 !important;
    border-radius: 48px !important;
    background: #fff !important;
    text-align: center !important;
}
.login-logo {
    width: 160px !important;
    margin: 0 0 20px !important;
}
.login-form {
    width: 100% !important;
    display: grid !important;
    justify-items: center !important;
    gap: 16px !important;
}
.login-field {
    width: 390px !important;
    gap: 9px !important;
}
.login-field label {
    color: #000 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
}
.login-field input {
    width: 390px !important;
    min-height: 52px !important;
    border: 1.5px solid #18b8b5 !important;
    border-radius: 13px !important;
    text-align: center;
}
.login-button {
    width: 230px !important;
    min-height: 54px !important;
    margin-top: 28px !important;
    border-radius: 12px !important;
    background: #18b8b5 !important;
    color: #fff !important;
    font-size: 18px !important;
}
.login-verse {
    margin: 25px 0 0 !important;
    color: #000 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    font-style: normal !important;
    line-height: 1.08 !important;
}
.login-verse span {
    color: #18b8b5 !important;
    font-size: 17px !important;
    font-style: italic !important;
    font-weight: 500 !important;
}

/* Containers principais */
.customer-container,
.product-v2-container,
.order-v2-container,
.screen-container,
.form-screen-container,
.report-container,
.cash-container,
.logs-container,
.budget-container,
.sales-container,
.service-container,
.completed-container,
.status-container,
.system-user-container,
.dashboard-content {
    margin-left: 40px !important;
}

.form-screen-container {
    width: min(1240px, calc(100% - 80px)) !important;
    margin-top: 70px !important;
}
.screen-container {
    margin-top: 70px !important;
}
.customer-container {
    width: min(1165px, calc(100% - 80px)) !important;
    margin-top: 56px !important;
}
.order-v2-container {
    width: min(1265px, calc(100% - 80px)) !important;
    margin-top: 60px !important;
}
.product-v2-container {
    width: min(1080px, calc(100% - 80px)) !important;
    margin-top: 43px !important;
}
.budget-container,
.sales-container,
.completed-container,
.service-container,
.status-container,
.report-container,
.cash-container,
.logs-container {
    width: min(1460px, calc(100% - 80px)) !important;
    margin-top: 70px !important;
}
.system-user-container {
    width: min(1040px, calc(100% - 80px)) !important;
    margin-top: 64px !important;
}
.dashboard-content {
    padding: 80px 40px 56px !important;
}

/* Formulários */
.customer-page .field label,
.product-page .field label,
.order-page .field label,
.screen-page .field label,
.screen-page label,
.system-user-page label {
    color: #000 !important;
}
input, select, textarea,
.customer-page input,
.customer-page select,
.product-page input,
.product-page select,
.product-page textarea,
.order-page input,
.order-page select,
.screen-page input,
.screen-page select,
.screen-page textarea {
    border-color: #18b8b5 !important;
}
.btn,
.menu-button {
    border-radius: 9px;
}
.btn.secondary,
.product-clear,
.customer-clear {
    border: 1.5px solid #18b8b5 !important;
    background: #fff !important;
    color: #18b8b5 !important;
}
.btn.red,
.red,
.product-back,
.customer-back,
.screen-back-button,
.sales-cancel-button,
.budget-cancel-button,
.service-adjust-button {
    background: #e51b2a !important;
    color: #fff !important;
}
.btn.green,
.green,
.sales-finalize-button,
.sales-payment-button,
.sales-receipt-button,
.completed-receipt-button,
.service-finalize-button {
    background: #06934d !important;
    color: #fff !important;
}
.customer-save,
.product-submit,
.order-btn,
.budget-filter-button,
.sales-filter-button,
.report-pdf-button,
.budget-pdf-button,
.service-pdf-button,
.completed-pdf-button,
.sales-pdf-button {
    background: #18b8b5 !important;
    color: #fff !important;
}

/* Cadastrar cliente */
.customer-form { gap: 15px !important; }
.customer-row-top { grid-template-columns: minmax(560px, 815px) 310px !important; }
.customer-row-address { grid-template-columns: 175px 110px minmax(430px, 600px) 200px !important; column-gap: 18px !important; }
.customer-row-location { grid-template-columns: 305px 305px 345px 125px !important; column-gap: 18px !important; }
.customer-row-contact { grid-template-columns: 305px 215px 215px !important; column-gap: 18px !important; }
.customer-row-extra { grid-template-columns: 215px 215px !important; column-gap: 18px !important; }
.customer-actions { grid-template-columns: 200px 200px 200px !important; gap: 24px !important; margin-top: 22px !important; }
.customer-actions .btn { min-height: 41px !important; font-size: 14px !important; }

/* Cadastrar produto final */
.product-screen-final .product-final-form {
    display: grid !important;
    grid-template-columns: 600px 430px !important;
    column-gap: 50px !important;
    align-items: start !important;
}
.product-screen-final .product-final-left {
    display: grid !important;
    gap: 15px !important;
}
.product-screen-final .product-final-images {
    display: grid !important;
    grid-template-columns: 260px 175px !important;
    gap: 34px !important;
    align-items: center !important;
    min-height: 190px !important;
}
.product-screen-final .product-upload-panel {
    justify-items: center !important;
    text-align: center !important;
    gap: 5px !important;
}
.product-screen-final .product-upload-icon-img {
    width: 34px !important;
    height: 34px !important;
}
.product-screen-final .product-upload-panel strong {
    font-size: 18px !important;
    font-weight: 700 !important;
}
.product-screen-final .product-file-button {
    width: 205px !important;
    min-height: 29px !important;
    border-radius: 7px !important;
    background: #18b8b5 !important;
    color: #fff !important;
    font-size: 16px !important;
    padding: 4px 10px !important;
}
.product-screen-final #nomeArquivoProduto {
    color: #9a9a9a !important;
    font-size: 17px !important;
    font-style: normal !important;
}
.product-screen-final .product-preview-single {
    display: block !important;
    width: 175px !important;
    height: 175px !important;
}
.product-screen-final .product-preview-single .product-preview-slot {
    width: 175px !important;
    height: 175px !important;
    border: 1.5px solid #18b8b5 !important;
    border-radius: 18px !important;
}
.product-screen-final .product-final-code-row {
    grid-template-columns: 205px 170px 205px !important;
    gap: 10px !important;
}
.product-screen-final .product-final-brand-row {
    grid-template-columns: 290px 290px !important;
    gap: 10px !important;
}
.product-screen-final .product-final-left textarea {
    min-height: 106px !important;
}
.product-screen-final .product-final-options {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    row-gap: 130px !important;
    margin: 0 !important;
    align-content: start !important;
}
.product-screen-final .product-option-inputs {
    grid-template-columns: 138px 138px 88px !important;
    gap: 10px !important;
    align-items: end !important;
}
.product-screen-final .option-add {
    min-height: 38px !important;
    border-radius: 8px !important;
    font-size: 22px !important;
    padding: 4px 10px !important;
}
.product-screen-final .option-list {
    min-height: 22px !important;
    margin-top: 10px !important;
}
.product-screen-final .option-placeholder,
.product-screen-final .option-item {
    display: grid !important;
    grid-template-columns: 138px 138px auto !important;
    gap: 10px !important;
    color: #aaa !important;
    font-size: 13px !important;
    padding-left: 10px;
}
.product-screen-final .option-placeholder small {
    font-size: 13px;
}
.product-screen-final .product-final-actions {
    grid-column: auto !important;
    grid-row: auto !important;
    display: grid !important;
    grid-template-columns: 190px 190px 190px !important;
    gap: 16px !important;
    justify-content: start !important;
    margin-top: 8px !important;
}
.product-screen-final .product-final-actions .btn {
    width: 190px !important;
    min-height: 38px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
    margin: 0 !important;
}

/* Novo pedido */
.new-order-page .order-client-grid-v2 { grid-template-columns: 170px 170px 210px minmax(250px, 1fr) 180px !important; }
.new-order-page .order-v2-layout { grid-template-columns: minmax(760px, 1050px) 255px !important; gap: 25px !important; }
.new-order-page .order-actions-panel .summary-action { width: 190px !important; min-height: 38px !important; font-size: 14px !important; }
.new-order-page .order-client-box { min-height: 84px !important; border-radius: 13px !important; background: #effafa !important; }
.new-order-page .order-items-head-v2 { margin-top: 16px !important; }
.new-order-page .order-items-body-v2 { min-height: 205px !important; }
.new-order-page .order-totals-strip { grid-template-columns: 140px 190px minmax(350px, 1fr) !important; margin-top: 36px !important; }

/* Painel */
.dashboard-groups {
    grid-template-columns: repeat(5, minmax(175px, 220px)) !important;
    justify-content: start !important;
    column-gap: 32px !important;
}
.dashboard-page .menu-button {
    width: 225px !important;
    min-height: 43px !important;
    border: 1.5px solid #18b8b5 !important;
    background: #fff !important;
    color: #111 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}
.dashboard-group-actions { gap: 14px !important; }
.dashboard-group-icon { width: 58px !important; height: 58px !important; }
.dashboard-group h2 { font-size: 25px !important; font-weight: 500 !important; }

/* Relatórios/tabelas */
.report-toolbar,
.sales-filters,
.completed-filters,
.budget-filters,
.service-filters,
.cash-toolbar,
.logs-toolbar {
    margin-bottom: 26px !important;
}
.screen-table-head,
.budget-table-head,
.sales-table-head,
.completed-table-head,
.service-table-head,
.status-table-head,
.report-client-head,
.report-supplier-head,
.report-product-head,
.report-carrier-head,
.logs-head,
.cash-head {
    border-color: #18b8b5 !important;
}
.budget-table-head {
    background: #18b8b5 !important;
    color: #fff !important;
}
.screen-back-button,
.budget-back-button,
.sales-back-button,
.completed-back-button,
.service-back-button,
.status-back-button {
    background: #e51b2a !important;
    color: #fff !important;
}

@media (max-width: 1280px) and (min-width: 901px) {
    .customer-container,
    .product-v2-container,
    .order-v2-container,
    .screen-container,
    .form-screen-container,
    .report-container,
    .cash-container,
    .logs-container,
    .budget-container,
    .sales-container,
    .service-container,
    .completed-container,
    .status-container,
    .system-user-container,
    .dashboard-content {
        width: calc(100% - 60px) !important;
        margin-left: 30px !important;
    }
    .product-screen-final .product-final-form,
    .new-order-page .order-v2-layout {
        grid-template-columns: 1fr !important;
    }
    .product-screen-final .product-final-options {
        grid-column: 1 !important;
        grid-row: auto !important;
        row-gap: 28px !important;
    }
    .product-screen-final .product-final-actions {
        grid-template-columns: repeat(3, minmax(140px, 190px)) !important;
    }
}

@media (max-width: 900px) {
    .app-layout,
    .dashboard-page .app-layout,
    .order-page .app-layout,
    body.sidebar-open .app-layout,
    body.sidebar-open.dashboard-page .app-layout,
    body.sidebar-open.order-page .app-layout {
        grid-template-columns: 1fr !important;
    }
    .sidebar,
    .dashboard-page .sidebar,
    .order-page .sidebar,
    body.sidebar-open .sidebar,
    body.sidebar-open.dashboard-page .sidebar,
    body.sidebar-open.order-page .sidebar {
        width: 100% !important;
        min-height: 56px !important;
        padding: 12px 14px !important;
        border-right: 0 !important;
        border-bottom: 1.5px solid #18b8b5 !important;
        position: sticky !important;
    }
    .sidebar-toggle,
    body.sidebar-open .sidebar-toggle {
        display: inline-flex !important;
        top: 13px !important;
        left: 14px !important;
        right: auto !important;
        width: 31px !important;
        height: 31px !important;
    }
    body:not(.sidebar-open) .sidebar-logo-link,
    body:not(.sidebar-open) .sidebar-nav,
    body:not(.sidebar-open) .sidebar-logout {
        display: none !important;
    }
    .dashboard-header,
    .centered-header,
    .page-title-line {
        min-height: 78px !important;
        height: auto !important;
        padding: 0 16px !important;
    }
    .dashboard-header h1,
    .centered-header h1,
    .page-title-line h1 {
        font-size: 23px !important;
    }
    .login-page { padding-top: 70px !important; }
    .login-box { width: 100% !important; min-height: auto !important; border-radius: 34px !important; }
    .login-field, .login-field input { width: 100% !important; }
    .customer-container,
    .product-v2-container,
    .order-v2-container,
    .screen-container,
    .form-screen-container,
    .report-container,
    .cash-container,
    .logs-container,
    .budget-container,
    .sales-container,
    .service-container,
    .completed-container,
    .status-container,
    .system-user-container,
    .dashboard-content {
        width: calc(100% - 28px) !important;
        margin: 24px 14px 56px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .customer-row-top,
    .customer-row-address,
    .customer-row-location,
    .customer-row-contact,
    .customer-row-extra,
    .customer-actions,
    .product-screen-final .product-final-form,
    .product-screen-final .product-final-images,
    .product-screen-final .product-final-code-row,
    .product-screen-final .product-final-brand-row,
    .product-screen-final .product-option-inputs,
    .product-screen-final .product-final-actions,
    .product-screen-final .product-final-options,
    .new-order-page .order-v2-layout,
    .new-order-page .order-client-grid-v2,
    .order-product-row-main,
    .order-product-row-options,
    .order-footer-v2,
    .order-totals-strip,
    .dashboard-groups {
        grid-template-columns: 1fr !important;
    }
    .product-screen-final .product-final-options {
        grid-column: auto !important;
        grid-row: auto !important;
        row-gap: 28px !important;
    }
    .product-screen-final .product-preview-single,
    .product-screen-final .product-preview-single .product-preview-slot,
    .product-screen-final .product-final-actions .btn,
    .customer-actions .btn,
    .dashboard-page .menu-button {
        width: 100% !important;
    }
    .screen-table-head,
    .screen-row,
    .report-client-head,
    .report-client-row,
    .report-supplier-head,
    .report-supplier-row,
    .report-product-head,
    .report-product-row,
    .report-carrier-head,
    .report-carrier-row,
    .sales-table-head,
    .sales-row,
    .budget-table-head,
    .budget-row,
    .completed-table-head,
    .completed-row,
    .service-table-head,
    .service-row,
    .status-table-head,
    .status-row,
    .logs-head,
    .logs-row,
    .cash-head,
    .cash-row {
        grid-template-columns: 1fr !important;
    }
}

/* ===== Ajuste final 29/06 - Novo Pedido, Pedidos de Venda e menu recolhível ===== */
:root {
    --ivinte-teal: #18b8b5;
    --ivinte-red: #e51b2a;
    --ivinte-green: #06934d;
}

/* Ícone do título igual ao modelo enviado */
.dashboard-header h1::before,
.centered-header h1::before,
.page-title-line h1::before {
    content: "" !important;
    width: 17px !important;
    height: 21px !important;
    display: inline-block !important;
    margin-right: 8px !important;
    background: url('/img/icon-title-menu.png') center / contain no-repeat !important;
    vertical-align: -2px !important;
    transform: none !important;
}

/* Menu lateral aberto no desktop e recolhível pelo ícone anexado */
.app-layout,
.dashboard-page .app-layout,
.order-page .app-layout {
    grid-template-columns: 56px minmax(0, 1fr) !important;
    transition: grid-template-columns .2s ease !important;
}

body.sidebar-open .app-layout,
body.sidebar-open.dashboard-page .app-layout,
body.sidebar-open.order-page .app-layout {
    grid-template-columns: 244px minmax(0, 1fr) !important;
}

.sidebar,
.dashboard-page .sidebar,
.order-page .sidebar {
    width: 56px !important;
    min-height: 100vh !important;
    padding: 56px 12px 28px !important;
    background: #fff !important;
    border-right: 1.5px solid var(--ivinte-teal) !important;
    overflow: hidden !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
}

body.sidebar-open .sidebar,
body.sidebar-open.dashboard-page .sidebar,
body.sidebar-open.order-page .sidebar {
    width: 244px !important;
    padding: 56px 26px 28px 30px !important;
    overflow: visible !important;
}

.sidebar-toggle,
body.sidebar-open .sidebar-toggle {
    display: inline-flex !important;
    position: absolute !important;
    top: 68px !important;
    right: 15px !important;
    left: auto !important;
    width: 31px !important;
    height: 34px !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    cursor: pointer !important;
    z-index: 20 !important;
}

body:not(.sidebar-open) .sidebar-toggle,
body:not(.sidebar-open).dashboard-page .sidebar-toggle,
body:not(.sidebar-open).order-page .sidebar-toggle {
    top: 58px !important;
    right: 12px !important;
}

.sidebar-toggle img {
    width: 31px !important;
    height: 34px !important;
    object-fit: contain !important;
    display: block !important;
}

body:not(.sidebar-open) .sidebar-logo-link,
body:not(.sidebar-open) .sidebar-nav,
body:not(.sidebar-open) .sidebar-logout {
    display: none !important;
}

body.sidebar-open .sidebar-logo-link,
body.sidebar-open.dashboard-page .sidebar-logo-link,
body.sidebar-open.order-page .sidebar-logo-link,
.sidebar-logo-link {
    display: flex !important;
    justify-content: center !important;
    margin: 0 0 58px !important;
}

body.sidebar-open .sidebar-logo,
body.sidebar-open.dashboard-page .sidebar-logo,
body.sidebar-open.order-page .sidebar-logo,
.sidebar-logo {
    width: 132px !important;
    max-width: 132px !important;
}

body.sidebar-open .sidebar-nav,
body.sidebar-open.dashboard-page .sidebar-nav,
body.sidebar-open.order-page .sidebar-nav {
    display: grid !important;
    gap: 9px !important;
}

body.sidebar-open .sidebar-nav a,
body.sidebar-open.dashboard-page .sidebar-nav a,
body.sidebar-open.order-page .sidebar-nav a {
    width: max-content !important;
    max-width: 180px !important;
    color: #000 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.12 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    white-space: normal !important;
}

body.sidebar-open .sidebar-nav a.active,
body.sidebar-open.dashboard-page .sidebar-nav a.active,
body.sidebar-open.order-page .sidebar-nav a.active {
    border: 1.5px solid var(--ivinte-teal) !important;
    border-radius: 999px !important;
    padding: 2px 7px !important;
    background: #fff !important;
}

body.sidebar-open .sidebar-logout,
body.sidebar-open.dashboard-page .sidebar-logout,
body.sidebar-open.order-page .sidebar-logout {
    display: block !important;
    margin-top: 44px !important;
}

/* Cabeçalho com barra tiffany conforme os modelos */
.dashboard-header,
.centered-header,
.page-title-line {
    min-height: 108px !important;
    height: 108px !important;
    padding: 0 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    background: var(--ivinte-teal) !important;
    color: #fff !important;
    border: 0 !important;
    text-align: left !important;
}

.dashboard-header h1,
.centered-header h1,
.page-title-line h1 {
    margin: 0 !important;
    color: #fff !important;
    font-size: 30px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

/* Redução fina dos campos para ficar proporcional às imagens */
.order-page input,
.order-page select,
.order-page textarea {
    min-height: 40px !important;
    border: 1.5px solid var(--ivinte-teal) !important;
    border-radius: 9px !important;
    padding: 7px 11px !important;
    color: #111 !important;
    font-size: 14px !important;
}

.order-page .field label,
.sales-search label,
.report-pdf-callout,
.order-page label {
    color: #000 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
}

.btn {
    border-radius: 8px !important;
}

/* Página Novo Pedido */
.new-order-page .order-v2-container {
    width: min(1265px, calc(100% - 80px)) !important;
    margin: 58px 0 70px 40px !important;
}

.new-order-page .order-v2-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1040px) 190px !important;
    gap: 25px !important;
    align-items: start !important;
}

.new-order-page .order-client-grid-v2 {
    display: grid !important;
    grid-template-columns: 168px 168px 210px minmax(245px, 270px) 180px !important;
    gap: 11px !important;
    align-items: end !important;
}

.new-order-page .order-product-row-main {
    display: grid !important;
    grid-template-columns: minmax(520px, 560px) 112px 165px 165px !important;
    gap: 12px !important;
    align-items: end !important;
    margin-top: 14px !important;
}

.new-order-page .order-product-row-options {
    display: grid !important;
    grid-template-columns: minmax(350px, 390px) 145px 230px 120px 110px !important;
    gap: 11px !important;
    align-items: end !important;
    margin-top: 8px !important;
}

.new-order-page .measure-option {
    gap: 8px !important;
    justify-content: center !important;
    padding-bottom: 2px !important;
    font-size: 14px !important;
    line-height: 1.05 !important;
    font-weight: 500 !important;
}

.new-order-page .measure-option input {
    width: 27px !important;
    min-height: 27px !important;
    height: 27px !important;
    padding: 0 !important;
}

.new-order-page .order-btn {
    min-height: 40px !important;
    border-radius: 8px !important;
    background: var(--ivinte-teal) !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 900 !important;
}

.new-order-page .order-client-box {
    min-height: 84px !important;
    margin-top: 12px !important;
    border: 1.5px solid var(--ivinte-teal) !important;
    border-radius: 13px !important;
    padding: 10px 13px !important;
    background: #effafa !important;
    color: #222 !important;
    font-size: 14px !important;
    line-height: 1.15 !important;
}

.new-order-page .order-items-head-v2,
.new-order-page .order-item-row {
    grid-template-columns: minmax(570px, 1fr) 135px 80px 130px 42px !important;
}

.new-order-page .order-items-head-v2 {
    min-height: 32px !important;
    margin-top: 16px !important;
    padding: 0 16px !important;
    background: var(--ivinte-teal) !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 900 !important;
}

.new-order-page .order-items-body-v2 {
    min-height: 196px !important;
    max-height: 214px !important;
    padding: 9px 9px 18px 16px !important;
    border-bottom: 1.5px solid var(--ivinte-teal) !important;
    overflow-y: auto !important;
}

.new-order-page .order-item-row {
    min-height: 32px !important;
    color: #000 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.12 !important;
}

.new-order-page .trash-button img {
    width: 18px !important;
    height: 24px !important;
}

.new-order-page .order-footer-v2 {
    display: grid !important;
    grid-template-columns: 260px 260px 295px !important;
    gap: 28px !important;
    align-items: end !important;
    margin-top: 25px !important;
    padding: 0 !important;
}

.new-order-page .discount-field-v2 label {
    color: var(--ivinte-red) !important;
    font-weight: 900 !important;
}

.new-order-page .order-totals-strip {
    display: grid !important;
    grid-template-columns: 145px 205px minmax(390px, 1fr) !important;
    gap: 45px !important;
    align-items: end !important;
    margin: 24px 0 0 0 !important;
}

.new-order-page .compact-summary {
    margin: 0 !important;
    color: var(--ivinte-teal) !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    line-height: 1.04 !important;
}

.new-order-page .compact-summary strong {
    display: block !important;
    color: var(--ivinte-red) !important;
    font-size: 21px !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
}

.new-order-page .compact-total {
    display: flex !important;
    align-items: baseline !important;
    gap: 10px !important;
    margin: 0 !important;
    color: var(--ivinte-teal) !important;
    white-space: nowrap !important;
}

.new-order-page .compact-total span {
    font-size: 27px !important;
    font-weight: 900 !important;
    letter-spacing: .2px !important;
}

.new-order-page .compact-total strong {
    color: var(--ivinte-red) !important;
    font-size: 49px !important;
    line-height: .9 !important;
    font-weight: 900 !important;
}

.new-order-page .order-actions-panel {
    display: grid !important;
    gap: 14px !important;
    align-content: start !important;
    padding-top: 0 !important;
}

.new-order-page .order-actions-panel .summary-action {
    width: 190px !important;
    min-height: 38px !important;
    margin: 0 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 900 !important;
}

.new-order-page .order-actions-panel .secondary {
    border: 1.5px solid var(--ivinte-teal) !important;
    background: #fff !important;
    color: var(--ivinte-teal) !important;
}

.new-order-page .order-actions-panel .red {
    background: var(--ivinte-red) !important;
    color: #fff !important;
}

/* Página Pedidos de Venda */
.sales-page .sales-container {
    width: min(1460px, calc(100% - 80px)) !important;
    margin: 70px 0 70px 40px !important;
}

.sales-page .sales-filters {
    display: grid !important;
    grid-template-columns: 492px 442px minmax(330px, 1fr) !important;
    gap: 24px !important;
    align-items: end !important;
    margin-bottom: 39px !important;
}

.sales-page .sales-search {
    display: grid !important;
    grid-template-columns: 170px 160px 142px !important;
    gap: 10px !important;
    align-items: center !important;
}

.sales-page .sales-date-search {
    grid-template-columns: 70px 210px 142px !important;
}

.sales-page .sales-search input {
    min-height: 32px !important;
    height: 32px !important;
    border-radius: 7px !important;
    padding: 4px 9px !important;
}

.sales-page .sales-filter-button,
.sales-page .report-pdf-button {
    min-height: 32px !important;
    height: 32px !important;
    border-radius: 7px !important;
    background: var(--ivinte-teal) !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    padding: 4px 18px !important;
}

.sales-page .report-pdf-callout {
    display: inline-grid !important;
    grid-template-columns: auto 160px !important;
    gap: 14px !important;
    justify-self: end !important;
    align-items: center !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    line-height: 1.05 !important;
}

.sales-page .sales-table-card {
    width: min(1460px, 100%) !important;
}

.sales-page .sales-table-head,
.sales-page .sales-row {
    display: grid !important;
    grid-template-columns: 70px 300px 125px 135px 215px minmax(600px, 1fr) !important;
    align-items: center !important;
}

.sales-page .sales-table-head {
    min-height: 32px !important;
    padding: 0 14px !important;
    border: 1.5px solid var(--ivinte-teal) !important;
    color: #111 !important;
    background: #fff !important;
    font-size: 16px !important;
    font-weight: 900 !important;
}

.sales-page .sales-table-body {
    max-height: 150px !important;
    overflow-y: auto !important;
    padding: 7px 10px 10px 14px !important;
    background: #fff !important;
}

.sales-page .sales-row {
    min-height: 32px !important;
    color: #000 !important;
    font-size: 14px !important;
}

.sales-page .status-badge {
    gap: 7px !important;
    color: #111 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.sales-page .status-badge > span {
    width: 14px !important;
    height: 14px !important;
}

.sales-page .sales-actions {
    display: grid !important;
    grid-template-columns: repeat(4, 140px) !important;
    gap: 10px !important;
    align-items: center !important;
}

.sales-page .sales-actions .btn {
    width: 140px !important;
    min-height: 24px !important;
    height: 24px !important;
    border-radius: 6px !important;
    padding: 3px 7px !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.sales-page .sales-finalize-button,
.sales-page .sales-payment-button,
.sales-page .sales-receipt-button {
    background: var(--ivinte-green) !important;
}

.sales-page .sales-pdf-button {
    background: var(--ivinte-teal) !important;
}

.sales-page .sales-cancel-button {
    background: var(--ivinte-red) !important;
}

.sales-page .sales-back-wrap {
    display: flex !important;
    justify-content: flex-end !important;
    margin-top: 31px !important;
}

.sales-page .sales-back-button {
    width: 174px !important;
    min-height: 35px !important;
    height: 35px !important;
    border-radius: 8px !important;
    background: var(--ivinte-red) !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 900 !important;
}

/* Responsivo desktop pequeno */
@media (max-width: 1500px) and (min-width: 901px) {
    .new-order-page .order-v2-container {
        width: calc(100% - 64px) !important;
        margin-left: 32px !important;
    }

    .new-order-page .order-v2-layout {
        grid-template-columns: minmax(0, 1fr) 190px !important;
    }

    .new-order-page .order-client-grid-v2,
    .new-order-page .order-product-row-main,
    .new-order-page .order-product-row-options,
    .new-order-page .order-footer-v2 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .new-order-page .order-client-grid-v2 .order-btn,
    .new-order-page .order-product-row-options .order-btn {
        align-self: end !important;
    }

    .new-order-page .order-totals-strip {
        grid-template-columns: 150px 190px minmax(300px, 1fr) !important;
        gap: 24px !important;
    }

    .sales-page .sales-container {
        width: calc(100% - 64px) !important;
        margin-left: 32px !important;
    }

    .sales-page .sales-filters {
        grid-template-columns: 1fr 1fr !important;
    }

    .sales-page .report-pdf-callout {
        justify-self: start !important;
    }
}

@media (max-width: 900px) {
    .app-layout,
    .dashboard-page .app-layout,
    .order-page .app-layout,
    body.sidebar-open .app-layout,
    body.sidebar-open.dashboard-page .app-layout,
    body.sidebar-open.order-page .app-layout {
        grid-template-columns: 1fr !important;
    }

    .sidebar,
    .dashboard-page .sidebar,
    .order-page .sidebar,
    body.sidebar-open .sidebar,
    body.sidebar-open.dashboard-page .sidebar,
    body.sidebar-open.order-page .sidebar {
        width: 100% !important;
        min-height: 56px !important;
        padding: 12px 14px !important;
        border-right: 0 !important;
        border-bottom: 1.5px solid var(--ivinte-teal) !important;
        overflow: hidden !important;
        position: sticky !important;
    }

    .sidebar-toggle,
    body.sidebar-open .sidebar-toggle {
        top: 12px !important;
        left: 14px !important;
        right: auto !important;
        width: 31px !important;
        height: 34px !important;
    }

    body.sidebar-open .sidebar {
        min-height: auto !important;
        overflow-y: auto !important;
        max-height: 92vh !important;
        padding: 54px 20px 22px !important;
    }

    body.sidebar-open .sidebar-logo-link,
    body.sidebar-open.dashboard-page .sidebar-logo-link,
    body.sidebar-open.order-page .sidebar-logo-link {
        margin-bottom: 20px !important;
    }

    body.sidebar-open .sidebar-logo,
    body.sidebar-open.dashboard-page .sidebar-logo,
    body.sidebar-open.order-page .sidebar-logo {
        width: 118px !important;
        max-width: 118px !important;
    }

    body.sidebar-open .sidebar-nav,
    body.sidebar-open.dashboard-page .sidebar-nav,
    body.sidebar-open.order-page .sidebar-nav {
        grid-template-columns: 1fr !important;
    }

    .dashboard-header,
    .centered-header,
    .page-title-line {
        min-height: 76px !important;
        height: auto !important;
        padding: 0 16px 0 54px !important;
    }

    .dashboard-header h1,
    .centered-header h1,
    .page-title-line h1 {
        font-size: 23px !important;
    }

    .new-order-page .order-v2-container,
    .sales-page .sales-container {
        width: calc(100% - 28px) !important;
        margin: 24px 14px 56px !important;
    }

    .new-order-page .order-v2-layout,
    .new-order-page .order-client-grid-v2,
    .new-order-page .order-product-row-main,
    .new-order-page .order-product-row-options,
    .new-order-page .order-footer-v2,
    .new-order-page .order-totals-strip,
    .sales-page .sales-filters,
    .sales-page .sales-search,
    .sales-page .sales-date-search,
    .sales-page .sales-table-head,
    .sales-page .sales-row,
    .sales-page .sales-actions {
        grid-template-columns: 1fr !important;
    }

    .new-order-page .order-actions-panel .summary-action,
    .sales-page .sales-filter-button,
    .sales-page .report-pdf-button,
    .sales-page .sales-actions .btn,
    .sales-page .sales-back-button {
        width: 100% !important;
    }

    .new-order-page .compact-total {
        flex-wrap: wrap !important;
        white-space: normal !important;
    }

    .sales-page .sales-table-head {
        display: none !important;
    }

    .sales-page .sales-row {
        border: 1px solid var(--ivinte-teal) !important;
        border-radius: 12px !important;
        padding: 12px !important;
        margin-bottom: 12px !important;
        gap: 8px !important;
    }

    .sales-page .sales-table-body {
        max-height: none !important;
        padding: 0 !important;
    }

    .sales-page .sales-back-wrap {
        justify-content: stretch !important;
    }
}


/* ===== Ajuste 30/06 - Orçamentos, Pedidos Concluídos e ícone do menu ===== */
.completed-page .dashboard-header,
.completed-page .centered-header,
.budget-page .dashboard-header,
.budget-page .centered-header {
    min-height: 108px !important;
    height: 108px !important;
    padding: 0 10px !important;
    background: var(--ivinte-teal) !important;
    justify-content: flex-start !important;
    text-align: left !important;
}

.completed-page .dashboard-header h1,
.completed-page .centered-header h1,
.budget-page .dashboard-header h1,
.budget-page .centered-header h1 {
    font-size: 31px !important;
    font-weight: 900 !important;
    letter-spacing: -.3px !important;
}

.sidebar-toggle,
body.sidebar-open .sidebar-toggle {
    width: 32px !important;
    height: 32px !important;
    top: 68px !important;
    right: 14px !important;
    background: transparent !important;
}

.sidebar-toggle img {
    width: 32px !important;
    height: 32px !important;
    object-fit: contain !important;
    border: 0 !important;
    display: block !important;
}

body:not(.sidebar-open) .sidebar-toggle,
body:not(.sidebar-open).dashboard-page .sidebar-toggle,
body:not(.sidebar-open).order-page .sidebar-toggle {
    top: 58px !important;
    right: 12px !important;
}

/* Página Orçamentos - visual conforme anexo */
.budget-page .budget-container {
    width: min(1390px, calc(100% - 80px)) !important;
    margin: 66px 0 70px 40px !important;
}

.budget-page .budget-filters {
    display: grid !important;
    grid-template-columns: 500px 640px !important;
    gap: 118px !important;
    align-items: end !important;
    margin-bottom: 34px !important;
}

.budget-page .budget-search {
    display: grid !important;
    grid-template-columns: auto 160px 142px !important;
    gap: 10px !important;
    align-items: center !important;
}

.budget-page .budget-date-search {
    grid-template-columns: 100px 340px 142px !important;
}

.budget-page .budget-search label {
    color: #000 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.08 !important;
}

.budget-page .budget-search input {
    min-height: 32px !important;
    height: 32px !important;
    border: 1.5px solid var(--ivinte-teal) !important;
    border-radius: 7px !important;
    padding: 4px 9px !important;
}

.budget-page .budget-filter-button {
    min-height: 32px !important;
    height: 32px !important;
    border-radius: 7px !important;
    background: var(--ivinte-teal) !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    padding: 4px 18px !important;
}

.budget-page .budget-table-card {
    width: min(1390px, 100%) !important;
}

.budget-page .budget-table-head,
.budget-page .budget-row {
    display: grid !important;
    grid-template-columns: 80px 295px 145px 140px minmax(560px, 1fr) !important;
    align-items: center !important;
}

.budget-page .budget-table-head {
    min-height: 37px !important;
    padding: 0 24px !important;
    background: var(--ivinte-teal) !important;
    color: #fff !important;
    border: 0 !important;
    font-size: 17px !important;
    font-weight: 900 !important;
}

.budget-page .budget-table-body {
    max-height: 180px !important;
    overflow-y: auto !important;
    padding: 8px 10px 10px 24px !important;
    background: #fff !important;
}

.budget-page .budget-row {
    min-height: 32px !important;
    color: #000 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.budget-page .budget-actions {
    display: grid !important;
    grid-template-columns: 158px 158px 158px 158px !important;
    gap: 9px !important;
    align-items: center !important;
}

.budget-page .budget-actions .btn {
    width: 158px !important;
    min-height: 26px !important;
    height: 26px !important;
    border-radius: 6px !important;
    padding: 3px 8px !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.budget-page .budget-edit-button {
    background: #ffe600 !important;
    color: #000 !important;
}

.budget-page .budget-approve-button {
    background: var(--ivinte-green) !important;
    color: #fff !important;
}

.budget-page .budget-cancel-button {
    background: var(--ivinte-red) !important;
    color: #fff !important;
}

.budget-page .budget-pdf-button {
    background: var(--ivinte-teal) !important;
    color: #fff !important;
}

.budget-page .budget-back-wrap {
    width: min(1390px, 100%) !important;
    display: flex !important;
    justify-content: flex-end !important;
    margin-top: 50px !important;
}

.budget-page .budget-back-button {
    width: 260px !important;
    min-height: 58px !important;
    height: 58px !important;
    border-radius: 10px !important;
    background: var(--ivinte-red) !important;
    color: #fff !important;
    font-size: 21px !important;
    font-weight: 900 !important;
}

/* Página Pedidos Concluídos - visual conforme anexo */
.completed-page .completed-container {
    width: min(1150px, calc(100% - 80px)) !important;
    margin: 72px 0 70px 40px !important;
}

.completed-page .completed-filters {
    display: grid !important;
    grid-template-columns: 500px minmax(360px, 430px) !important;
    gap: 260px !important;
    align-items: end !important;
    margin-bottom: 26px !important;
}

.completed-page .completed-search {
    display: grid !important;
    grid-template-columns: 190px 185px 165px !important;
    gap: 10px !important;
    align-items: center !important;
}

.completed-page .completed-search label,
.completed-page .report-pdf-callout {
    color: #000 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.05 !important;
}

.completed-page .completed-search input {
    min-height: 36px !important;
    height: 36px !important;
    border: 1.5px solid var(--ivinte-teal) !important;
    border-radius: 7px !important;
    padding: 5px 10px !important;
}

.completed-page .sales-filter-button,
.completed-page .report-pdf-button {
    min-height: 36px !important;
    height: 36px !important;
    border-radius: 7px !important;
    background: var(--ivinte-teal) !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    padding: 4px 18px !important;
}

.completed-page .report-pdf-callout {
    display: inline-grid !important;
    grid-template-columns: auto 165px !important;
    gap: 16px !important;
    align-items: center !important;
    justify-self: end !important;
}

.completed-page .completed-table-card {
    width: min(1150px, 100%) !important;
}

.completed-page .completed-table-head,
.completed-page .completed-row {
    display: grid !important;
    grid-template-columns: 80px 315px 160px 150px minmax(350px, 1fr) !important;
    align-items: center !important;
}

.completed-page .completed-table-head {
    min-height: 32px !important;
    padding: 0 24px !important;
    border: 1.5px solid var(--ivinte-teal) !important;
    background: #fff !important;
    color: #111 !important;
    font-size: 21px !important;
    font-weight: 900 !important;
}

.completed-page .completed-table-body {
    max-height: 190px !important;
    overflow-y: auto !important;
    padding: 8px 10px 10px 24px !important;
    background: #fff !important;
}

.completed-page .completed-row {
    min-height: 34px !important;
    color: #000 !important;
    font-size: 17px !important;
    font-weight: 500 !important;
}

.completed-page .completed-row strong {
    font-size: 16px !important;
    font-weight: 500 !important;
}

.completed-page .completed-actions {
    display: grid !important;
    grid-template-columns: 170px 175px !important;
    gap: 12px !important;
    align-items: center !important;
}

.completed-page .completed-actions .btn {
    width: 100% !important;
    min-height: 32px !important;
    height: 32px !important;
    border-radius: 7px !important;
    padding: 4px 10px !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.completed-page .completed-pdf-button {
    background: var(--ivinte-teal) !important;
}

.completed-page .completed-receipt-button {
    background: var(--ivinte-green) !important;
}

.completed-page .completed-back-wrap {
    width: min(1150px, 100%) !important;
    display: flex !important;
    justify-content: flex-end !important;
    margin-top: 62px !important;
}

.completed-page .completed-back-button {
    width: 220px !important;
    min-height: 43px !important;
    height: 43px !important;
    border-radius: 8px !important;
    background: var(--ivinte-red) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 900 !important;
}

@media (max-width: 1500px) and (min-width: 901px) {
    .budget-page .budget-container,
    .completed-page .completed-container {
        width: calc(100% - 64px) !important;
        margin-left: 32px !important;
    }

    .budget-page .budget-filters,
    .completed-page .completed-filters {
        grid-template-columns: 1fr 1fr !important;
        gap: 24px !important;
    }

    .budget-page .budget-table-card,
    .budget-page .budget-back-wrap,
    .completed-page .completed-table-card,
    .completed-page .completed-back-wrap {
        width: 100% !important;
    }

    .budget-page .budget-table-head,
    .budget-page .budget-row {
        grid-template-columns: 70px 260px 120px 120px minmax(620px, 1fr) !important;
    }

    .budget-page .budget-actions {
        grid-template-columns: repeat(4, minmax(130px, 1fr)) !important;
    }

    .budget-page .budget-actions .btn {
        width: 100% !important;
    }

    .completed-page .completed-table-head,
    .completed-page .completed-row {
        grid-template-columns: 70px 280px 135px 135px minmax(340px, 1fr) !important;
    }
}

@media (max-width: 900px) {
    .budget-page .dashboard-header,
    .completed-page .dashboard-header,
    .budget-page .centered-header,
    .completed-page .centered-header {
        min-height: 76px !important;
        height: auto !important;
        padding: 0 16px 0 54px !important;
    }

    .budget-page .dashboard-header h1,
    .completed-page .dashboard-header h1,
    .budget-page .centered-header h1,
    .completed-page .centered-header h1 {
        font-size: 23px !important;
    }

    .budget-page .budget-container,
    .completed-page .completed-container {
        width: calc(100% - 28px) !important;
        margin: 24px 14px 56px !important;
    }

    .budget-page .budget-filters,
    .budget-page .budget-search,
    .budget-page .budget-date-search,
    .budget-page .budget-table-head,
    .budget-page .budget-row,
    .budget-page .budget-actions,
    .completed-page .completed-filters,
    .completed-page .completed-search,
    .completed-page .report-pdf-callout,
    .completed-page .completed-table-head,
    .completed-page .completed-row,
    .completed-page .completed-actions {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .budget-page .budget-filter-button,
    .budget-page .budget-actions .btn,
    .budget-page .budget-back-button,
    .completed-page .sales-filter-button,
    .completed-page .report-pdf-button,
    .completed-page .completed-actions .btn,
    .completed-page .completed-back-button {
        width: 100% !important;
    }

    .budget-page .budget-table-head,
    .completed-page .completed-table-head {
        display: none !important;
    }

    .budget-page .budget-row,
    .completed-page .completed-row {
        border: 1px solid var(--ivinte-teal) !important;
        border-radius: 12px !important;
        padding: 12px !important;
        margin-bottom: 12px !important;
        gap: 8px !important;
    }

    .budget-page .budget-row > span:nth-child(1)::before,
    .completed-page .completed-row > span:nth-child(1)::before { content: "Nº: "; font-weight: 900; }
    .budget-page .budget-row > span:nth-child(2)::before,
    .completed-page .completed-row > span:nth-child(2)::before { content: "Cliente: "; font-weight: 900; }
    .budget-page .budget-row > span:nth-child(3)::before,
    .completed-page .completed-row > span:nth-child(3)::before { content: "Data: "; font-weight: 900; }
    .budget-page .budget-row > span:nth-child(4)::before { content: "Total R$: "; font-weight: 900; }
    .completed-page .completed-row > strong::before { content: "Valor: "; font-weight: 900; }

    .budget-page .budget-table-body,
    .completed-page .completed-table-body {
        max-height: none !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .budget-page .budget-back-wrap,
    .completed-page .completed-back-wrap {
        width: 100% !important;
        justify-content: stretch !important;
        margin-top: 24px !important;
    }
}

/* ===== Ajuste 31/06 - Cadastrar Fornecedores e Transportadora ===== */
.supplier-page .page-title-line,
.carrier-page .page-title-line,
.supplier-page .dashboard-header,
.carrier-page .dashboard-header,
.supplier-page .centered-header,
.carrier-page .centered-header {
    min-height: 121px !important;
    height: 121px !important;
    padding: 0 10px !important;
    background: var(--ivinte-teal) !important;
    color: #fff !important;
    border: 0 !important;
    justify-content: flex-start !important;
    text-align: left !important;
}

.supplier-page .page-title-line h1,
.carrier-page .page-title-line h1,
.supplier-page .dashboard-header h1,
.carrier-page .dashboard-header h1,
.supplier-page .centered-header h1,
.carrier-page .centered-header h1 {
    color: #fff !important;
    font-size: 33px !important;
    font-weight: 900 !important;
    letter-spacing: -.35px !important;
    line-height: 1 !important;
}

.supplier-page .page-title-line h1::before,
.carrier-page .page-title-line h1::before,
.supplier-page .dashboard-header h1::before,
.carrier-page .dashboard-header h1::before,
.supplier-page .centered-header h1::before,
.carrier-page .centered-header h1::before {
    width: 18px !important;
    height: 22px !important;
    margin-right: 8px !important;
    background: url('/img/icon-title-menu.png') center / contain no-repeat !important;
}

.supplier-page .form-screen-container,
.carrier-page .form-screen-container {
    width: min(1215px, calc(100% - 80px)) !important;
    margin: 68px 0 70px 40px !important;
}

.supplier-page .compact-filter,
.carrier-page .compact-filter {
    width: min(500px, 100%) !important;
    display: grid !important;
    grid-template-columns: 142px 315px !important;
    gap: 12px !important;
    align-items: center !important;
    margin: 0 0 24px !important;
}

.supplier-page .compact-filter label,
.carrier-page .compact-filter label {
    color: #000 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.07 !important;
}

.supplier-page .compact-filter input,
.carrier-page .compact-filter input {
    width: 315px !important;
    min-height: 32px !important;
    height: 32px !important;
    border: 1.5px solid var(--ivinte-teal) !important;
    border-radius: 7px !important;
    padding: 4px 32px 4px 9px !important;
    background-color: #fff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%23777777' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 15px 15px !important;
}

.supplier-page .supplier-form,
.carrier-page .carrier-form {
    width: min(1215px, 100%) !important;
    display: grid !important;
    gap: 18px !important;
}

.supplier-page .supplier-form > .form-line:nth-of-type(1),
.carrier-page .carrier-form > .form-line:nth-of-type(1) {
    display: grid !important;
    grid-template-columns: minmax(620px, 850px) 330px !important;
    gap: 18px !important;
    align-items: end !important;
}

.supplier-page .supplier-form > .form-line:nth-of-type(2) {
    display: grid !important;
    grid-template-columns: 315px minmax(520px, 850px) !important;
    gap: 34px !important;
    align-items: end !important;
}

.carrier-page .carrier-form > .form-line:nth-of-type(2) {
    display: grid !important;
    grid-template-columns: 315px 225px !important;
    gap: 34px !important;
    align-items: end !important;
}

.supplier-page .supplier-form .field,
.carrier-page .carrier-form .field {
    gap: 6px !important;
}

.supplier-page .supplier-form .field label,
.carrier-page .carrier-form .field label {
    margin-left: 12px !important;
    color: #000 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.05 !important;
}

.supplier-page .supplier-form input,
.supplier-page .supplier-form select,
.carrier-page .carrier-form input,
.carrier-page .carrier-form select {
    min-height: 40px !important;
    height: 40px !important;
    border: 1.5px solid var(--ivinte-teal) !important;
    border-radius: 9px !important;
    padding: 6px 11px !important;
    background-color: #fff !important;
    font-size: 14px !important;
}

.supplier-page .supplier-form .mid,
.carrier-page .carrier-form .mid {
    max-width: none !important;
}

.carrier-page .carrier-form .small {
    max-width: none !important;
}

.supplier-page .screen-actions.left-actions,
.carrier-page .screen-actions.left-actions {
    display: flex !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
    margin-top: 38px !important;
}

.supplier-page .action-wide,
.carrier-page .action-wide {
    width: 184px !important;
    min-height: 37px !important;
    height: 37px !important;
    border-radius: 8px !important;
    padding: 4px 12px !important;
    font-size: 21px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

.supplier-page .btn.secondary,
.carrier-page .btn.secondary {
    border: 1.5px solid var(--ivinte-teal) !important;
    background: #fff !important;
    color: #222 !important;
}

.supplier-page .btn.green,
.carrier-page .btn.green {
    background: var(--ivinte-green) !important;
    color: #fff !important;
}

.supplier-page .btn.red,
.carrier-page .btn.red {
    background: var(--ivinte-red) !important;
    color: #fff !important;
}

@media (max-width: 1280px) and (min-width: 901px) {
    .supplier-page .form-screen-container,
    .carrier-page .form-screen-container {
        width: calc(100% - 64px) !important;
        margin-left: 32px !important;
    }

    .supplier-page .supplier-form > .form-line:nth-of-type(1),
    .carrier-page .carrier-form > .form-line:nth-of-type(1),
    .supplier-page .supplier-form > .form-line:nth-of-type(2) {
        grid-template-columns: 1fr 330px !important;
    }
}

@media (max-width: 900px) {
    .supplier-page .page-title-line,
    .carrier-page .page-title-line,
    .supplier-page .dashboard-header,
    .carrier-page .dashboard-header,
    .supplier-page .centered-header,
    .carrier-page .centered-header {
        min-height: 76px !important;
        height: auto !important;
        padding: 0 16px 0 54px !important;
    }

    .supplier-page .page-title-line h1,
    .carrier-page .page-title-line h1,
    .supplier-page .dashboard-header h1,
    .carrier-page .dashboard-header h1,
    .supplier-page .centered-header h1,
    .carrier-page .centered-header h1 {
        font-size: 23px !important;
    }

    .supplier-page .form-screen-container,
    .carrier-page .form-screen-container {
        width: calc(100% - 28px) !important;
        margin: 24px 14px 56px !important;
    }

    .supplier-page .compact-filter,
    .carrier-page .compact-filter,
    .supplier-page .supplier-form > .form-line:nth-of-type(1),
    .carrier-page .carrier-form > .form-line:nth-of-type(1),
    .supplier-page .supplier-form > .form-line:nth-of-type(2),
    .carrier-page .carrier-form > .form-line:nth-of-type(2) {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .supplier-page .compact-filter input,
    .carrier-page .compact-filter input,
    .supplier-page .action-wide,
    .carrier-page .action-wide {
        width: 100% !important;
    }

    .supplier-page .screen-actions.left-actions,
    .carrier-page .screen-actions.left-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-top: 24px !important;
    }
}

/* ===== Ajuste 32/06 - Relatórios de Clientes, Produtos, Fornecedores e Transportadoras ===== */
.report-page .page-title-line,
.report-page .dashboard-header,
.report-page .centered-header {
    min-height: 121px !important;
    height: 121px !important;
    padding: 0 10px !important;
    background: var(--ivinte-teal) !important;
    color: #fff !important;
    border: 0 !important;
    justify-content: flex-start !important;
    text-align: left !important;
}

.report-page .page-title-line h1,
.report-page .dashboard-header h1,
.report-page .centered-header h1 {
    color: #fff !important;
    font-size: 33px !important;
    font-weight: 900 !important;
    letter-spacing: -.35px !important;
    line-height: 1 !important;
}

.report-page .page-title-line h1::before,
.report-page .dashboard-header h1::before,
.report-page .centered-header h1::before {
    width: 18px !important;
    height: 22px !important;
    margin-right: 8px !important;
    background: url('/img/icon-title-menu.png') center / contain no-repeat !important;
}

.report-page .report-container {
    width: min(1480px, calc(100% - 80px)) !important;
    margin: 68px 0 70px 40px !important;
}

.report-page .report-toolbar {
    width: min(1480px, 100%) !important;
    display: grid !important;
    grid-template-columns: minmax(540px, 560px) minmax(360px, 430px) !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 24px !important;
    margin: 0 0 23px !important;
}

.report-page .report-filter {
    width: 560px !important;
    display: grid !important;
    grid-template-columns: 130px 405px !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
}

.report-page .report-filter label {
    color: #000 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.08 !important;
}

.report-page .report-filter input {
    width: 405px !important;
    min-height: 38px !important;
    height: 38px !important;
    border: 1.5px solid var(--ivinte-teal) !important;
    border-radius: 8px !important;
    padding: 5px 34px 5px 10px !important;
    background-color: #fff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23777777' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 16px 16px !important;
    font-size: 14px !important;
}

.report-page .report-filter-submit {
    display: none !important;
}

.report-page .report-pdf-callout {
    display: inline-grid !important;
    grid-template-columns: auto 160px !important;
    justify-self: end !important;
    align-items: center !important;
    gap: 16px !important;
    color: #000 !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    line-height: 1.06 !important;
}

.report-page .report-pdf-button {
    width: 160px !important;
    min-height: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    background: var(--ivinte-teal) !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    padding: 4px 18px !important;
}

.report-page .screen-table-card,
.report-page .screen-back-wrap {
    width: min(1480px, 100%) !important;
}

.report-page .screen-table-head,
.report-page .screen-row {
    display: grid !important;
    align-items: center !important;
    column-gap: 0 !important;
}

.report-page .screen-table-head {
    min-height: 38px !important;
    height: 38px !important;
    padding: 0 14px !important;
    border: 1.5px solid var(--ivinte-teal) !important;
    background: #fff !important;
    color: #000 !important;
    font-size: 17px !important;
    font-weight: 500 !important;
}

.report-page .screen-table-body {
    min-height: 300px !important;
    max-height: 300px !important;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    padding: 8px 10px 10px 14px !important;
    background: #fff !important;
    scrollbar-color: var(--ivinte-teal) #ffffff;
    scrollbar-width: auto;
}

.report-page .screen-table-body::-webkit-scrollbar {
    width: 31px;
}

.report-page .screen-table-body::-webkit-scrollbar-track {
    background: #fff;
    border: 1px solid var(--ivinte-teal);
    border-radius: 999px;
}

.report-page .screen-table-body::-webkit-scrollbar-thumb {
    background: var(--ivinte-teal);
    border: 7px solid #fff;
    border-radius: 999px;
}

.report-page .screen-row {
    min-height: 32px !important;
    color: #555 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
}

.report-page .actions-head-empty {
    color: transparent !important;
}

.report-page .report-client-head,
.report-page .report-client-row {
    grid-template-columns: 2.1fr 1.15fr 1.12fr .85fr 1.55fr 210px !important;
}

.report-page .report-supplier-head,
.report-page .report-supplier-row {
    grid-template-columns: 2fr 1.2fr 1.1fr 1.85fr 210px !important;
}

.report-page .report-product-head,
.report-page .report-product-row {
    grid-template-columns: 90px 175px 2.25fr 150px 140px 1.55fr 210px !important;
}

.report-page .report-carrier-head,
.report-page .report-carrier-row {
    grid-template-columns: 2.05fr 1.35fr 1.55fr 1.25fr 210px !important;
}

.report-page .mini-actions {
    display: grid !important;
    grid-template-columns: 98px 98px !important;
    gap: 14px !important;
    align-items: center !important;
    justify-content: end !important;
}

.report-page .mini-actions form {
    margin: 0 !important;
}

.report-page .mini-btn {
    width: 98px !important;
    min-height: 22px !important;
    height: 22px !important;
    border: 1.5px solid var(--ivinte-teal) !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #000 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    padding: 2px 8px !important;
}

.report-page .mini-btn.delete {
    border-color: var(--ivinte-red) !important;
    background: var(--ivinte-red) !important;
    color: #fff !important;
}

.report-page .mini-product-icon {
    width: 21px !important;
    height: 21px !important;
    object-fit: contain !important;
    display: inline-block !important;
}

.report-page .screen-back-wrap {
    display: flex !important;
    justify-content: flex-end !important;
    margin-top: 30px !important;
}

.report-page .screen-back-button {
    width: 220px !important;
    min-height: 43px !important;
    height: 43px !important;
    border-radius: 8px !important;
    background: var(--ivinte-red) !important;
    color: #fff !important;
    font-size: 23px !important;
    font-weight: 900 !important;
    padding: 4px 18px !important;
}

/* Pequenas diferenças de largura conforme cada tela do anexo */
.clients-report-page .report-container,
.clients-report-page .report-toolbar,
.clients-report-page .screen-table-card,
.clients-report-page .screen-back-wrap,
.products-report-page .report-container,
.products-report-page .report-toolbar,
.products-report-page .screen-table-card,
.products-report-page .screen-back-wrap,
.suppliers-report-page .report-container,
.suppliers-report-page .report-toolbar,
.suppliers-report-page .screen-table-card,
.suppliers-report-page .screen-back-wrap,
.carriers-report-page .report-container,
.carriers-report-page .report-toolbar,
.carriers-report-page .screen-table-card,
.carriers-report-page .screen-back-wrap {
    max-width: 1480px !important;
}

@media (max-width: 1500px) and (min-width: 901px) {
    .report-page .report-container {
        width: calc(100% - 64px) !important;
        margin-left: 32px !important;
    }

    .report-page .report-toolbar,
    .report-page .screen-table-card,
    .report-page .screen-back-wrap {
        width: 100% !important;
    }

    .report-page .report-toolbar {
        grid-template-columns: minmax(500px, 560px) minmax(360px, 430px) !important;
        gap: 22px !important;
    }

    .report-page .report-client-head,
    .report-page .report-client-row {
        grid-template-columns: 2fr 1.1fr 1fr .8fr 1.4fr 210px !important;
    }

    .report-page .report-product-head,
    .report-page .report-product-row {
        grid-template-columns: 80px 140px 1.8fr 120px 105px 1.25fr 210px !important;
    }
}

@media (max-width: 900px) {
    .report-page .page-title-line,
    .report-page .dashboard-header,
    .report-page .centered-header {
        min-height: 76px !important;
        height: auto !important;
        padding: 0 16px 0 54px !important;
    }

    .report-page .page-title-line h1,
    .report-page .dashboard-header h1,
    .report-page .centered-header h1 {
        font-size: 23px !important;
    }

    .report-page .report-container {
        width: calc(100% - 28px) !important;
        margin: 24px 14px 56px !important;
    }

    .report-page .report-toolbar,
    .report-page .report-filter,
    .report-page .report-pdf-callout,
    .report-page .screen-table-head,
    .report-page .screen-row,
    .report-page .report-client-head,
    .report-page .report-client-row,
    .report-page .report-supplier-head,
    .report-page .report-supplier-row,
    .report-page .report-product-head,
    .report-page .report-product-row,
    .report-page .report-carrier-head,
    .report-page .report-carrier-row,
    .report-page .mini-actions {
        width: 100% !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .report-page .report-filter input,
    .report-page .report-pdf-button,
    .report-page .mini-btn,
    .report-page .screen-back-button {
        width: 100% !important;
    }

    .report-page .report-pdf-callout,
    .report-page .report-pdf-callout .report-pdf-button {
        justify-self: stretch !important;
    }

    .report-page .screen-table-head {
        display: none !important;
    }

    .report-page .screen-table-body {
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        padding: 0 !important;
    }

    .report-page .screen-row {
        border: 1px solid var(--ivinte-teal) !important;
        border-radius: 12px !important;
        padding: 12px !important;
        margin-bottom: 12px !important;
        color: #000 !important;
    }

    .clients-report-page .report-client-row > span:nth-child(1)::before { content: "Nome: "; font-weight: 900; }
    .clients-report-page .report-client-row > span:nth-child(2)::before { content: "CPF / CNPJ: "; font-weight: 900; }
    .clients-report-page .report-client-row > span:nth-child(3)::before { content: "Whatsapp: "; font-weight: 900; }
    .clients-report-page .report-client-row > span:nth-child(4)::before { content: "Contato: "; font-weight: 900; }
    .clients-report-page .report-client-row > span:nth-child(5)::before { content: "E-mail: "; font-weight: 900; }

    .products-report-page .report-product-row > span:nth-child(2)::before { content: "Código: "; font-weight: 900; }
    .products-report-page .report-product-row > span:nth-child(3)::before { content: "Produto: "; font-weight: 900; }
    .products-report-page .report-product-row > span:nth-child(4)::before { content: "Valor R$: "; font-weight: 900; }
    .products-report-page .report-product-row > span:nth-child(5)::before { content: "Estoque: "; font-weight: 900; }
    .products-report-page .report-product-row > span:nth-child(6)::before { content: "Fornecedor: "; font-weight: 900; }

    .suppliers-report-page .report-supplier-row > span:nth-child(1)::before { content: "Fornecedor: "; font-weight: 900; }
    .suppliers-report-page .report-supplier-row > span:nth-child(2)::before { content: "CNPJ: "; font-weight: 900; }
    .suppliers-report-page .report-supplier-row > span:nth-child(3)::before { content: "Marca: "; font-weight: 900; }
    .suppliers-report-page .report-supplier-row > span:nth-child(4)::before { content: "Obs: "; font-weight: 900; }

    .carriers-report-page .report-carrier-row > span:nth-child(1)::before { content: "Nome da Transportadora: "; font-weight: 900; }
    .carriers-report-page .report-carrier-row > span:nth-child(2)::before { content: "CPF ou CNPJ: "; font-weight: 900; }
    .carriers-report-page .report-carrier-row > span:nth-child(3)::before { content: "Tipo de Frete: "; font-weight: 900; }
    .carriers-report-page .report-carrier-row > span:nth-child(4)::before { content: "Valor de Frete: "; font-weight: 900; }

    .report-page .screen-back-wrap {
        width: 100% !important;
        justify-content: stretch !important;
        margin-top: 24px !important;
    }
}


/* ===== Ajuste 33/06 - Extrato do Caixa, Usuários do Sistema e exclusões dos relatórios ===== */
.cash-page .page-title-line,
.cash-page .dashboard-header,
.cash-page .centered-header,
.users-list-page .page-title-line,
.users-list-page .dashboard-header,
.users-list-page .centered-header {
    min-height: 121px !important;
    height: 121px !important;
    padding: 0 10px !important;
    background: var(--ivinte-teal) !important;
    color: #fff !important;
    border: 0 !important;
    justify-content: flex-start !important;
    text-align: left !important;
}

.cash-page .page-title-line h1,
.cash-page .dashboard-header h1,
.cash-page .centered-header h1,
.users-list-page .page-title-line h1,
.users-list-page .dashboard-header h1,
.users-list-page .centered-header h1 {
    color: #fff !important;
    font-size: 33px !important;
    font-weight: 900 !important;
    letter-spacing: -.35px !important;
    line-height: 1 !important;
}

.cash-page .page-title-line h1::before,
.cash-page .dashboard-header h1::before,
.cash-page .centered-header h1::before,
.users-list-page .page-title-line h1::before,
.users-list-page .dashboard-header h1::before,
.users-list-page .centered-header h1::before {
    width: 18px !important;
    height: 22px !important;
    margin-right: 8px !important;
    background: url('/img/icon-title-menu.png') center / contain no-repeat !important;
}

.cash-page .cash-container {
    width: min(1290px, calc(100% - 80px)) !important;
    margin: 68px 0 70px 40px !important;
}

.cash-page .cash-toolbar {
    width: min(1290px, 100%) !important;
    display: grid !important;
    grid-template-columns: minmax(660px, 850px) minmax(360px, 430px) !important;
    gap: 28px !important;
    align-items: start !important;
    margin: 0 0 18px !important;
}

.cash-page .cash-filter {
    width: 500px !important;
    display: grid !important;
    grid-template-columns: 92px 310px !important;
    gap: 12px !important;
    align-items: center !important;
    margin: 0 !important;
}

.cash-page .cash-filter label {
    color: #000 !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    line-height: 1.05 !important;
}

.cash-page .cash-date-input {
    width: 310px !important;
    min-height: 38px !important;
    height: 38px !important;
    border: 1.5px solid var(--ivinte-teal) !important;
    border-radius: 8px !important;
    padding: 5px 10px !important;
    background-color: #fff !important;
    font-size: 14px !important;
}

.cash-page .cash-filter-submit {
    display: none !important;
}

.cash-page .cash-pdf-callout,
.cash-page .report-pdf-callout {
    display: inline-grid !important;
    grid-template-columns: auto 160px !important;
    justify-self: end !important;
    align-items: center !important;
    gap: 16px !important;
    color: #000 !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    line-height: 1.06 !important;
}

.cash-page .report-pdf-button {
    width: 160px !important;
    min-height: 38px !important;
    height: 38px !important;
    border-radius: 8px !important;
    background: var(--ivinte-teal) !important;
    color: #fff !important;
    font-size: 21px !important;
    font-weight: 900 !important;
    padding: 4px 18px !important;
}

.cash-page .cash-cards {
    display: grid !important;
    grid-template-columns: repeat(3, 280px) !important;
    width: 840px !important;
    border: 1.5px solid var(--ivinte-teal) !important;
    margin: 0 0 8px !important;
}

.cash-page .cash-cards article {
    min-height: 140px !important;
    border-right: 1.5px solid var(--ivinte-teal) !important;
    background: #fff !important;
    display: grid !important;
    align-content: start !important;
    justify-items: center !important;
}

.cash-page .cash-cards article:last-child {
    border-right: 0 !important;
}

.cash-page .cash-cards h2,
.cash-page .cash-table-title {
    width: 100% !important;
    margin: 0 !important;
    background: var(--ivinte-teal) !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    text-align: center !important;
    padding: 8px !important;
}

.cash-page .cash-cards strong {
    margin-top: 43px !important;
    color: #000 !important;
    font-size: 31px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

.cash-page .cash-table-card,
.cash-page .cash-back {
    width: 840px !important;
}

.cash-page .cash-table-title {
    min-height: 32px !important;
    height: 32px !important;
    padding: 6px 8px !important;
}

.cash-page .cash-head,
.cash-page .cash-row {
    display: grid !important;
    grid-template-columns: 1fr 1.15fr 2fr 1fr 1.2fr !important;
    align-items: center !important;
}

.cash-page .cash-head {
    min-height: 28px !important;
    height: 28px !important;
    padding: 0 10px !important;
    border: 1.5px solid var(--ivinte-teal) !important;
    border-top: 0 !important;
    background: #fff !important;
    color: #000 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

.cash-page .cash-body {
    min-height: 215px !important;
    max-height: 215px !important;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    padding: 12px 10px 10px !important;
    background: #fff !important;
    scrollbar-color: var(--ivinte-teal) #ffffff;
    scrollbar-width: auto;
}

.cash-page .cash-body::-webkit-scrollbar,
.users-list-page .users-body::-webkit-scrollbar {
    width: 31px;
}

.cash-page .cash-body::-webkit-scrollbar-track,
.users-list-page .users-body::-webkit-scrollbar-track {
    background: #fff;
    border: 1px solid var(--ivinte-teal);
    border-radius: 999px;
}

.cash-page .cash-body::-webkit-scrollbar-thumb,
.users-list-page .users-body::-webkit-scrollbar-thumb {
    background: var(--ivinte-teal);
    border: 7px solid #fff;
    border-radius: 999px;
}

.cash-page .cash-row {
    min-height: 32px !important;
    color: #555 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
}

.cash-page .cash-back {
    display: flex !important;
    justify-content: flex-end !important;
    margin-top: 22px !important;
}

.cash-page .screen-back-button,
.users-list-page .screen-back-button {
    width: 220px !important;
    min-height: 43px !important;
    height: 43px !important;
    border-radius: 8px !important;
    background: var(--ivinte-red) !important;
    color: #fff !important;
    font-size: 23px !important;
    font-weight: 900 !important;
    padding: 4px 18px !important;
}

.users-list-page .users-container {
    width: min(1480px, calc(100% - 80px)) !important;
    margin: 125px 0 70px 40px !important;
}

.users-list-page .users-alert {
    width: min(760px, 100%) !important;
    margin-bottom: 16px !important;
}

.users-list-page .users-table-card,
.users-list-page .users-back {
    width: min(1480px, 100%) !important;
}

.users-list-page .users-head,
.users-list-page .users-row {
    display: grid !important;
    grid-template-columns: 1.25fr .85fr 1fr 2.35fr !important;
    align-items: center !important;
}

.users-list-page .users-head {
    min-height: 38px !important;
    height: 38px !important;
    padding: 0 14px !important;
    border: 1.5px solid var(--ivinte-teal) !important;
    background: #fff !important;
    color: #000 !important;
    font-size: 17px !important;
    font-weight: 500 !important;
}

.users-list-page .users-body {
    min-height: 340px !important;
    max-height: 340px !important;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    padding: 24px 10px 10px 14px !important;
    background: #fff !important;
    scrollbar-color: var(--ivinte-teal) #ffffff;
    scrollbar-width: auto;
}

.users-list-page .users-row {
    min-height: 32px !important;
    color: #555 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
}

.users-list-page .users-back {
    display: flex !important;
    justify-content: flex-end !important;
    margin-top: 32px !important;
}

.report-page .report-alert {
    width: min(760px, 100%) !important;
    margin: 0 0 16px !important;
}

@media (max-width: 1280px) and (min-width: 901px) {
    .cash-page .cash-container,
    .users-list-page .users-container {
        width: calc(100% - 64px) !important;
        margin-left: 32px !important;
    }

    .cash-page .cash-toolbar {
        grid-template-columns: 1fr !important;
    }

    .cash-page .cash-pdf-callout,
    .cash-page .report-pdf-callout {
        justify-self: start !important;
    }
}

@media (max-width: 900px) {
    .cash-page .page-title-line,
    .cash-page .dashboard-header,
    .cash-page .centered-header,
    .users-list-page .page-title-line,
    .users-list-page .dashboard-header,
    .users-list-page .centered-header {
        min-height: 76px !important;
        height: auto !important;
        padding: 0 16px 0 54px !important;
    }

    .cash-page .page-title-line h1,
    .cash-page .dashboard-header h1,
    .cash-page .centered-header h1,
    .users-list-page .page-title-line h1,
    .users-list-page .dashboard-header h1,
    .users-list-page .centered-header h1 {
        font-size: 23px !important;
    }

    .cash-page .cash-container,
    .users-list-page .users-container {
        width: calc(100% - 28px) !important;
        margin: 24px 14px 56px !important;
    }

    .cash-page .cash-toolbar,
    .cash-page .cash-filter,
    .cash-page .cash-pdf-callout,
    .cash-page .report-pdf-callout,
    .cash-page .cash-cards,
    .cash-page .cash-head,
    .cash-page .cash-row,
    .users-list-page .users-head,
    .users-list-page .users-row {
        width: 100% !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .cash-page .cash-date-input,
    .cash-page .report-pdf-button,
    .cash-page .screen-back-button,
    .users-list-page .screen-back-button {
        width: 100% !important;
    }

    .cash-page .cash-table-card,
    .cash-page .cash-back,
    .users-list-page .users-table-card,
    .users-list-page .users-back {
        width: 100% !important;
    }

    .cash-page .cash-cards article {
        border-right: 0 !important;
        border-bottom: 1.5px solid var(--ivinte-teal) !important;
    }

    .cash-page .cash-cards article:last-child {
        border-bottom: 0 !important;
    }

    .cash-page .cash-head,
    .users-list-page .users-head {
        display: none !important;
    }

    .cash-page .cash-body,
    .users-list-page .users-body {
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        padding: 0 !important;
    }

    .cash-page .cash-row,
    .users-list-page .users-row {
        border: 1px solid var(--ivinte-teal) !important;
        border-radius: 12px !important;
        padding: 12px !important;
        margin-bottom: 12px !important;
        color: #000 !important;
    }

    .cash-page .cash-row > span:nth-child(1)::before { content: "Venda Nº: "; font-weight: 900; }
    .cash-page .cash-row > span:nth-child(2)::before { content: "Data do Pedido: "; font-weight: 900; }
    .cash-page .cash-row > span:nth-child(3)::before { content: "Produto Vendido: "; font-weight: 900; }
    .cash-page .cash-row > span:nth-child(4)::before { content: "Quantidade: "; font-weight: 900; }
    .cash-page .cash-row > span:nth-child(5)::before { content: "Valor R$: "; font-weight: 900; }

    .users-list-page .users-row > span:nth-child(1)::before { content: "E-mail: "; font-weight: 900; }
    .users-list-page .users-row > span:nth-child(2)::before { content: "Status: "; font-weight: 900; }
    .users-list-page .users-row > span:nth-child(3)::before { content: "Senha: "; font-weight: 900; }
    .users-list-page .users-row > span:nth-child(4)::before { content: "Permissões: "; font-weight: 900; }

    .cash-page .cash-back,
    .users-list-page .users-back {
        justify-content: stretch !important;
        margin-top: 24px !important;
    }
}

/* ===== Ajuste 34 - Botão Excluir em Usuários do Sistema ===== */
.users-list-page .users-head,
.users-list-page .users-row {
    grid-template-columns: 1.15fr .72fr .82fr 2fr 130px !important;
    column-gap: 10px !important;
}

.users-list-page .users-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.users-list-page .users-delete-form {
    display: inline-flex !important;
    margin: 0 !important;
    padding: 0 !important;
}

.users-list-page .users-delete-btn {
    width: 96px !important;
    min-height: 24px !important;
    height: 24px !important;
    border: 0 !important;
    border-radius: 5px !important;
    background: var(--ivinte-red) !important;
    color: #fff !important;
    cursor: pointer !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    padding: 4px 12px !important;
}

.users-list-page .users-delete-btn:hover {
    filter: brightness(.95);
}

@media (max-width: 900px) {
    .users-list-page .users-actions,
    .users-list-page .users-delete-form,
    .users-list-page .users-delete-btn {
        width: 100% !important;
    }

    .users-list-page .users-row > span:nth-child(5)::before {
        content: "Ações: ";
        font-weight: 900;
    }
}

/* ===== Ajuste 37 - Status dos Pedidos e senhas protegidas ===== */
.secure-password-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    background: rgba(0, 0, 0, .34) !important;
}

.secure-password-modal {
    width: min(390px, 100%) !important;
    border: 1.5px solid var(--ivinte-teal, #18b8b5) !important;
    border-radius: 18px !important;
    background: #fff !important;
    padding: 24px !important;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .22) !important;
    color: #000 !important;
    text-align: center !important;
}

.secure-password-modal h2 {
    margin: 0 0 12px !important;
    color: var(--ivinte-teal, #18b8b5) !important;
    font-size: 24px !important;
    font-weight: 900 !important;
}

.secure-password-modal p {
    margin: 0 0 18px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

.secure-password-input {
    width: 100% !important;
    min-height: 42px !important;
    border: 1.5px solid var(--ivinte-teal, #18b8b5) !important;
    border-radius: 10px !important;
    padding: 8px 12px !important;
    text-align: center !important;
    font-size: 16px !important;
}

.secure-password-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    margin-top: 18px !important;
}

.secure-password-actions .btn {
    min-height: 39px !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 900 !important;
}

.secure-password-confirm {
    background: var(--ivinte-teal, #18b8b5) !important;
}

.status-screen-final .dashboard-header,
.status-screen-final .centered-header {
    min-height: 108px !important;
    height: 108px !important;
    padding: 0 10px !important;
    background: var(--ivinte-teal, #18b8b5) !important;
    color: #fff !important;
    justify-content: flex-start !important;
    text-align: left !important;
}

.status-screen-final .dashboard-header h1,
.status-screen-final .centered-header h1 {
    color: #fff !important;
    font-size: 31px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: -.3px !important;
}

.status-screen-final .status-container {
    position: relative !important;
    width: min(1520px, calc(100% - 80px)) !important;
    margin: 118px 0 70px 40px !important;
    padding: 0 !important;
}

.status-screen-final .status-report-pdf {
    position: absolute !important;
    top: -52px !important;
    right: 0 !important;
    float: none !important;
    display: grid !important;
    grid-template-columns: auto 160px !important;
    align-items: center !important;
    gap: 14px !important;
    margin: 0 !important;
    color: #000 !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    line-height: 1.07 !important;
}

.status-screen-final .status-report-pdf .report-pdf-button {
    width: 160px !important;
    min-height: 32px !important;
    height: 32px !important;
    border-radius: 7px !important;
    background: var(--ivinte-teal, #18b8b5) !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    padding: 4px 18px !important;
}

.status-screen-final .status-table-card {
    width: min(1520px, 100%) !important;
    margin: 0 !important;
}

.status-screen-final .status-table-head,
.status-screen-final .status-row {
    display: grid !important;
    grid-template-columns: 62px 235px 95px 180px minmax(820px, 1fr) !important;
    align-items: center !important;
}

.status-screen-final .status-table-head {
    min-height: 29px !important;
    height: 29px !important;
    padding: 0 14px !important;
    border: 1.5px solid var(--ivinte-teal, #18b8b5) !important;
    background: #fff !important;
    color: #111 !important;
    font-size: 14px !important;
    font-weight: 900 !important;
}

.status-screen-final .status-table-body {
    max-height: 132px !important;
    overflow-y: auto !important;
    padding: 8px 10px 8px 14px !important;
    background: #fff !important;
}

.status-screen-final .status-row {
    min-height: 28px !important;
    color: #000 !important;
    font-size: 12px !important;
    line-height: 1.05 !important;
}

.status-screen-final .status-badge {
    gap: 7px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #111 !important;
}

.status-screen-final .status-badge > span {
    width: 13px !important;
    height: 13px !important;
}

.status-screen-final .status-flow {
    display: grid !important;
    grid-template-columns: auto 20px 54px auto 20px auto auto 20px auto auto 20px auto !important;
    align-items: center !important;
    gap: 8px !important;
    white-space: nowrap !important;
}

.status-screen-final .status-stage,
.status-screen-final .status-stage-current {
    min-height: 18px !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #000 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

.status-screen-final .status-check {
    width: 19px !important;
    height: 19px !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
}

.status-screen-final .status-date {
    color: #777 !important;
    font-size: 8px !important;
    font-weight: 700 !important;
    line-height: 1.05 !important;
}

.status-screen-final .status-back-wrap {
    display: flex !important;
    justify-content: flex-start !important;
    margin-top: 139px !important;
}

.status-screen-final .status-back-button {
    width: 148px !important;
    min-height: 30px !important;
    height: 30px !important;
    border-radius: 7px !important;
    background: var(--ivinte-red, #e51b2a) !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    padding: 4px 16px !important;
}

@media (max-width: 1400px) and (min-width: 901px) {
    .status-screen-final .status-container {
        width: calc(100% - 64px) !important;
        margin-left: 32px !important;
    }
    .status-screen-final .status-table-card {
        overflow-x: auto !important;
    }
    .status-screen-final .status-table-head,
    .status-screen-final .status-row {
        min-width: 1180px !important;
    }
}

@media (max-width: 900px) {
    .secure-password-actions,
    .status-screen-final .status-table-head,
    .status-screen-final .status-row,
    .status-screen-final .status-flow,
    .status-screen-final .status-report-pdf {
        grid-template-columns: 1fr !important;
    }
    .status-screen-final .status-container {
        width: calc(100% - 28px) !important;
        margin: 24px 14px 56px !important;
    }
    .status-screen-final .status-report-pdf {
        position: static !important;
        margin: 0 0 18px !important;
        justify-items: start !important;
    }
    .status-screen-final .status-report-pdf .report-pdf-button,
    .status-screen-final .status-back-button {
        width: 100% !important;
    }
    .status-screen-final .status-table-head {
        display: none !important;
    }
    .status-screen-final .status-row {
        border: 1px solid var(--ivinte-teal, #18b8b5) !important;
        border-radius: 12px !important;
        padding: 12px !important;
        margin-bottom: 12px !important;
        gap: 8px !important;
        font-size: 14px !important;
    }
    .status-screen-final .status-table-body {
        max-height: none !important;
        padding: 0 !important;
    }
    .status-screen-final .status-flow {
        white-space: normal !important;
    }
    .status-screen-final .status-back-wrap {
        justify-content: stretch !important;
        margin-top: 26px !important;
    }
}

/* ===== Ajuste 38 - exclusões nos relatórios e telas compactas ===== */
@media (min-width: 901px) {
    .budget-page .budget-container,
    .new-order-page .order-v2-container,
    .product-screen-final .product-v2-container,
    .system-user-page .system-user-container {
        zoom: .92;
    }

    .budget-page .budget-container,
    .new-order-page .order-v2-container,
    .product-screen-final .product-v2-container,
    .system-user-page .system-user-container {
        transform-origin: top left;
    }
}

.budget-page input,
.budget-page select,
.budget-page textarea,
.new-order-page input,
.new-order-page select,
.new-order-page textarea,
.product-screen-final input,
.product-screen-final select,
.product-screen-final textarea,
.system-user-page input,
.system-user-page select,
.system-user-page textarea {
    font-size: 13px !important;
}

.budget-page .btn,
.new-order-page .btn,
.product-screen-final .btn,
.system-user-page .btn {
    font-size: 13px !important;
}

.service-order-page .service-back-wrap {
    justify-content: flex-start !important;
    margin-top: 34px !important;
}

.service-order-page .service-back-button {
    width: 170px !important;
    min-height: 34px !important;
    height: 34px !important;
    border-radius: 7px !important;
    font-size: 17px !important;
    padding: 5px 16px !important;
}

.report-page .mini-actions form {
    display: inline-flex !important;
}

@media (max-width: 900px) {
    .service-order-page .service-back-wrap {
        justify-content: stretch !important;
    }

    .service-order-page .service-back-button {
        width: 100% !important;
    }
}
