    /* RESET */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Inter', sans-serif;
    }

    /* VARIÁVEIS */
    :root {
        --primary: #3494e9;
        --primary-hover: #66aae6;
        --success: #16a34a;
        --danger: #dc2626;

        --bg: #f1f1f1;
        --card: #ffffff;
        --text: #1f2937;
        --border: #d9d9d9;
        ;
        --muted: #83868b;

        --radius: 8px;
        --gutter: 8px;

        --space-0: 0px;
        --space-5: 5px;
        --space-10: 10px;
        --space-15: 15px;
        --space-20: 20px;
        --space-30: 30px;
        --space-40: 40px;
        --space-50: 50px;
    }

    /* BODY */
    body {
        background: var(--bg);
        color: var(--text);
    }

    /* CONTAINER */
    .container {
        max-width: 1300px;
        margin: auto;
    }

    /* CARD */
    .card {
        background: var(--card);
        border-radius: var(--radius);
        padding: 5px 25px;
        margin-bottom: 20px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    }

    .box {
        border-radius: 10px;
        padding: 5px 25px;
        margin-bottom: 20px;
        border: 2px solid #ddd;
    }


    /* GRID */
    .row {
        display: flex;
        flex-wrap: wrap;
        margin-left: calc(var(--gutter) * -1);
        margin-right: calc(var(--gutter) * -1);
    }

    .row-login {
        height: 100vh;
    }

    [class*="col-"] {
        padding: var(--gutter);
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .col {
        flex: 0 0 auto;
        width: auto;
    }

    .col-2 {
        flex: 0 0 16.6667%;
        max-width: 16.6667%;
    }

    .col-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-4 {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }

    .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-8 {
        flex: 0 0 66.6667%;
        max-width: 66.6667%;
    }

    .col-10 {
        flex: 0 0 83.3333%;
        max-width: 83.3333%;
    }


    .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    @media(max-width:768px) {
        [class*="col-"] {
            flex: 0 0 100%;
        }
    }


    .w-10 {
        width: 10px;
    }

    .w-20 {
        width: 20px;
    }

    .w-30 {
        width: 30px;
    }

    .w-40 {
        width: 40px;
    }

    .w-50 {
        width: 50px;
    }

    .w-60 {
        width: 60px;
    }

    .w-70 {
        width: 70px;
    }

    .w-80 {
        width: 80px;
    }

    .w-90 {
        width: 90px;
    }

    .w-100 {
        width: 100px;
    }

    .w-130 {
        width: 130px;
    }


    .w-150 {
        width: 150px;
    }

    .w-200 {
        width: 200px;
    }


    /* INPUTS */
    .input-group {
        margin-bottom: 10px;
    }

    label {
        font-size: 14px;
        font-weight: 500;
        margin-bottom: 6px;
        display: block;
        margin-left: 4px;
    }

    input,
    select,
    textarea {
        width: 100%;
        padding: 10px;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        font-size: 14px;
        background: #fdfdfd;
    }

    input:focus,
    select:focus,
    textarea:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
        outline: none;
    }


    .append-input {
        background: #e1e1e1;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 39px;
        position: absolute;
        top: 33px;
        right: -28px;
        border-top: solid 1px #d9d9d9;
        border-right: solid 1px #d9d9d9;
        border-bottom: solid 1px #d9d9d9;
        border-radius: 0 6px 6px 0;
        font-size: 14px;
        padding-left: 10px;
        padding-right: 10px;
        min-width: 40px;
    }

    /* pai do input recebe relative */

    .append-area {
        position: relative;
    }

    /* CHECKBOX/RADIO */
    .input-inline {
        display: flex;
        align-items: center;
        padding-top: 26px;
    }

    .input-inline input {
        margin-right: 1px;
    }

    .input-inline label {
        margin-top: 5px;
        margin-right: 13px;
    }

    .sem-padding-top{
        padding-top: 0 !important;
    }


    .checkbox-personalizado {
        border: solid 1px #ddd;
        border-radius: 8px;
        padding: 6px 9px;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 5px;
        margin-right: 10px;
    }

    .checkbox-personalizado label {
        margin: 0;
    }

    input[type="checkbox"],
    input[type="radio"] {
        width: auto;
    }

    .swal2-select {
        width: auto;
    }

    .mensagem-area {
        height: 100%;
        color: #47a7c3;
        background: #f7fdff;
        padding: 18px;
        font-size: 12px;
        border-radius: 8px;
        border: solid 1px #abe3fb;
        display: flex;
        flex-direction: column;
        gap: 7px;
    }

    .row-break {
        flex: 0 0 100%;
        max-width: 100%;
        height: 0;
    }

    /* BOTÕES (CORRIGIDO) */
    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 18px;
        border-radius: var(--radius);
        border: none;
        cursor: pointer;
        font-weight: 500;
        transition: 0.2s;
        margin-right: 10px;
        height: 38px;
        font-size: 13px;
        text-decoration: none;
    }

    .btn-em-linha {
        margin-top: 33px;
    }

    .btn-primary {
        background: var(--primary);
        color: #fff;
    }

    .btn-primary:hover {
        background: var(--primary-hover);
    }

    .btn-success {
        background: var(--success);
        color: #fff;
    }

    .btn-danger {
        background: var(--danger);
        color: #fff;
    }

    .btn-light {
        background: #ebd55b;
        color: #fff;
    }

    .btn-gray {
        background: var(--muted);
        color: #fff;
    }

    .btn svg {
        width: 19px;
        height: 19px;
        margin-right: 2px;
        left: -5px;
        position: relative;
    }

    .usuario-icone {
        color: #ffffff;
        border: solid 1px #ddd;
        border-radius: 50%;
        height: 35px !important;
        width: 35px;
        background: #3494e9;
        padding: 6px;
    }

    .logo-area {
        display: flex;
    }

    .none {
        display: none !important;
    }

    /* TABLE */
    .table {
        width: 100%;

        border: 1px solid var(--border);
        border-radius: var(--radius);
        overflow: hidden;
    }

    .table th {
        background: #f9fafb;
        padding: 12px;
        font-size: 12px;
        text-transform: uppercase;
        text-align: start;
    }

    .table td {
        padding: 8px;
        border-top: 1px solid var(--border);
        border-right: 1px solid var(--border);
    }

    .table td:last-child {
        border-right: none;
    }

    .table tr:hover {
        background: #f9fafb;
    }

    /* BADGE */
    .badge {
        padding: 5px 10px;
        border-radius: 20px;
        font-size: 12px;
    }

    .badge-success {
        background: #dcfce7;
    }

    .badge-danger {
        background: #fee2e2;
    }

    /* ALERT */
    .alert {
        padding: 10px;
        border-radius: var(--radius);
        margin-bottom: 10px;
    }

    .alert-success {
        background: #dcfce7;
    }

    .alert-danger {
        background: #fee2e2;
    }

    /* UTILITÁRIOS (COMPLETO) */

    /* PADDING */

    .pt-0 {
        padding-top: 0px !important;
    }

    .pb-0 {
        padding-bottom: 0px !important;
    }

    .p-10 {
        padding: var(--space-10);
    }

    .p-20 {
        padding: var(--space-20);
    }

    .pt-10 {
        padding-top: var(--space-10);
    }

    .pt-20 {
        padding-top: var(--space-20);
    }

    .pt-30 {
        padding-top: var(--space-30);
    }

    .pt-40 {
        padding-top: var(--space-40);
    }

    .pb-10 {
        padding-bottom: var(--space-10);
    }

    .pb-20 {
        padding-bottom: var(--space-20);
    }

    .pl-10 {
        padding-left: var(--space-10);
    }

    .pl-20 {
        padding-left: var(--space-20);
    }

    .pr-10 {
        padding-right: var(--space-10);
    }

    .pr-20 {
        padding-right: var(--space-20);
    }

    .px-20 {
        padding-left: var(--space-20);
        padding-right: var(--space-20);
    }

    .py-20 {
        padding-top: var(--space-20);
        padding-bottom: var(--space-20);
    }

    /* MARGIN */
    .mt-10 {
        margin-top: var(--space-10);
    }

    .mt-20 {
        margin-top: var(--space-20);
    }

     .mt-30 {
        margin-top: var(--space-30);
    }

    .mb-10 {
        margin-bottom: var(--space-10);
    }

    .mb-20 {
        margin-bottom: var(--space-20);
    }

    .mt-btn {
        margin-top: 22px;
    }

    /* FLEX */
    .flex {
        display: flex;
    }

    .flex-between {
        display: flex;
        justify-content: space-between;
    }

    /* CHOICES */
    .choices__inner {
        border-radius: var(--radius);
        border: 1px solid var(--border);

        min-height: 20px !important;

        height: 39px;
        border-radius: 7px !important;
        background: #fdfdfd;
    }

    /* FORÇA padrão igual input */
    .choices[data-type*="select-one"] .choices__inner {
        padding: 10px !important;
        height: 38px !important;
        min-height: 38px !important;

        border-radius: var(--radius) !important;
        border: 1px solid var(--border) !important;
        background: #fdfdfd !important;

        display: flex;
        align-items: center;
    }

    .item-centro {
        display: flex;
        justify-content: center;
        align-items: center;
    }



    .item-direita {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .texto-centro {
        text-align: center;
    }

    .texto-12 {
        font-size: 12px;
    }

    .texto-13 {
        font-size: 13px;
    }

    .texto-14 {
        font-size: 14px;
    }

    .texto-15 {
        font-size: 15px;
    }

    .texto-16 {
        font-size: 16px;
    }

    .texto-17 {
        font-size: 17px;
    }

    .texto-18 {
        font-size: 18px;
    }

    .texto-19 {
        font-size: 19px;
    }

    .texto-20 {
        font-size: 20px;
    }

    .texto-21 {
        font-size: 21px;
    }



    /* NAVBAR BASE */
    .navbar {
        background: #fff;
        border-bottom: 1px solid var(--border);

        margin-bottom: 10px;
    }

    .navbar-logo {
        display: flex;
        align-items: center;
    }

    .navbar-logo img {
        display: block;
        height: 28px;
    }

    .navbar-container {
        max-width: 1300px;
        margin: auto;
        display: flex;
        justify-content: space-between;
        padding: 0px 20px;
    }

    /* MENU */
    .navbar-menu {
        display: flex;
        list-style: none;
        gap: 5px;
        align-items: center;
    }

    .navbar-menu li {
        position: relative;
        list-style: none;
    }

    .navbar-menu a {
        text-decoration: none;
        padding: 8px;
        display: block;
        color: var(--text);
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .navbar-menu a:hover {
        color: var(--primary);
    }

    .navbar-menu a svg {
        height: 19px;
    }

    /* SUBMENU BASE */
    .submenu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        border: 1px solid var(--border);
        min-width: 180px;
        border-radius: 6px;
        z-index: 1000;
    }

    /* SUBMENU LATERAL (NÍVEIS) */
    .submenu .submenu {
        top: 0;
        left: 100%;
    }

    /* SHOW */
    .has-submenu:hover>.submenu {
        display: block;
    }

    /* ITEM */
    .submenu li a {
        padding: 10px;
    }

    /* MOBILE */
    .navbar-toggle {
        display: none;
    }

    @media(max-width:768px) {

        .navbar-menu {
            display: none;
            flex-direction: column;
            width: 100%;
        }

        .navbar-menu.active {
            display: flex;
        }

        .submenu {
            position: relative;
            border: none;
        }

        .submenu .submenu {
            left: 0;
        }

        .navbar-toggle {
            display: block;
        }

    }




    .acoes {
        display: flex;
        justify-content: space-around;
        gap: 8px;
    }

    .btn-acao {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 25px;
        height: 25px;
        border-radius: 6px;
        text-decoration: none;
        cursor: pointer;
        transition: 0.2s;
    }

    .btn-acao svg {
        width: 18px;
        height: 18px;
    }

    .btn-acao.editar {
        background: #e3f2fd;
        color: #1976d2;
    }

    .btn-acao.editar:hover {
        background: #bbdefb;
    }

    .btn-acao.excluir,
    .btn-acao.excluir-pn,
    .btn-acao.excluir-sku,
    .btn-acao.excluir-equipamento {
        background: #fdecea;
        color: #d32f2f;
    }

    .btn-acao.excluir:hover {
        background: #ffcdd2;
    }

    .acoes-1-btns {
        width: 40px;
    }

    .acoes-2-btns {
        width: 80px;
    }

    .linha-entrada {
        background: #c7edff;
    }

    .linha-perda {
        background: #ffbebe;
    }

    .linha-saida {
        background: #f3ffbe;
    }

    .linha-venda {
        background: #beffce;
    }

    .linha-transferencia {
        background: #bfbeff;
    }

    .password_strength {
        margin-top: 5px;
        font-size: 13px;
        font-weight: bold;
    }

    .password_strength.fraca {
        color: red;
    }

    .password_strength.media {
        color: orange;
    }

    .password_strength.forte {
        color: green;
    }


    .pagination {
        display: flex;
        list-style: none;
        padding: 0;
        gap: 5px;
    }

    .pagination li {
        display: inline-block;
    }

    .pagination li a {
        display: block;
        padding: 6px 12px;
        text-decoration: none;
        color: #333;
        border: 1px solid #ddd;
        border-radius: 4px;
        transition: 0.2s;
    }

    /* hover */
    .pagination li a:hover {
        background-color: #f5f5f5;
        border-color: #ccc;
    }

    /* ativo */
    .pagination li.active a {
        background-color: #007bff;
        color: #fff;
        border-color: #007bff;
        font-weight: bold;
    }

    /* desabilitado (se usar depois) */
    .pagination li.disabled a {
        color: #999;
        pointer-events: none;
        background-color: #f9f9f9;
    }


    .th_sort {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        text-decoration: none;
        font-weight: 500;
        color: var(--text);
    }

    .th_sort:hover {
        color: #000;
    }

    .icon_sort {
        width: 15px;
        height: 15px;
        color: #bbb;
        transition: 0.2s;
    }

    /* 🔥 ativo (verde) */
    .icon_sort.active {
        color: #28a745;
    }


    .search-results {
        border: 1px solid #ddd;
        background: #fff;
        position: absolute;
        width: fit-content;
        z-index: 999;
        max-height: 300px;
        overflow-y: auto;
    }

    .search-results div {
        padding: 8px;
        cursor: pointer;
    }

    .search-results div:hover {
        background: #f2f2f2;
    }

    .none {
        display: none;
    }

    .upload-box {
        border: 2px dashed #ccc;
        padding: 20px;
        text-align: center;
        background: #fdfdfd;
        cursor: pointer;
    }

    .upload-box.dragging {
        background: #f0f8ff;
    }

    .upload-box p {
        color: #3494e9;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        font-size: 18px;
    }

    .upload-list {
        margin-top: 10px;
        display: flex;
        flex-wrap: wrap;
        /* 🔥 melhora visual */
        gap: 10px;
    }

    .upload_item {
        display: flex;
        background: #f5f5f5;
        padding: 6px 10px;
        font-size: 13px;
        border-radius: 4px;
        flex-direction: column;
        border-radius: 8px;
    }

    .upload_item_area_1 {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 5px;
    }

    .upload_item input {
        font-size: 12px;
        height: 28px;
    }

    .upload_item a {
        text-decoration: none;
        color: #333;
    }

    .upload_item .download-icone {
        width: 15px;
        height: 15px;
        color: #3494ea;
        top: 2px;
        position: relative;
    }

    .remove-file {
        border: none;
        background: none;
        padding: 0;
    }

    .remove-file svg {
        color: red;
        cursor: pointer;
        width: 17px;
        height: 17px;
    }



    .multi-select-container {
        position: relative;
        width: 100%;
    }

    .multi-select-dropdown {
        position: absolute;
        width: 100%;
        border: 1px solid #ccc;
        background: #fff;
        max-height: 250px;
        overflow-y: auto;
        display: none;
        z-index: 10;
    }

    .multi-select-dropdown.ativo {
        display: block;
    }

    .multi-select-search {
        width: 100%;
        padding: 6px;
        border: none;
        border-bottom: 1px solid #ccc;
        outline: none;
        border-radius: 0px;
        margin-bottom: 5px;
    }

    .multi-select-item {
        display: flex;
        gap: 8px;
        padding: 2px 6px;
        cursor: pointer;
        font-size: 14px;
    }

    .multi-select-item:hover {
        background: #f0f0f0;
    }

    .multi-select-button {
        padding: 10px 13px;
        cursor: pointer;
        height: 39px;
        position: relative;
        padding-right: 30px;
        width: 100%;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        font-size: 14px;
        background: #fdfdfd;
    }

    /* seta */
    .multi-select-button::after {
        content: '';
        position: absolute;
        right: 10px;
        top: 46%;
        width: 6px;
        height: 6px;
        border-right: 2px solid #666;
        border-bottom: 2px solid #666;
        transform: translateY(-50%) rotate(45deg);
        transition: 0.2s;
    }

    /* gira quando aberto */
    .multi-select-dropdown.ativo+.multi-select-button::after,
    .multi-select-button.ativo::after {
        transform: translateY(-50%) rotate(-135deg);
        top: 57%;
    }

    .hidden_select {
        position: absolute;
        opacity: 0;
        width: 1px;
        height: 1px;
        pointer-events: none;
    }


    .cards-resumo {
        display: flex;
        gap: 20px;
        justify-content: space-between;
        width: 100%;
    }

    .card-info {
        border-radius: 10px;
        width: -webkit-fill-available;
        height: 121px;
        padding: 23px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .card-info h3 {
        font-size: 36px;
    }

    .card-info span {
        display: block;
        color: #454545;
    }

    .card-info.card-verde {
        background: #edf5ef;
    }

    .card-info.card-verde h3 {
        color: #16a34a;
    }

    .card-info.card-azul {
        background: #eaf1f7;
    }

    .card-info.card-azul h3 {
        color: #1976d2;
    }

    .card-info.card-amarelo {
        background: #fbf1df;
    }

    .card-info.card-amarelo h3 {
        color: #d98800;
    }

    .card-info.card-vermelho {
        background: #f8e8e8;
    }

    .card-info.card-vermelho h3 {
        color: #d32f2f;
    }


    .dropdown-pn {
        position: absolute;
        background: #fff;
        border: 1px solid #ddd;
        width: 100%;
        max-height: 200px;
        overflow-y: auto;
        display: none;
        z-index: 10;
    }

    .dropdown-pn div {
        padding: 7px;
        cursor: pointer;
        font-size: 14px;
    }

    .dropdown-pn div:hover {
        background: #f0f0f0;
    }


    #carrega-lista-pn,
    #carrega-lista-sku,
    #carrega-lista-equipamento {

        position: absolute;
        top: 44px;
        right: 15px;
        cursor: pointer;
        width: 20px;
        height: 20px;
        color: #666;
    }

    .tabela-part-numbers {
        background: #fdfdfd;
    }