/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ============================================================
   DRATEC ENGENHARIA
   MAIN LAYOUT
   ============================================================ */

.app-container[b-fsn0ig6tme] {
    width: 100%;
    height: 100vh;
    display: flex;
    overflow: hidden;
    background: #061725;
    color: #fff;
}


/* ============================================================
   SIDEBAR
   ============================================================ */

.sidebar[b-fsn0ig6tme] {
    width: 255px;
    min-width: 255px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #071b2a;
    border-right: 1px solid #14384a;
    transition: width .25s ease, min-width .25s ease;
}


/* ============================================================
   LOGO DRATEC
   ============================================================ */

.sidebar-header[b-fsn0ig6tme] {
    height: 116px;
    min-height: 116px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.sidebar-logo[b-fsn0ig6tme] {
    width: 100%;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-full[b-fsn0ig6tme] {
    width: 100%;
    display: flex;
    align-items: center;
}

.dratec-logo-full[b-fsn0ig6tme] {
    display: block;
    width: 165px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.logo-mini[b-fsn0ig6tme] {
    display: none;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.dratec-logo-mini[b-fsn0ig6tme] {
    display: block;
    width: 58px;
    max-width: none;
    height: auto;
    object-fit: contain;
}


/* ============================================================
   NAVEGAÇÃO
   ============================================================ */

.sidebar-navigation[b-fsn0ig6tme] {
    min-height: 0;
    flex: 1;
    padding: 0 12px 12px;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #36576a transparent;
}

    .sidebar-navigation[b-fsn0ig6tme]::-webkit-scrollbar {
        width: 5px;
    }

    .sidebar-navigation[b-fsn0ig6tme]::-webkit-scrollbar-track {
        background: transparent;
    }

    .sidebar-navigation[b-fsn0ig6tme]::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background: #36576a;
    }


/* ============================================================
   TÍTULOS DO MENU
   ============================================================ */

.menu-title[b-fsn0ig6tme] {
    height: 29px;
    padding: 0 12px;
    display: flex;
    align-items: center;
}

.menu-title-text[b-fsn0ig6tme] {
    color: #04d9d4;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .2px;
}

.section-title[b-fsn0ig6tme] {
    margin-top: 1px;
}

.sidebar-section-divider[b-fsn0ig6tme] {
    height: 1px;
    margin: 9px 10px 7px;
    background: #15384a;
}


/* ============================================================
   ITENS DO MENU
   ============================================================ */

.sidebar-menu[b-fsn0ig6tme] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.menu-item[b-fsn0ig6tme] {
    width: 100%;
    height: 42px;
    padding: 0 13px;
    display: flex;
    align-items: center;
    gap: 13px;
    border-radius: 7px;
    background: transparent;
    color: #b9ccd7 !important;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

    .menu-item:link[b-fsn0ig6tme],
    .menu-item:visited[b-fsn0ig6tme],
    .menu-item:active[b-fsn0ig6tme] {
        color: #b9ccd7 !important;
        text-decoration: none !important;
    }

    .menu-item:hover[b-fsn0ig6tme] {
        background: #0a3042;
        color: #ffffff !important;
        text-decoration: none !important;
    }


    /* ============================================================
   MENU ATIVO
   ============================================================ */

    .menu-item.active[b-fsn0ig6tme] {
        background: #0c6973;
        color: #ffffff !important;
    }

        .menu-item.active .menu-icon[b-fsn0ig6tme] {
            color: #ffffff;
        }

        .menu-item.active:hover[b-fsn0ig6tme] {
            background: #0d747e;
        }


/* ============================================================
   ÍCONES
   ============================================================ */

.menu-icon[b-fsn0ig6tme] {
    width: 22px;
    min-width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8ba7b7;
}

    .menu-icon svg[b-fsn0ig6tme] {
        width: 18px;
        height: 18px;
        display: block;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.menu-text[b-fsn0ig6tme] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ============================================================
   RODAPÉ DA SIDEBAR
   ============================================================ */

.sidebar-bottom[b-fsn0ig6tme] {
    flex: 0 0 auto;
    padding: 9px 12px 16px;
    background: #071b2a;
    border-top: 1px solid rgba(21, 56, 74, .65);
}

    .sidebar-bottom > .menu-item[b-fsn0ig6tme] {
        margin-bottom: 9px;
    }


/* ============================================================
   STATUS
   ============================================================ */

.system-status[b-fsn0ig6tme] {
    min-height: 23px;
    margin: 0 13px;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #2bd991;
    font-size: 9px;
}

.status-dot[b-fsn0ig6tme] {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #20e58c;
    box-shadow: 0 0 8px rgba(32, 229, 140, .4);
}


/* ============================================================
   COPYRIGHT
   ============================================================ */

.system-version[b-fsn0ig6tme] {
    margin: 6px 13px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #55788c;
    font-size: 7px;
    line-height: 1.4;
    white-space: nowrap;
}

.developer-text[b-fsn0ig6tme] {
    color: #3f657a;
    font-size: 6.5px;
}


/* ============================================================
   ÁREA PRINCIPAL
   ============================================================ */

.main-area[b-fsn0ig6tme] {
    min-width: 0;
    height: 100vh;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #061725;
}


/* ============================================================
   TOPBAR
   ============================================================ */

.topbar[b-fsn0ig6tme] {
    width: 100%;
    height: 94px;
    min-height: 94px;
    padding: 0 31px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: #061725;
    border-bottom: 1px solid #17384a;
}


/* ============================================================
   TOPBAR ESQUERDA
   ============================================================ */

.topbar-left[b-fsn0ig6tme] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 22px;
}


/* ============================================================
   BOTÃO DO MENU
   ============================================================ */

.sidebar-toggle[b-fsn0ig6tme] {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 1px solid #16465c;
    border-radius: 8px;
    background: #082237;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}

    .sidebar-toggle:hover[b-fsn0ig6tme] {
        background: #0b2d43;
        border-color: #1b6079;
    }

.hamburger-line[b-fsn0ig6tme] {
    width: 14px;
    height: 1.5px;
    display: block;
    border-radius: 2px;
    background: #779cad;
}


/* ============================================================
   TÍTULO DO SISTEMA
   ============================================================ */

.topbar-title[b-fsn0ig6tme] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

    .topbar-title strong[b-fsn0ig6tme] {
        color: #f4f7f9;
        font-family: "Segoe UI", Arial, sans-serif;
        font-size: 17px;
        font-weight: 600;
        line-height: 1;
        letter-spacing: .1px;
        white-space: nowrap;
    }

    .topbar-title span[b-fsn0ig6tme] {
        color: #02d6cf;
        font-family: "Segoe UI", Arial, sans-serif;
        font-size: 9px;
        line-height: 1;
    }


/* ============================================================
   TOPBAR DIREITA
   ============================================================ */

.topbar-right[b-fsn0ig6tme] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 17px;
}


/* ============================================================
   NOTIFICAÇÕES
   ============================================================ */

.notification-button[b-fsn0ig6tme] {
    position: relative;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #a9beca;
    cursor: pointer;
    transition: background .15s ease;
}

    .notification-button:hover[b-fsn0ig6tme] {
        background: rgba(255, 255, 255, .035);
    }

.bell-icon[b-fsn0ig6tme] {
    width: 23px;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .bell-icon svg[b-fsn0ig6tme] {
        width: 21px;
        height: 21px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.notification-count[b-fsn0ig6tme] {
    position: absolute;
    top: -2px;
    right: -3px;
    min-width: 19px;
    height: 19px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #061725;
    border-radius: 20px;
    background: #f04458;
    color: #ffffff;
    font-size: 7px;
    font-weight: 700;
}


/* ============================================================
   USUÁRIO
   ============================================================ */

.user-area[b-fsn0ig6tme] {
    min-width: 163px;
    height: 52px;
    padding: 0 13px;
    display: flex;
    align-items: center;
    gap: 11px;
    border: 1px solid #173e53;
    border-radius: 9px;
    background: #081e30;
}

.user-avatar[b-fsn0ig6tme] {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #254d65;
    border-radius: 50%;
    background: #18364d;
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
}

.user-info[b-fsn0ig6tme] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .user-info strong[b-fsn0ig6tme] {
        color: #f1f5f7;
        font-size: 10px;
        font-weight: 600;
        line-height: 1;
    }

    .user-info span[b-fsn0ig6tme] {
        color: #678b9e;
        font-size: 7.5px;
        line-height: 1;
        white-space: nowrap;
    }


/* ============================================================
   VERSÃO
   ============================================================ */

.app-version[b-fsn0ig6tme] {
    color: #62869a;
    font-size: 8px;
    white-space: nowrap;
}


/* ============================================================
   CONTEÚDO
   ============================================================ */

.content-area[b-fsn0ig6tme] {
    min-width: 0;
    min-height: 0;
    flex: 1;
    overflow-x: hidden;
    overflow-y: auto;
    background: radial-gradient( circle at 75% 15%, rgba(0, 210, 205, .018), transparent 32rem ), #061725;
}

    .content-area[b-fsn0ig6tme]::-webkit-scrollbar {
        width: 8px;
    }

    .content-area[b-fsn0ig6tme]::-webkit-scrollbar-track {
        background: #061725;
    }

    .content-area[b-fsn0ig6tme]::-webkit-scrollbar-thumb {
        border: 2px solid #061725;
        border-radius: 10px;
        background: #4b6879;
    }


/* ============================================================
   SIDEBAR RECOLHIDA
   ============================================================ */

.sidebar.sidebar-collapsed[b-fsn0ig6tme] {
    width: 72px;
    min-width: 72px;
}


/* LOGO RECOLHIDA */

.sidebar-collapsed .sidebar-header[b-fsn0ig6tme] {
    height: 94px;
    min-height: 94px;
    padding: 0;
    justify-content: center;
}

.sidebar-collapsed .sidebar-logo[b-fsn0ig6tme] {
    justify-content: center;
}

.sidebar-collapsed .logo-full[b-fsn0ig6tme] {
    display: none;
}

.sidebar-collapsed .logo-mini[b-fsn0ig6tme] {
    display: flex;
}


/* NAVEGAÇÃO RECOLHIDA */

.sidebar-collapsed .sidebar-navigation[b-fsn0ig6tme] {
    padding-left: 9px;
    padding-right: 9px;
}

.sidebar-collapsed .menu-title[b-fsn0ig6tme] {
    display: none;
}

.sidebar-collapsed .sidebar-section-divider[b-fsn0ig6tme] {
    margin: 9px 12px;
}

.sidebar-collapsed .sidebar-menu[b-fsn0ig6tme] {
    gap: 3px;
}

.sidebar-collapsed .menu-item[b-fsn0ig6tme] {
    width: 100%;
    height: 44px;
    padding: 0;
    justify-content: center;
    gap: 0;
}

.sidebar-collapsed .menu-icon[b-fsn0ig6tme] {
    width: 100%;
    min-width: 0;
}

.sidebar-collapsed .menu-text[b-fsn0ig6tme] {
    display: none;
}


/* RODAPÉ RECOLHIDO */

.sidebar-collapsed .sidebar-bottom[b-fsn0ig6tme] {
    padding-left: 9px;
    padding-right: 9px;
}

    .sidebar-collapsed .sidebar-bottom > .menu-item[b-fsn0ig6tme] {
        margin-bottom: 8px;
    }

.sidebar-collapsed .system-status[b-fsn0ig6tme] {
    margin: 0;
    justify-content: center;
}

.sidebar-collapsed .status-text[b-fsn0ig6tme] {
    display: none;
}

.sidebar-collapsed .system-version[b-fsn0ig6tme] {
    display: none;
}


/* ============================================================
   BLAZOR ERROR UI
   ============================================================ */

#blazor-error-ui[b-fsn0ig6tme] {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    padding: 12px 20px;
    background: #b32121;
    color: #ffffff;
    font-size: 12px;
}

    #blazor-error-ui .reload[b-fsn0ig6tme] {
        margin-left: 10px;
        color: #ffffff !important;
        text-decoration: underline !important;
    }

    #blazor-error-ui .dismiss[b-fsn0ig6tme] {
        position: absolute;
        right: 15px;
        cursor: pointer;
    }


/* ============================================================
   RESPONSIVIDADE - NOTEBOOK
   ============================================================ */

@media (max-width: 1200px) {

    .topbar[b-fsn0ig6tme] {
        padding-left: 24px;
        padding-right: 24px;
    }

    .topbar-left[b-fsn0ig6tme] {
        gap: 17px;
    }

    .topbar-title strong[b-fsn0ig6tme] {
        font-size: 15px;
    }

    .topbar-right[b-fsn0ig6tme] {
        gap: 12px;
    }

    .app-version[b-fsn0ig6tme] {
        display: none;
    }
}


/* ============================================================
   RESPONSIVIDADE - TABLET
   ============================================================ */

@media (max-width: 900px) {

    .sidebar[b-fsn0ig6tme] {
        width: 72px;
        min-width: 72px;
    }

        .sidebar .sidebar-header[b-fsn0ig6tme] {
            height: 94px;
            min-height: 94px;
            padding: 0;
            justify-content: center;
        }

        .sidebar .logo-full[b-fsn0ig6tme] {
            display: none;
        }

        .sidebar .logo-mini[b-fsn0ig6tme] {
            display: flex;
        }

        .sidebar .sidebar-navigation[b-fsn0ig6tme] {
            padding-left: 9px;
            padding-right: 9px;
        }

        .sidebar .menu-title[b-fsn0ig6tme] {
            display: none;
        }

        .sidebar .sidebar-section-divider[b-fsn0ig6tme] {
            margin: 9px 12px;
        }

        .sidebar .menu-item[b-fsn0ig6tme] {
            height: 44px;
            padding: 0;
            justify-content: center;
            gap: 0;
        }

        .sidebar .menu-icon[b-fsn0ig6tme] {
            width: 100%;
            min-width: 0;
        }

        .sidebar .menu-text[b-fsn0ig6tme] {
            display: none;
        }

        .sidebar .system-status[b-fsn0ig6tme] {
            margin: 0;
            justify-content: center;
        }

        .sidebar .status-text[b-fsn0ig6tme],
        .sidebar .system-version[b-fsn0ig6tme] {
            display: none;
        }

    .topbar[b-fsn0ig6tme] {
        height: 82px;
        min-height: 82px;
        padding: 0 18px;
    }

    .topbar-title strong[b-fsn0ig6tme] {
        font-size: 13px;
    }

    .topbar-title span[b-fsn0ig6tme] {
        font-size: 8px;
    }
}


/* ============================================================
   RESPONSIVIDADE - CELULAR
   ============================================================ */

@media (max-width: 650px) {

    .sidebar[b-fsn0ig6tme] {
        width: 62px;
        min-width: 62px;
    }

        .sidebar.sidebar-collapsed[b-fsn0ig6tme] {
            width: 62px;
            min-width: 62px;
        }

    .logo-mini[b-fsn0ig6tme] {
        width: 44px;
        height: 44px;
    }

    .dratec-logo-mini[b-fsn0ig6tme] {
        width: 52px;
    }

    .topbar[b-fsn0ig6tme] {
        padding: 0 12px;
    }

    .topbar-left[b-fsn0ig6tme] {
        gap: 11px;
    }

    .sidebar-toggle[b-fsn0ig6tme] {
        width: 35px;
        height: 35px;
        flex-basis: 35px;
    }

    .topbar-title strong[b-fsn0ig6tme] {
        font-size: 11px;
    }

    .topbar-title span[b-fsn0ig6tme] {
        display: none;
    }

    .notification-button[b-fsn0ig6tme] {
        display: none;
    }

    .user-area[b-fsn0ig6tme] {
        width: 42px;
        min-width: 42px;
        height: 42px;
        padding: 0;
        justify-content: center;
        border: 0;
        background: transparent;
    }

    .user-avatar[b-fsn0ig6tme] {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .user-info[b-fsn0ig6tme] {
        display: none;
    }
}


/* ============================================================
   SIDEBAR — ACABAMENTO WPF DEFINITIVO
   ============================================================ */

.sidebar[b-fsn0ig6tme] {
    width: 255px;
    min-width: 255px;
    background: #071b2a;
}

.sidebar-header[b-fsn0ig6tme] {
    height: 132px;
    min-height: 132px;
    padding: 0 22px;
}

.dratec-logo-full[b-fsn0ig6tme] {
    width: 162px;
}

/* No WPF, navegação ocupa toda a largura útil da sidebar */
.sidebar-navigation[b-fsn0ig6tme] {
    padding: 7px 10px 12px;
}

.menu-title[b-fsn0ig6tme] {
    height: 30px;
    padding: 0 12px;
}

.menu-title-text[b-fsn0ig6tme] {
    font-size: 9px;
    font-weight: 600;
}

/*
   IMPORTANTE:
   Blazor CSS isolation pode reescrever seletores do componente.
   ::deep garante que o <a> renderizado pelo NavLink receba o layout.
*/
[b-fsn0ig6tme] .sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 100%;
}

[b-fsn0ig6tme] a.menu-item {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 40px;
    min-height: 40px;
    padding: 0 13px;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 13px !important;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #d8e4ea !important;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
}

    [b-fsn0ig6tme] a.menu-item:hover {
        background: #0a3042;
        color: #ffffff !important;
    }

    [b-fsn0ig6tme] a.menu-item.active {
        background: #0d6973 !important;
        color: #ffffff !important;
    }

        [b-fsn0ig6tme] a.menu-item.active:hover {
            background: #0d747e !important;
        }

    [b-fsn0ig6tme] a.menu-item > .menu-icon {
        width: 25px !important;
        min-width: 25px !important;
        height: 25px !important;
        flex: 0 0 25px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #a9bdc8;
    }

        [b-fsn0ig6tme] a.menu-item > .menu-icon svg {
            width: 19px !important;
            height: 19px !important;
            display: block;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.8;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

    [b-fsn0ig6tme] a.menu-item > .menu-text {
        width: auto !important;
        min-width: 0;
        height: auto !important;
        flex: 1 1 auto !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden;
        text-overflow: ellipsis;
        color: inherit;
        line-height: 40px !important;
        text-align: left !important;
    }

    [b-fsn0ig6tme] a.menu-item.active > .menu-icon {
        color: #ffffff !important;
    }

.sidebar-section-divider[b-fsn0ig6tme] {
    margin: 9px 11px 7px;
}

/* Rodapé visual do WPF */
.sidebar-bottom[b-fsn0ig6tme] {
    padding: 8px 22px 14px;
}

.system-status[b-fsn0ig6tme] {
    margin: 0;
}

/* MENU RECOLHIDO */
.sidebar.sidebar-collapsed[b-fsn0ig6tme] {
    width: 72px;
    min-width: 72px;
}

.sidebar-collapsed .sidebar-navigation[b-fsn0ig6tme] {
    padding-left: 9px;
    padding-right: 9px;
}

[b-fsn0ig6tme] .sidebar-collapsed a.menu-item {
    width: 100%;
    height: 44px;
    min-height: 44px;
    padding: 0 !important;
    justify-content: center !important;
    gap: 0 !important;
}

    [b-fsn0ig6tme] .sidebar-collapsed a.menu-item > .menu-icon {
        width: 100% !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }

    [b-fsn0ig6tme] .sidebar-collapsed a.menu-item > .menu-text {
        display: none !important;
    }

/* Em telas menores mantém o comportamento compacto já existente */
@media (max-width: 900px) {
    [b-fsn0ig6tme] .sidebar a.menu-item {
        height: 44px;
        min-height: 44px;
        padding: 0 !important;
        justify-content: center !important;
        gap: 0 !important;
    }

        [b-fsn0ig6tme] .sidebar a.menu-item > .menu-icon {
            width: 100% !important;
            min-width: 0 !important;
            flex: 1 1 auto !important;
        }

        [b-fsn0ig6tme] .sidebar a.menu-item > .menu-text {
            display: none !important;
        }
}

/* ============================================================
   DRATEC - MOBILE RESPONSIVO
   Afeta somente celulares
   ============================================================ */

@media (max-width: 650px) {

    /* Estrutura principal */
    .app-container[b-fsn0ig6tme] {
        position: relative;
        width: 100%;
        height: 100dvh;
        overflow: hidden;
    }

    /* ========================================================
       SIDEBAR MOBILE
       ======================================================== */

    .sidebar[b-fsn0ig6tme] {
        position: fixed !important;
        top: 0;
        left: 0;
        bottom: 0;
        width: 255px !important;
        min-width: 255px !important;
        height: 100dvh;
        z-index: 3000;
        background: #071b2a;
        transform: translateX(0);
        transition: transform .25s ease;
        box-shadow: 12px 0 35px rgba(0, 0, 0, .35);
    }

        /*
       No celular usamos sidebar-collapsed como
       estado FECHADO do menu.
    */
        .sidebar.sidebar-collapsed[b-fsn0ig6tme] {
            width: 255px !important;
            min-width: 255px !important;
            transform: translateX(-100%);
        }

            /* ========================================================
       LOGO MOBILE
       ======================================================== */

            .sidebar .sidebar-header[b-fsn0ig6tme],
            .sidebar.sidebar-collapsed .sidebar-header[b-fsn0ig6tme] {
                height: 110px;
                min-height: 110px;
                padding: 0 20px;
                justify-content: flex-start;
            }

            .sidebar .sidebar-logo[b-fsn0ig6tme],
            .sidebar.sidebar-collapsed .sidebar-logo[b-fsn0ig6tme] {
                justify-content: flex-start;
            }

            .sidebar .logo-full[b-fsn0ig6tme],
            .sidebar.sidebar-collapsed .logo-full[b-fsn0ig6tme] {
                display: flex;
            }

            .sidebar .logo-mini[b-fsn0ig6tme],
            .sidebar.sidebar-collapsed .logo-mini[b-fsn0ig6tme] {
                display: none;
            }

        .sidebar .dratec-logo-full[b-fsn0ig6tme] {
            width: 160px;
        }

        /* ========================================================
       NAVEGAÇÃO MOBILE
       ======================================================== */

        .sidebar .sidebar-navigation[b-fsn0ig6tme],
        .sidebar.sidebar-collapsed .sidebar-navigation[b-fsn0ig6tme] {
            padding: 7px 10px 12px;
        }

        .sidebar .menu-title[b-fsn0ig6tme],
        .sidebar.sidebar-collapsed .menu-title[b-fsn0ig6tme] {
            display: flex;
        }

        .sidebar .sidebar-section-divider[b-fsn0ig6tme],
        .sidebar.sidebar-collapsed .sidebar-section-divider[b-fsn0ig6tme] {
            margin: 9px 11px 7px;
        }

    [b-fsn0ig6tme] .sidebar a.menu-item,
    [b-fsn0ig6tme] .sidebar.sidebar-collapsed a.menu-item {
        width: 100%;
        height: 44px;
        min-height: 44px;
        padding: 0 13px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 13px !important;
    }

        [b-fsn0ig6tme] .sidebar a.menu-item > .menu-icon,
        [b-fsn0ig6tme] .sidebar.sidebar-collapsed a.menu-item > .menu-icon {
            width: 25px !important;
            min-width: 25px !important;
            height: 25px !important;
            flex: 0 0 25px !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
        }

        [b-fsn0ig6tme] .sidebar a.menu-item > .menu-text,
        [b-fsn0ig6tme] .sidebar.sidebar-collapsed a.menu-item > .menu-text {
            width: auto !important;
            min-width: 0;
            display: block !important;
            flex: 1 1 auto !important;
            line-height: 44px !important;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

    /* ========================================================
       RODAPÉ DA SIDEBAR
       ======================================================== */

    .sidebar .sidebar-bottom[b-fsn0ig6tme],
    .sidebar.sidebar-collapsed .sidebar-bottom[b-fsn0ig6tme] {
        padding: 8px 20px 14px;
    }

    .sidebar .system-status[b-fsn0ig6tme],
    .sidebar.sidebar-collapsed .system-status[b-fsn0ig6tme] {
        margin: 0;
        justify-content: flex-start;
    }

    .sidebar .status-text[b-fsn0ig6tme],
    .sidebar.sidebar-collapsed .status-text[b-fsn0ig6tme] {
        display: inline;
    }

    .sidebar .system-version[b-fsn0ig6tme],
    .sidebar.sidebar-collapsed .system-version[b-fsn0ig6tme] {
        display: flex;
    }

    /* ========================================================
       ÁREA PRINCIPAL
       ======================================================== */

    .main-area[b-fsn0ig6tme] {
        width: 100%;
        min-width: 0;
        height: 100dvh;
        flex: 1 1 100%;
    }

    /* ========================================================
       CABEÇALHO MOBILE
       ======================================================== */

    .topbar[b-fsn0ig6tme] {
        width: 100%;
        height: 68px;
        min-height: 68px;
        padding: 0 10px;
        gap: 8px;
    }

    .topbar-left[b-fsn0ig6tme] {
        min-width: 0;
        flex: 1 1 auto;
        gap: 10px;
    }

    .sidebar-toggle[b-fsn0ig6tme] {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
    }

    .topbar-title[b-fsn0ig6tme] {
        min-width: 0;
        gap: 4px;
    }

        .topbar-title strong[b-fsn0ig6tme] {
            max-width: 170px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-size: 11px;
        }

        .topbar-title span[b-fsn0ig6tme] {
            display: none;
        }

    .topbar-right[b-fsn0ig6tme] {
        flex: 0 0 auto;
        gap: 5px;
    }

    /* Sino volta a aparecer no celular */
    .notification-button[b-fsn0ig6tme] {
        display: flex;
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
    }

    .bell-icon[b-fsn0ig6tme] {
        width: 20px;
        height: 20px;
    }

        .bell-icon svg[b-fsn0ig6tme] {
            width: 19px;
            height: 19px;
        }

    /* Usuário compacto */
    .user-area[b-fsn0ig6tme] {
        width: 38px;
        min-width: 38px;
        height: 38px;
        padding: 0;
        justify-content: center;
        border: 0;
        background: transparent;
    }

    .user-avatar[b-fsn0ig6tme] {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
    }

    .user-info[b-fsn0ig6tme] {
        display: none;
    }

    .user-chevron[b-fsn0ig6tme] {
        display: none;
    }

    .app-version[b-fsn0ig6tme] {
        display: none;
    }

    /* Dropdown não pode sair da tela */
    .user-dropdown[b-fsn0ig6tme] {
        position: fixed;
        top: 62px;
        right: 8px;
        width: min(265px, calc(100vw - 16px));
        z-index: 4000;
    }

    /* ========================================================
       CONTEÚDO
       ======================================================== */

    .content-area[b-fsn0ig6tme] {
        width: 100%;
        min-width: 0;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ============================================================
   CELULARES MUITO PEQUENOS
   ============================================================ */

@media (max-width: 390px) {

    .topbar[b-fsn0ig6tme] {
        padding-left: 8px;
        padding-right: 8px;
    }

    .topbar-left[b-fsn0ig6tme] {
        gap: 7px;
    }

    .topbar-title strong[b-fsn0ig6tme] {
        max-width: 125px;
        font-size: 10px;
    }

    .topbar-right[b-fsn0ig6tme] {
        gap: 2px;
    }

    .notification-button[b-fsn0ig6tme] {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .user-area[b-fsn0ig6tme] {
        width: 35px;
        min-width: 35px;
        height: 35px;
    }

    .user-avatar[b-fsn0ig6tme] {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }
}


/* ============================================================
   LOGO DRATEC NO CABEÇALHO
   Substitui apenas o antigo título do sistema.
   ============================================================ */

.topbar-brand[b-fsn0ig6tme] {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.topbar-logo[b-fsn0ig6tme] {
    display: block;
    width: 154px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 900px) {
    .topbar-logo[b-fsn0ig6tme] {
        width: 132px;
    }
}

@media (max-width: 650px) {
    .topbar-brand[b-fsn0ig6tme] {
        flex: 0 1 auto;
        overflow: hidden;
    }

    .topbar-logo[b-fsn0ig6tme] {
        width: 105px;
        max-width: 105px;
    }
}

@media (max-width: 390px) {
    .topbar-logo[b-fsn0ig6tme] {
        width: 88px;
        max-width: 88px;
    }
}

/* ============================================================
   ÍCONE DRATEC - SIDEBAR
   Substitui somente a logo horizontal da barra lateral.
   ============================================================ */

.sidebar-header[b-fsn0ig6tme] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-logo[b-fsn0ig6tme] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-dratec-icon[b-fsn0ig6tme] {
    display: block;
    width: 78px;
    height: 78px;
    object-fit: contain;
    border-radius: 18px;
    transition: width .25s ease, height .25s ease, transform .18s ease;
}

    .sidebar-dratec-icon:hover[b-fsn0ig6tme] {
        transform: scale(1.04);
    }

.sidebar.sidebar-collapsed .sidebar-dratec-icon[b-fsn0ig6tme] {
    width: 46px;
    height: 46px;
    border-radius: 12px;
}

@media (max-width: 900px) and (min-width: 651px) {
    .sidebar .sidebar-dratec-icon[b-fsn0ig6tme],
    .sidebar.sidebar-collapsed .sidebar-dratec-icon[b-fsn0ig6tme] {
        width: 46px;
        height: 46px;
        border-radius: 12px;
    }
}

@media (max-width: 650px) {
    .sidebar .sidebar-header[b-fsn0ig6tme],
    .sidebar.sidebar-collapsed .sidebar-header[b-fsn0ig6tme] {
        height: 105px;
        min-height: 105px;
        padding: 0;
        justify-content: center;
    }

    .sidebar .sidebar-logo[b-fsn0ig6tme],
    .sidebar.sidebar-collapsed .sidebar-logo[b-fsn0ig6tme] {
        justify-content: center;
    }

    .sidebar .sidebar-dratec-icon[b-fsn0ig6tme],
    .sidebar.sidebar-collapsed .sidebar-dratec-icon[b-fsn0ig6tme] {
        width: 68px;
        height: 68px;
        border-radius: 16px;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-cmes3odajz],
.components-reconnect-repeated-attempt-visible[b-cmes3odajz],
.components-reconnect-failed-visible[b-cmes3odajz],
.components-pause-visible[b-cmes3odajz],
.components-resume-failed-visible[b-cmes3odajz],
.components-rejoining-animation[b-cmes3odajz] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-cmes3odajz],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-cmes3odajz],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-cmes3odajz],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-cmes3odajz],
#components-reconnect-modal.components-reconnect-retrying[b-cmes3odajz],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-cmes3odajz],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-cmes3odajz],
#components-reconnect-modal.components-reconnect-failed[b-cmes3odajz],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-cmes3odajz] {
    display: block;
}


#components-reconnect-modal[b-cmes3odajz] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-cmes3odajz 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-cmes3odajz 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-cmes3odajz 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-cmes3odajz]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-cmes3odajz 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-cmes3odajz {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-cmes3odajz {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-cmes3odajz {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-cmes3odajz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-cmes3odajz] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-cmes3odajz] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-cmes3odajz] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-cmes3odajz] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-cmes3odajz] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-cmes3odajz] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-cmes3odajz 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-cmes3odajz] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-cmes3odajz {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Alertas.razor.rz.scp.css */
/* ============================================================
   DRATEC ENGENHARIA
   ALERTAS DE ESTOQUE
   ============================================================ */

.alertas-page[b-cr8qxcse84] {
    width: 100%;
    min-height: 100%;
    padding: 28px;
    background: #061725;
    color: #ffffff;
    font-family: "Segoe UI", Arial, sans-serif;
}


/* ============================================================
   CABEÇALHO
   ============================================================ */

.alertas-header[b-cr8qxcse84] {
    width: 100%;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.alertas-header-left[b-cr8qxcse84] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.alertas-icon[b-cr8qxcse84] {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #522531;
    color: #ff5367;
}

    .alertas-icon svg[b-cr8qxcse84] {
        width: 27px;
        height: 27px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.alertas-header h1[b-cr8qxcse84] {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;
}

.alertas-header p[b-cr8qxcse84] {
    margin: 0;
    color: #7eb4d0;
    font-size: 12px;
}


/* ============================================================
   BOTÃO FECHAR
   ============================================================ */

.btn-fechar[b-cr8qxcse84] {
    min-width: 110px;
    height: 42px;
    padding: 0 25px;
    border: 1px solid #173e53;
    border-radius: 8px;
    background: #0d3048;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: .15s ease;
}

    .btn-fechar:hover[b-cr8qxcse84] {
        background: #123e59;
        border-color: #205873;
    }


/* ============================================================
   RESUMO
   ============================================================ */

.resumo-alertas[b-cr8qxcse84] {
    width: 100%;
    min-height: 94px;
    margin-bottom: 18px;
    padding: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
    gap: 28px;
    border: 1px solid #16445a;
    border-radius: 11px;
    background: #092237;
}

.resumo-item[b-cr8qxcse84] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.resumo-label[b-cr8qxcse84] {
    color: #6f9bb2;
    font-size: 10px;
    font-weight: 500;
}

.numero-critico[b-cr8qxcse84] {
    color: #ff455c;
    font-size: 29px;
    font-weight: 700;
    line-height: 1;
}

.numero-repor[b-cr8qxcse84] {
    color: #ffc400;
    font-size: 29px;
    font-weight: 700;
    line-height: 1;
}

.resumo-acao[b-cr8qxcse84] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}


/* ============================================================
   BOTÃO PONTO DE PEDIDO
   ============================================================ */

.btn-pedido[b-cr8qxcse84] {
    height: 43px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 8px;
    background: #0c9c98;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: .15s ease;
}

    .btn-pedido:hover[b-cr8qxcse84] {
        background: #0bb0aa;
    }

    .btn-pedido svg[b-cr8qxcse84] {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }


/* ============================================================
   CARD DOS PRODUTOS
   ============================================================ */

.produtos-card[b-cr8qxcse84] {
    width: 100%;
    min-height: 390px;
    padding: 20px 18px 18px;
    border: 1px solid #16445a;
    border-radius: 11px;
    background: #092237;
}

    .produtos-card h2[b-cr8qxcse84] {
        margin: 0 0 20px;
        color: #00ded8;
        font-size: 12px;
        font-weight: 700;
    }


/* ============================================================
   TABELA
   ============================================================ */

.tabela-container[b-cr8qxcse84] {
    width: 100%;
    max-height: 350px;
    overflow-x: auto;
    overflow-y: auto;
    border: 1px solid #17465b;
    background: #071d2e;
}

    .tabela-container[b-cr8qxcse84]::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    .tabela-container[b-cr8qxcse84]::-webkit-scrollbar-track {
        background: #071d2e;
    }

    .tabela-container[b-cr8qxcse84]::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background: #58717f;
    }

.tabela-alertas[b-cr8qxcse84] {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

    .tabela-alertas thead[b-cr8qxcse84] {
        position: sticky;
        top: 0;
        z-index: 2;
    }

    .tabela-alertas th[b-cr8qxcse84] {
        height: 43px;
        padding: 0 12px;
        border-right: 1px solid #1c4b61;
        border-bottom: 1px solid #1c4b61;
        background: #0d3048;
        color: #81bad6;
        font-size: 10px;
        font-weight: 500;
        text-align: left;
    }

    .tabela-alertas td[b-cr8qxcse84] {
        height: 46px;
        padding: 0 12px;
        border-bottom: 1px solid #174052;
        color: #ffffff;
        font-size: 11px;
        vertical-align: middle;
    }

    .tabela-alertas tbody tr[b-cr8qxcse84] {
        transition: background .12s ease;
    }

        .tabela-alertas tbody tr:hover[b-cr8qxcse84] {
            background: #0c2c41;
        }

    .tabela-alertas th:nth-child(1)[b-cr8qxcse84],
    .tabela-alertas td:nth-child(1)[b-cr8qxcse84] {
        width: 10%;
    }

    .tabela-alertas th:nth-child(2)[b-cr8qxcse84],
    .tabela-alertas td:nth-child(2)[b-cr8qxcse84] {
        width: 38%;
    }

    .tabela-alertas th:nth-child(3)[b-cr8qxcse84],
    .tabela-alertas td:nth-child(3)[b-cr8qxcse84] {
        width: 16%;
    }

    .tabela-alertas th:nth-child(4)[b-cr8qxcse84],
    .tabela-alertas td:nth-child(4)[b-cr8qxcse84],
    .tabela-alertas th:nth-child(5)[b-cr8qxcse84],
    .tabela-alertas td:nth-child(5)[b-cr8qxcse84],
    .tabela-alertas th:nth-child(6)[b-cr8qxcse84],
    .tabela-alertas td:nth-child(6)[b-cr8qxcse84] {
        width: 12%;
    }

.codigo[b-cr8qxcse84] {
    color: #d8f6ff !important;
}

.produto[b-cr8qxcse84] {
    font-weight: 500;
}

.quantidade-repor[b-cr8qxcse84] {
    color: #ffc400 !important;
    font-weight: 700;
}


/* ============================================================
   SEM PRODUTOS CRÍTICOS
   ============================================================ */

.estado-vazio[b-cr8qxcse84] {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #78a9c1;
    font-size: 13px;
}

.estado-ok[b-cr8qxcse84] {
    flex-direction: column;
    gap: 8px;
}

    .estado-ok .ok-icon[b-cr8qxcse84] {
        width: 48px;
        height: 48px;
        margin-bottom: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(27, 213, 129, .12);
        color: #24db8a;
        font-size: 25px;
        font-weight: 700;
    }

    .estado-ok strong[b-cr8qxcse84] {
        color: #ffffff;
        font-size: 15px;
    }

    .estado-ok span[b-cr8qxcse84] {
        color: #6d9bb2;
        font-size: 11px;
    }


/* ============================================================
   RODAPÉ
   ============================================================ */

.alertas-footer[b-cr8qxcse84] {
    width: 100%;
    padding-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #53798e;
    font-size: 9px;
}


/* ============================================================
   RESPONSIVIDADE
   ============================================================ */

@media (max-width: 900px) {

    .alertas-page[b-cr8qxcse84] {
        padding: 20px;
    }

    .resumo-alertas[b-cr8qxcse84] {
        grid-template-columns: 1fr 1fr;
    }

    .resumo-acao[b-cr8qxcse84] {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 650px) {

    .alertas-page[b-cr8qxcse84] {
        padding: 15px;
    }

    .alertas-header[b-cr8qxcse84] {
        align-items: flex-start;
    }

        .alertas-header h1[b-cr8qxcse84] {
            font-size: 19px;
        }

    .alertas-icon[b-cr8qxcse84] {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .btn-fechar[b-cr8qxcse84] {
        min-width: 80px;
        padding: 0 14px;
    }

    .resumo-alertas[b-cr8qxcse84] {
        grid-template-columns: 1fr;
    }

    .resumo-acao[b-cr8qxcse84] {
        grid-column: auto;
    }

    .alertas-footer[b-cr8qxcse84] {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* /Components/Pages/EditarProduto.razor.rz.scp.css */
/* ============================================================
   EDITAR PRODUTO
   Dratec Engenharia
   Visual inspirado na tela WPF
   ============================================================ */


/* ============================================================
   PÁGINA
   ============================================================ */

.editar-produto-page[b-qsu9buui9o] {
    width: 100%;
    min-height: calc(100vh - 95px);
    padding: 28px;
    box-sizing: border-box;
    background: #061b2a;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #ffffff;
}


/* ============================================================
   CONTAINER PRINCIPAL
   ============================================================ */

.editar-produto-container[b-qsu9buui9o] {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
}


/* ============================================================
   CABEÇALHO
   ============================================================ */

.editar-header[b-qsu9buui9o] {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}


.editar-header-icon[b-qsu9buui9o] {
    width: 54px;
    height: 54px;
    min-width: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #0c6c78;
    color: #00e3dd;
    font-size: 27px;
    font-weight: 700;
}


.editar-header-text[b-qsu9buui9o] {
    display: flex;
    flex-direction: column;
    justify-content: center;
}


    .editar-header-text h1[b-qsu9buui9o] {
        margin: 0;
        color: #ffffff;
        font-size: 26px;
        font-weight: 700;
        line-height: 1.15;
    }


    .editar-header-text p[b-qsu9buui9o] {
        margin: 7px 0 0;
        color: #8ebbd0;
        font-size: 13px;
        font-weight: 400;
    }


/* ============================================================
   CARD DO FORMULÁRIO
   ============================================================ */

.editar-card[b-qsu9buui9o] {
    width: 100%;
    padding: 30px 32px 34px;
    box-sizing: border-box;
    background: #0b2b3e;
    border: 1px solid #15516b;
    border-radius: 13px;
}


/* ============================================================
   GRID
   ============================================================ */

.editar-grid[b-qsu9buui9o] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px;
    margin-bottom: 22px;
}


    .editar-grid:last-child[b-qsu9buui9o] {
        margin-bottom: 0;
    }


/* ============================================================
   CAMPOS
   ============================================================ */

.editar-field[b-qsu9buui9o] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}


    .editar-field label[b-qsu9buui9o] {
        margin-bottom: 8px;
        color: #00e1dd;
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
    }


    /* ============================================================
   INPUTS
   ============================================================ */

    .editar-field input[b-qsu9buui9o] {
        width: 100%;
        height: 45px;
        box-sizing: border-box;
        padding: 0 14px;
        outline: none;
        border: 1px solid #275b72;
        border-radius: 0;
        background: #061d2c;
        color: #ffffff;
        font-family: "Segoe UI", Arial, sans-serif;
        font-size: 14px;
        font-weight: 500;
        transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
    }


        .editar-field input:hover[b-qsu9buui9o] {
            border-color: #34728d;
        }


        .editar-field input:focus[b-qsu9buui9o] {
            border-color: #00bcb8;
            background: #071f2f;
            box-shadow: 0 0 0 1px rgba(0, 188, 184, .18);
        }


        .editar-field input[b-qsu9buui9o]::placeholder {
            color: #52788b;
            font-weight: 400;
        }


        /* ============================================================
   INPUT NUMBER
   ============================================================ */

        .editar-field input[type="number"][b-qsu9buui9o] {
            appearance: textfield;
            -moz-appearance: textfield;
        }


            .editar-field input[type="number"][b-qsu9buui9o]::-webkit-inner-spin-button,
            .editar-field input[type="number"][b-qsu9buui9o]::-webkit-outer-spin-button {
                -webkit-appearance: none;
                margin: 0;
            }


/* ============================================================
   CAMPO VAZIO DA APLICAÇÃO
   ============================================================ */

.editar-field-empty[b-qsu9buui9o] {
    visibility: hidden;
}


/* ============================================================
   HISTÓRICO DE PREÇOS
   ============================================================ */

.btn-historico[b-qsu9buui9o] {
    width: 100%;
    height: 45px;
    border: 1px solid transparent;
    border-radius: 2px;
    background: #123d57;
    color: #ffffff;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}


    .btn-historico:hover[b-qsu9buui9o] {
        background: #194b68;
        border-color: #28617c;
    }


    .btn-historico:active[b-qsu9buui9o] {
        background: #10374e;
    }


/* ============================================================
   BOTÕES INFERIORES
   ============================================================ */

.editar-actions[b-qsu9buui9o] {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    margin-top: 24px;
}


.btn-cancelar[b-qsu9buui9o],
.btn-salvar[b-qsu9buui9o] {
    height: 48px;
    border: none;
    border-radius: 8px;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .15s ease, transform .05s ease, opacity .15s ease;
}


/* CANCELAR */

.btn-cancelar[b-qsu9buui9o] {
    background: #123d57;
    color: #ffffff;
}


    .btn-cancelar:hover[b-qsu9buui9o] {
        background: #194b68;
    }


/* SALVAR */

.btn-salvar[b-qsu9buui9o] {
    background: #0d9c96;
    color: #ffffff;
}


    .btn-salvar:hover[b-qsu9buui9o] {
        background: #0eb0a9;
    }


    /* CLIQUE */

    .btn-cancelar:active[b-qsu9buui9o],
    .btn-salvar:active[b-qsu9buui9o] {
        transform: translateY(1px);
    }


    /* DESABILITADOS */

    .btn-cancelar:disabled[b-qsu9buui9o],
    .btn-salvar:disabled[b-qsu9buui9o] {
        opacity: .55;
        cursor: not-allowed;
    }


/* ============================================================
   MENSAGENS
   ============================================================ */

.editar-message[b-qsu9buui9o] {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 13px 15px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 500;
}


.editar-message-icon[b-qsu9buui9o] {
    width: 23px;
    height: 23px;
    min-width: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
}


/* ERRO */

.editar-message.error[b-qsu9buui9o] {
    background: rgba(255, 65, 83, .10);
    border: 1px solid rgba(255, 65, 83, .30);
    color: #ff8792;
}


    .editar-message.error
    .editar-message-icon[b-qsu9buui9o] {
        background: rgba(255, 65, 83, .18);
        color: #ff4153;
    }


/* SUCESSO */

.editar-message.success[b-qsu9buui9o] {
    background: rgba(24, 220, 150, .09);
    border: 1px solid rgba(24, 220, 150, .25);
    color: #68e9bb;
}


    .editar-message.success
    .editar-message-icon[b-qsu9buui9o] {
        background: rgba(24, 220, 150, .15);
        color: #18dc96;
    }


/* ============================================================
   CARREGANDO
   ============================================================ */

.editar-loading[b-qsu9buui9o] {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 17px;
    background: #0b2b3e;
    border: 1px solid #15516b;
    border-radius: 13px;
    color: #a3c3d2;
    font-size: 14px;
}


.loading-circle[b-qsu9buui9o] {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 4px solid #17455b;
    border-top-color: #00dcd6;
    animation: editar-loading-spin-b-qsu9buui9o .75s linear infinite;
}


@keyframes editar-loading-spin-b-qsu9buui9o {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* ============================================================
   PRODUTO NÃO ENCONTRADO
   ============================================================ */

.editar-not-found[b-qsu9buui9o] {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-sizing: border-box;
    background: #0b2b3e;
    border: 1px solid #15516b;
    border-radius: 13px;
    text-align: center;
}


.not-found-icon[b-qsu9buui9o] {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border-radius: 50%;
    background: rgba(255, 65, 83, .12);
    color: #ff4153;
    font-size: 26px;
    font-weight: 700;
}


.editar-not-found h2[b-qsu9buui9o] {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 20px;
}


.editar-not-found p[b-qsu9buui9o] {
    margin: 0 0 22px;
    color: #78a6ba;
    font-size: 13px;
}


.btn-voltar[b-qsu9buui9o] {
    height: 44px;
    padding: 0 24px;
    border: none;
    border-radius: 7px;
    background: #0d9c96;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}


    .btn-voltar:hover[b-qsu9buui9o] {
        background: #0eb0a9;
    }


/* ============================================================
   MODAL - HISTÓRICO
   ============================================================ */

.historico-overlay[b-qsu9buui9o] {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    box-sizing: border-box;
    background: rgba(0, 10, 18, .78);
    backdrop-filter: blur(2px);
}


.historico-modal[b-qsu9buui9o] {
    width: 100%;
    max-width: 650px;
    overflow: hidden;
    background: #071e2e;
    border: 1px solid #1a536b;
    border-radius: 12px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .50);
}


/* ============================================================
   MODAL HEADER
   ============================================================ */

.historico-header[b-qsu9buui9o] {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    box-sizing: border-box;
    background: #092638;
    border-bottom: 1px solid #17445a;
}


    .historico-header h2[b-qsu9buui9o] {
        margin: 0;
        color: #ffffff;
        font-size: 19px;
        font-weight: 700;
    }


    .historico-header p[b-qsu9buui9o] {
        margin: 5px 0 0;
        color: #73a9c0;
        font-size: 12px;
    }


.historico-close[b-qsu9buui9o] {
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 7px;
    background: transparent;
    color: #8fb4c4;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}


    .historico-close:hover[b-qsu9buui9o] {
        background: #123b50;
        color: #ffffff;
    }


/* ============================================================
   MODAL CONTEÚDO
   ============================================================ */

.historico-content[b-qsu9buui9o] {
    padding: 24px;
}


.historico-info[b-qsu9buui9o] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 18px;
    background: #0b3045;
    border: 1px solid #164c64;
    border-radius: 8px;
}


    .historico-info span[b-qsu9buui9o] {
        color: #00dcd6;
        font-size: 10px;
        font-weight: 700;
    }


    .historico-info strong[b-qsu9buui9o] {
        color: #ffffff;
        font-size: 18px;
        font-weight: 700;
    }


/* ============================================================
   HISTÓRICO VAZIO
   ============================================================ */

.historico-empty[b-qsu9buui9o] {
    min-height: 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #719daf;
}


.historico-empty-icon[b-qsu9buui9o] {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #0b344a;
    color: #00dcd6;
    font-size: 22px;
}


.historico-empty strong[b-qsu9buui9o] {
    margin-bottom: 6px;
    color: #ffffff;
    font-size: 14px;
}


.historico-empty p[b-qsu9buui9o] {
    max-width: 380px;
    margin: 0;
    color: #6d98aa;
    font-size: 12px;
    line-height: 1.5;
}


/* ============================================================
   MODAL FOOTER
   ============================================================ */

.historico-footer[b-qsu9buui9o] {
    display: flex;
    justify-content: flex-end;
    padding: 15px 22px;
    background: #092638;
    border-top: 1px solid #17445a;
}


.btn-fechar-historico[b-qsu9buui9o] {
    height: 40px;
    padding: 0 24px;
    border: none;
    border-radius: 6px;
    background: #123e57;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}


    .btn-fechar-historico:hover[b-qsu9buui9o] {
        background: #194d69;
    }


/* ============================================================
   RESPONSIVO
   ============================================================ */

@media (max-width: 800px) {

    .editar-produto-page[b-qsu9buui9o] {
        padding: 20px;
    }


    .editar-grid[b-qsu9buui9o] {
        grid-template-columns: 1fr;
        gap: 18px;
    }


    .editar-field-empty[b-qsu9buui9o] {
        display: none;
    }


    .editar-actions[b-qsu9buui9o] {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}


@media (max-width: 520px) {

    .editar-produto-page[b-qsu9buui9o] {
        padding: 14px;
    }


    .editar-card[b-qsu9buui9o] {
        padding: 22px 18px;
    }


    .editar-header[b-qsu9buui9o] {
        gap: 13px;
    }


    .editar-header-icon[b-qsu9buui9o] {
        width: 46px;
        height: 46px;
        min-width: 46px;
        font-size: 23px;
    }


    .editar-header-text h1[b-qsu9buui9o] {
        font-size: 21px;
    }


    .editar-header-text p[b-qsu9buui9o] {
        font-size: 11px;
    }


    .historico-overlay[b-qsu9buui9o] {
        padding: 12px;
    }
}
/* /Components/Pages/Estoque.razor.rz.scp.css */
/* =========================================================
   CONSULTAR ESTOQUE
   ========================================================= */

.estoque-page[b-tsm1anik1m] {
    width: 100%;
    min-height: calc(100vh - 95px);
    padding: 30px 28px 28px;
    color: #ffffff;
    background: #061d2c;
    box-sizing: border-box;
}


/* =========================================================
   CABEÇALHO
   ========================================================= */

.estoque-header[b-tsm1anik1m] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 20px;
}

.estoque-title h1[b-tsm1anik1m] {
    margin: 0;
    font-size: 25px;
    font-weight: 700;
    color: #ffffff;
}

.estoque-title p[b-tsm1anik1m] {
    margin: 7px 0 0;
    font-size: 13px;
    color: #75b7df;
}


/* =========================================================
   INDICADORES
   ========================================================= */

.estoque-header-right[b-tsm1anik1m] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.estoque-indicator[b-tsm1anik1m] {
    min-width: 210px;
    height: 64px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #0a2b40;
    border: 1px solid #174d69;
    border-radius: 10px;
    box-sizing: border-box;
}

.indicator-icon[b-tsm1anik1m] {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #0c6170;
    color: #00e7e7;
    font-size: 20px;
}

    .indicator-icon.green[b-tsm1anik1m] {
        background: #0c513e;
        color: #27e28c;
    }

.indicator-content[b-tsm1anik1m] {
    display: flex;
    flex-direction: column;
}

.indicator-label[b-tsm1anik1m] {
    font-size: 9px;
    text-transform: uppercase;
    color: #75a9c7;
}

.indicator-value[b-tsm1anik1m] {
    margin-top: 2px;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
}

    .indicator-value.money[b-tsm1anik1m] {
        color: #00e1df;
    }

.indicator-sub[b-tsm1anik1m] {
    margin-top: 1px;
    font-size: 9px;
    color: #23dc86;
}


/* =========================================================
   BOTÃO FECHAR
   ========================================================= */

.btn-close-page[b-tsm1anik1m] {
    height: 42px;
    min-width: 95px;
    border: 0;
    border-radius: 7px;
    background: #123c56;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.15s;
}

    .btn-close-page:hover[b-tsm1anik1m] {
        background: #18506e;
    }


/* =========================================================
   PESQUISA
   ========================================================= */

.search-panel[b-tsm1anik1m] {
    width: 100%;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #092b40;
    border: 1px solid #174c68;
    border-radius: 10px;
    box-sizing: border-box;
    margin-bottom: 12px;
}

.search-box[b-tsm1anik1m] {
    position: relative;
    flex: 1;
}

    .search-box .search-icon[b-tsm1anik1m] {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #00e4df;
        font-size: 21px;
        pointer-events: none;
    }

    .search-box input[b-tsm1anik1m] {
        width: 100%;
        height: 43px;
        padding: 0 15px 0 48px;
        background: #061f30;
        border: 1px solid #21617f;
        border-radius: 7px;
        color: #ffffff;
        outline: none;
        box-sizing: border-box;
        font-size: 13px;
    }

        .search-box input[b-tsm1anik1m]::placeholder {
            color: #5888a5;
        }

        .search-box input:focus[b-tsm1anik1m] {
            border-color: #00d8d4;
        }

.btn-refresh[b-tsm1anik1m] {
    width: 125px;
    height: 43px;
    border: 0;
    border-radius: 7px;
    background: #0c9389;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.15s;
}

    .btn-refresh:hover[b-tsm1anik1m] {
        background: #0baca0;
    }


/* =========================================================
   BARRA ACIMA DA TABELA
   ========================================================= */

.table-toolbar[b-tsm1anik1m] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0 12px;
}

.products-found[b-tsm1anik1m] {
    font-size: 12px;
    color: #65b7e6;
}

.table-actions[b-tsm1anik1m] {
    display: flex;
    align-items: center;
    gap: 9px;
}


/* =========================================================
   BOTÕES
   ========================================================= */

.btn-new[b-tsm1anik1m],
.btn-edit[b-tsm1anik1m],
.btn-delete[b-tsm1anik1m] {
    height: 39px;
    min-width: 100px;
    padding: 0 20px;
    border: 0;
    border-radius: 7px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.15s;
}

.btn-new[b-tsm1anik1m] {
    background: #07958a;
}

    .btn-new:hover[b-tsm1anik1m] {
        background: #0aae9f;
    }

.btn-edit[b-tsm1anik1m] {
    background: #143e59;
}

    .btn-edit:hover[b-tsm1anik1m] {
        background: #1a5273;
    }

.btn-delete[b-tsm1anik1m] {
    background: #8f2335;
}

    .btn-delete:hover[b-tsm1anik1m] {
        background: #a82a3e;
    }


/* =========================================================
   TABELA
   ========================================================= */

.stock-table-container[b-tsm1anik1m] {
    width: 100%;
    background: #08283c;
    border: 1px solid #174c68;
    border-radius: 10px;
    padding: 14px;
    box-sizing: border-box;
    overflow: hidden;
}

.stock-table-scroll[b-tsm1anik1m] {
    width: 100%;
    max-height: 410px;
    overflow-x: auto;
    overflow-y: auto;
}

.stock-table[b-tsm1anik1m] {
    width: 100%;
    border-collapse: collapse;
    min-width: 1000px;
    font-size: 12px;
}

    .stock-table thead[b-tsm1anik1m] {
        position: sticky;
        top: 0;
        z-index: 2;
    }

    .stock-table th[b-tsm1anik1m] {
        height: 42px;
        padding: 0 12px;
        text-align: left;
        background: #103a53;
        color: #00e5df;
        font-size: 12px;
        font-weight: 700;
        border-right: 1px solid #1b536e;
        border-bottom: 1px solid #1b536e;
    }

    .stock-table td[b-tsm1anik1m] {
        height: 43px;
        padding: 0 12px;
        color: #ffffff;
        border-bottom: 1px solid #20506a;
        white-space: nowrap;
    }

    .stock-table tbody tr[b-tsm1anik1m] {
        background: #08283c;
        cursor: pointer;
        transition: 0.12s;
    }

        .stock-table tbody tr:nth-child(even)[b-tsm1anik1m] {
            background: #0c3249;
        }

        .stock-table tbody tr:hover[b-tsm1anik1m] {
            background: #12445e;
        }

        .stock-table tbody tr.selected[b-tsm1anik1m] {
            background: #15536e;
        }


/* =========================================================
   STATUS
   ========================================================= */

.status[b-tsm1anik1m] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    height: 32px;
    padding: 0 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
}

.status-ok[b-tsm1anik1m] {
    background: #125b3d;
    color: #31e58a;
}

.status-warning[b-tsm1anik1m] {
    background: #80610a;
    color: #ffd32a;
}

.status-critical[b-tsm1anik1m] {
    background: #8b2c3c;
    color: #ff596b;
}


/* =========================================================
   PREÇO CADASTRADO
   ========================================================= */

.price-status[b-tsm1anik1m] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 32px;
    padding: 0 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
}

.price-yes[b-tsm1anik1m] {
    background: #125b3d;
    color: #31e58a;
}

.price-no[b-tsm1anik1m] {
    background: #8b2c3c;
    color: #ff596b;
}


/* =========================================================
   SCROLLBAR
   ========================================================= */

.stock-table-scroll[b-tsm1anik1m]::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.stock-table-scroll[b-tsm1anik1m]::-webkit-scrollbar-track {
    background: #061c2a;
}

.stock-table-scroll[b-tsm1anik1m]::-webkit-scrollbar-thumb {
    background: #547183;
    border-radius: 10px;
}

    .stock-table-scroll[b-tsm1anik1m]::-webkit-scrollbar-thumb:hover {
        background: #6f8c9e;
    }


/* =========================================================
   RESPONSIVIDADE
   ========================================================= */

@media (max-width: 1100px) {

    .estoque-header[b-tsm1anik1m] {
        align-items: flex-start;
        flex-direction: column;
    }

    .estoque-header-right[b-tsm1anik1m] {
        width: 100%;
        flex-wrap: wrap;
    }

    .estoque-indicator[b-tsm1anik1m] {
        flex: 1;
    }
}

@media (max-width: 800px) {

    .estoque-page[b-tsm1anik1m] {
        padding: 20px 15px;
    }

    .search-panel[b-tsm1anik1m] {
        flex-direction: column;
    }

    .btn-refresh[b-tsm1anik1m] {
        width: 100%;
    }

    .table-toolbar[b-tsm1anik1m] {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .table-actions[b-tsm1anik1m] {
        width: 100%;
    }

    .btn-new[b-tsm1anik1m],
    .btn-edit[b-tsm1anik1m],
    .btn-delete[b-tsm1anik1m] {
        flex: 1;
        padding: 0 10px;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* ============================================================
   HOME - DRATEC ESTOQUE
   Visual inspirado na versão WPF
   ============================================================ */

.wpf-home[b-ss40aacaq7] {
    width: 100%;
    padding: 28px 26px 40px 26px;
    box-sizing: border-box;
    color: #ffffff;
}

.home-loading[b-ss40aacaq7] {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5fbce9;
    font-size: 14px;
}

.welcome-panel[b-ss40aacaq7] {
    width: 100%;
    min-height: 228px;
    padding: 30px;
    box-sizing: border-box;
    background: #0b2a3d;
    border: 1px solid #174e69;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.welcome-text[b-ss40aacaq7] {
    flex: 1;
    padding-left: 2px;
}

    .welcome-text h1[b-ss40aacaq7] {
        margin: 0 0 12px 0;
        color: #ffffff;
        font-size: 27px;
        font-weight: 700;
        line-height: 1.2;
    }

    .welcome-text p[b-ss40aacaq7] {
        margin: 0;
        color: #b7d6e7;
        font-size: 14px;
        line-height: 1.65;
    }

.welcome-indicators[b-ss40aacaq7] {
    width: 540px;
    min-height: 166px;
    padding: 20px 15px;
    box-sizing: border-box;
    background: #0d3046;
    border: 1px solid #17526f;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.welcome-indicator[b-ss40aacaq7] {
    flex: 1;
    min-width: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.indicator-icon[b-ss40aacaq7] {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    line-height: 1;
}

    .indicator-icon svg[b-ss40aacaq7] {
        width: 34px;
        height: 34px;
        display: block;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.welcome-indicator strong[b-ss40aacaq7] {
    margin-top: 2px;
    color: #ffffff;
    font-size: 29px;
    font-weight: 700;
    line-height: 1.15;
}

.welcome-indicator span[b-ss40aacaq7] {
    margin-top: 5px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.welcome-indicator small[b-ss40aacaq7] {
    margin-top: 1px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    color: #58bdf0;
}

.product-icon[b-ss40aacaq7],
.product-label[b-ss40aacaq7] {
    color: #00e1df;
}

.entry-icon[b-ss40aacaq7],
.entry-label[b-ss40aacaq7] {
    color: #20df85;
}

.exit-icon[b-ss40aacaq7],
.exit-label[b-ss40aacaq7] {
    color: #ff4055;
}

.ok-icon[b-ss40aacaq7],
.ok-label[b-ss40aacaq7] {
    color: #3fa7ff;
}

.indicator-separator[b-ss40aacaq7] {
    width: 1px;
    height: 116px;
    background: #23516a;
    flex-shrink: 0;
}

.quick-section[b-ss40aacaq7] {
    margin-top: 27px;
}

    .quick-section h2[b-ss40aacaq7] {
        margin: 0 0 16px 0;
        color: #00d9dd;
        font-size: 13px;
        font-weight: 700;
    }

.wpf-quick-grid[b-ss40aacaq7] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.wpf-action-card[b-ss40aacaq7] {
    width: 100%;
    min-height: 180px;
    padding: 22px 28px;
    box-sizing: border-box;
    background: #0b2a3d;
    border: 1px solid #174e69;
    border-radius: 12px;
    color: #ffffff;
    display: flex;
    align-items: flex-start;
    gap: 23px;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

    .wpf-action-card:hover[b-ss40aacaq7] {
        background: #0d3046;
        border-color: #2181a7;
        transform: translateY(-2px);
    }

    .wpf-action-card:active[b-ss40aacaq7] {
        transform: translateY(0);
    }

.wpf-action-icon[b-ss40aacaq7] {
    width: 62px;
    height: 62px;
    min-width: 62px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    line-height: 1;
}

    .wpf-action-icon svg[b-ss40aacaq7] {
        width: 31px;
        height: 31px;
        display: block;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .wpf-action-icon.movement[b-ss40aacaq7] {
        background: #109387;
    }

    .wpf-action-icon.search[b-ss40aacaq7] {
        background: #1d67c6;
    }

    .wpf-action-icon.register[b-ss40aacaq7] {
        background: #7728cc;
    }

.wpf-action-text[b-ss40aacaq7] {
    padding-top: 2px;
    display: flex;
    flex-direction: column;
}

    .wpf-action-text strong[b-ss40aacaq7] {
        color: #ffffff;
        font-size: 20px;
        font-weight: 700;
        line-height: 1.25;
    }

    .wpf-action-text span[b-ss40aacaq7] {
        margin-top: 12px;
        color: #b7d6e7;
        font-size: 13px;
        line-height: 1.45;
    }

.wpf-bottom-grid[b-ss40aacaq7] {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 390px 1fr;
    gap: 18px;
}

.wpf-bottom-panel[b-ss40aacaq7] {
    min-height: 260px;
    padding: 21px;
    box-sizing: border-box;
    background: #0b2a3d;
    border: 1px solid #174e69;
    border-radius: 12px;
}

.bottom-title[b-ss40aacaq7] {
    color: #00d9dd;
    font-size: 13px;
    font-weight: 700;
}

.stock-status-list[b-ss40aacaq7] {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

.stock-status-row[b-ss40aacaq7] {
    min-height: 72px;
    padding: 10px 4px;
    border-bottom: 1px solid #153d52;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .stock-status-row:last-child[b-ss40aacaq7] {
        border-bottom: none;
    }

.status-left[b-ss40aacaq7] {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .status-left > div[b-ss40aacaq7] {
        display: flex;
        flex-direction: column;
    }

    .status-left strong[b-ss40aacaq7] {
        color: #ffffff;
        font-size: 13px;
        font-weight: 600;
    }

    .status-left small[b-ss40aacaq7] {
        margin-top: 3px;
        color: #6795ad;
        font-size: 10px;
    }

.status-dot[b-ss40aacaq7] {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    flex-shrink: 0;
}

    .status-dot.normal[b-ss40aacaq7] {
        background: #19d780;
    }

    .status-dot.critical[b-ss40aacaq7] {
        background: #ff4055;
    }

.status-number[b-ss40aacaq7] {
    color: #21dc86;
    font-size: 20px;
    font-weight: 700;
}

    .status-number.critical-number[b-ss40aacaq7] {
        color: #ff4055;
    }

.recent-panel[b-ss40aacaq7] {
    overflow: hidden;
}

.bottom-panel-header[b-ss40aacaq7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.see-all-button[b-ss40aacaq7] {
    padding: 0;
    border: none;
    outline: none;
    background: transparent;
    color: #38adff;
    font-size: 11px;
    cursor: pointer;
}

    .see-all-button:hover[b-ss40aacaq7] {
        color: #78caff;
        text-decoration: underline;
    }

.no-movements[b-ss40aacaq7] {
    min-height: 175px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.no-movements-icon[b-ss40aacaq7] {
    margin-bottom: 10px;
    color: #2a91c7;
    font-size: 30px;
}

.no-movements strong[b-ss40aacaq7] {
    color: #c9deea;
    font-size: 13px;
    font-weight: 600;
}

.no-movements small[b-ss40aacaq7] {
    margin-top: 5px;
    color: #5c8aa2;
    font-size: 10px;
}

.recent-table[b-ss40aacaq7] {
    width: 100%;
    margin-top: 17px;
}

.recent-table-header[b-ss40aacaq7],
.recent-table-row[b-ss40aacaq7] {
    display: grid;
    grid-template-columns: 135px 90px minmax(150px, 1fr) 70px minmax(110px, 0.8fr);
    align-items: center;
    column-gap: 10px;
}

.recent-table-header[b-ss40aacaq7] {
    min-height: 32px;
    padding: 0 9px;
    box-sizing: border-box;
    background: #0e334a;
    border-bottom: 1px solid #1a536e;
}

    .recent-table-header span[b-ss40aacaq7] {
        color: #70a9c6;
        font-size: 9px;
        font-weight: 600;
    }

.recent-table-row[b-ss40aacaq7] {
    min-height: 38px;
    padding: 0 9px;
    box-sizing: border-box;
    border-bottom: 1px solid #17445b;
}

    .recent-table-row:last-child[b-ss40aacaq7] {
        border-bottom: none;
    }

    .recent-table-row > span[b-ss40aacaq7] {
        overflow: hidden;
        color: #d7e8f0;
        font-size: 10px;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

.recent-product[b-ss40aacaq7] {
    color: #ffffff !important;
    font-weight: 600;
}

.movement-type[b-ss40aacaq7] {
    width: fit-content;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 9px !important;
    font-weight: 700;
}

    .movement-type.entrada[b-ss40aacaq7] {
        background: rgba(23, 185, 105, 0.16);
        color: #28dc87 !important;
    }

    .movement-type.saida[b-ss40aacaq7] {
        background: rgba(255, 64, 85, 0.16);
        color: #ff5265 !important;
    }

.home-error[b-ss40aacaq7] {
    margin-top: 16px;
    padding: 12px 15px;
    background: rgba(255, 64, 85, 0.12);
    border: 1px solid rgba(255, 64, 85, 0.4);
    border-radius: 8px;
    color: #ff7180;
    font-size: 12px;
}

/* ============================================================
   RESPONSIVIDADE - HOME
   Desktop permanece com o visual original.
   ============================================================ */

@media (max-width: 1200px) {
    .welcome-panel[b-ss40aacaq7] {
        flex-direction: column;
        align-items: stretch;
    }

    .welcome-indicators[b-ss40aacaq7] {
        width: 100%;
    }

    .wpf-quick-grid[b-ss40aacaq7] {
        grid-template-columns: 1fr;
    }

    .wpf-bottom-grid[b-ss40aacaq7] {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   TABLET / CELULAR
   ============================================================ */

@media (max-width: 760px) {
    .wpf-home[b-ss40aacaq7] {
        width: 100%;
        padding: 14px 12px 28px;
        overflow-x: hidden;
    }

    .welcome-panel[b-ss40aacaq7] {
        min-height: 0;
        padding: 18px 14px;
        gap: 18px;
        border-radius: 10px;
    }

    .welcome-text[b-ss40aacaq7] {
        padding-left: 0;
        text-align: center;
    }

        .welcome-text h1[b-ss40aacaq7] {
            margin-bottom: 8px;
            font-size: 20px;
            line-height: 1.25;
        }

        .welcome-text p[b-ss40aacaq7] {
            font-size: 12px;
            line-height: 1.5;
        }

            .welcome-text p br[b-ss40aacaq7] {
                display: none;
            }

    /* Indicadores em 2 x 2 */
    .welcome-indicators[b-ss40aacaq7] {
        width: 100%;
        min-height: 0;
        padding: 10px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        background: transparent;
        border: 0;
    }

    .indicator-separator[b-ss40aacaq7] {
        display: none;
    }

    .welcome-indicator[b-ss40aacaq7] {
        min-width: 0;
        min-height: 112px;
        padding: 12px 6px;
        box-sizing: border-box;
        background: #0d3046;
        border: 1px solid #17526f;
        border-radius: 10px;
    }

    .indicator-icon[b-ss40aacaq7] {
        width: 34px;
        height: 34px;
        margin-bottom: 2px;
    }

        .indicator-icon svg[b-ss40aacaq7] {
            width: 29px;
            height: 29px;
        }

    .welcome-indicator strong[b-ss40aacaq7] {
        margin-top: 3px;
        font-size: 24px;
    }

    .welcome-indicator span[b-ss40aacaq7] {
        margin-top: 4px;
        font-size: 10px;
    }

    .welcome-indicator small[b-ss40aacaq7] {
        font-size: 9px;
    }

    /* Ações rápidas */
    .quick-section[b-ss40aacaq7] {
        margin-top: 20px;
    }

        .quick-section h2[b-ss40aacaq7] {
            margin-bottom: 11px;
            font-size: 12px;
        }

    .wpf-quick-grid[b-ss40aacaq7] {
        gap: 10px;
    }

    .wpf-action-card[b-ss40aacaq7] {
        min-height: 96px;
        padding: 14px;
        align-items: center;
        gap: 14px;
        border-radius: 10px;
    }

    .wpf-action-icon[b-ss40aacaq7] {
        width: 50px;
        height: 50px;
        min-width: 50px;
        border-radius: 10px;
    }

        .wpf-action-icon svg[b-ss40aacaq7] {
            width: 25px;
            height: 25px;
        }

    .wpf-action-text[b-ss40aacaq7] {
        min-width: 0;
        padding-top: 0;
    }

        .wpf-action-text strong[b-ss40aacaq7] {
            font-size: 15px;
            line-height: 1.25;
        }

            .wpf-action-text strong br[b-ss40aacaq7] {
                display: none;
            }

        .wpf-action-text span[b-ss40aacaq7] {
            margin-top: 5px;
            font-size: 11px;
            line-height: 1.35;
        }

            .wpf-action-text span br[b-ss40aacaq7] {
                display: none;
            }

    /* Parte inferior */
    .wpf-bottom-grid[b-ss40aacaq7] {
        margin-top: 14px;
        gap: 12px;
    }

    .wpf-bottom-panel[b-ss40aacaq7] {
        min-height: 0;
        padding: 16px 14px;
        border-radius: 10px;
    }

    .bottom-title[b-ss40aacaq7] {
        font-size: 12px;
    }

    .stock-status-list[b-ss40aacaq7] {
        margin-top: 12px;
    }

    .stock-status-row[b-ss40aacaq7] {
        min-height: 64px;
        padding: 8px 2px;
    }

    .status-left[b-ss40aacaq7] {
        min-width: 0;
        gap: 10px;
    }

        .status-left > div[b-ss40aacaq7] {
            min-width: 0;
        }

        .status-left strong[b-ss40aacaq7] {
            font-size: 12px;
        }

        .status-left small[b-ss40aacaq7] {
            font-size: 9px;
            line-height: 1.3;
        }

    .status-number[b-ss40aacaq7] {
        margin-left: 10px;
        font-size: 18px;
        flex-shrink: 0;
    }

    /* Movimentações recentes: rolagem fica só dentro da tabela */
    .recent-panel[b-ss40aacaq7] {
        width: 100%;
        min-width: 0;
    }

    .bottom-panel-header[b-ss40aacaq7] {
        gap: 12px;
    }

    .see-all-button[b-ss40aacaq7] {
        flex-shrink: 0;
        font-size: 10px;
    }

    .recent-table[b-ss40aacaq7] {
        width: 100%;
        margin-top: 13px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .recent-table-header[b-ss40aacaq7],
    .recent-table-row[b-ss40aacaq7] {
        min-width: 620px;
        grid-template-columns: 125px 82px minmax(145px, 1fr) 62px minmax(105px, 0.8fr);
    }

    .no-movements[b-ss40aacaq7] {
        min-height: 135px;
    }

    .home-error[b-ss40aacaq7] {
        font-size: 11px;
    }
}


/* ============================================================
   CELULARES PEQUENOS
   ============================================================ */

@media (max-width: 480px) {
    .wpf-home[b-ss40aacaq7] {
        padding: 10px 9px 24px;
    }

    .welcome-panel[b-ss40aacaq7] {
        padding: 15px 10px;
        gap: 14px;
    }

    .welcome-text h1[b-ss40aacaq7] {
        font-size: 18px;
    }

    .welcome-text p[b-ss40aacaq7] {
        padding: 0 4px;
        font-size: 11px;
    }

    /* Mantém 2 x 2 até em iPhone de 393/440px */
    .welcome-indicators[b-ss40aacaq7] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        padding: 4px 0 0;
    }

    .welcome-indicator[b-ss40aacaq7] {
        min-height: 104px;
        padding: 10px 4px;
    }

    .indicator-icon[b-ss40aacaq7] {
        width: 31px;
        height: 31px;
    }

        .indicator-icon svg[b-ss40aacaq7] {
            width: 27px;
            height: 27px;
        }

    .welcome-indicator strong[b-ss40aacaq7] {
        font-size: 22px;
    }

    .welcome-indicator span[b-ss40aacaq7] {
        font-size: 9px;
    }

    .welcome-indicator small[b-ss40aacaq7] {
        font-size: 8px;
    }

    .wpf-action-card[b-ss40aacaq7] {
        min-height: 88px;
        padding: 12px;
        gap: 12px;
    }

    .wpf-action-icon[b-ss40aacaq7] {
        width: 46px;
        height: 46px;
        min-width: 46px;
    }

        .wpf-action-icon svg[b-ss40aacaq7] {
            width: 23px;
            height: 23px;
        }

    .wpf-action-text strong[b-ss40aacaq7] {
        font-size: 14px;
    }

    .wpf-action-text span[b-ss40aacaq7] {
        font-size: 10px;
    }

    .wpf-bottom-panel[b-ss40aacaq7] {
        padding: 14px 12px;
    }

    .status-left small[b-ss40aacaq7] {
        max-width: 205px;
    }

    .recent-table-header[b-ss40aacaq7],
    .recent-table-row[b-ss40aacaq7] {
        min-width: 590px;
    }
}


/* ============================================================
   CELULARES MUITO ESTREITOS
   ============================================================ */

@media (max-width: 360px) {
    .wpf-home[b-ss40aacaq7] {
        padding-left: 7px;
        padding-right: 7px;
    }

    .welcome-panel[b-ss40aacaq7] {
        padding-left: 8px;
        padding-right: 8px;
    }

    .welcome-indicator[b-ss40aacaq7] {
        min-height: 100px;
    }

        .welcome-indicator strong[b-ss40aacaq7] {
            font-size: 20px;
        }

    .wpf-action-card[b-ss40aacaq7] {
        padding: 10px;
        gap: 10px;
    }

    .wpf-action-icon[b-ss40aacaq7] {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .wpf-action-text strong[b-ss40aacaq7] {
        font-size: 13px;
    }

    .wpf-action-text span[b-ss40aacaq7] {
        font-size: 9px;
    }
}
/* /Components/Pages/Movimentacao.razor.rz.scp.css */
/* =========================================================
   NOVA MOVIMENTAÇÃO - DRATEC ESTOQUE WEB
   Layout inspirado na versão WPF
   ========================================================= */

.mov-page[b-2nyj865lte] {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 18px 28px 16px;
}


/* =========================================================
   CABEÇALHO
   ========================================================= */

.mov-header[b-2nyj865lte] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.mov-header-icon[b-2nyj865lte] {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #0b7180;
    color: #22d5d1;
    font-size: 21px;
    font-weight: 500;
}

.mov-header-text[b-2nyj865lte] {
    min-width: 0;
}

    .mov-header-text h1[b-2nyj865lte] {
        margin: 0;
        color: #ffffff;
        font-size: 23px;
        line-height: 1.05;
        font-weight: 700;
        letter-spacing: -0.3px;
    }

    .mov-header-text p[b-2nyj865lte] {
        margin: 4px 0 0;
        color: #70a7c2;
        font-size: 11px;
        line-height: 1.2;
    }


/* =========================================================
   PAINEL PRINCIPAL
   ========================================================= */

.mov-panel[b-2nyj865lte] {
    width: 100%;
    padding: 18px 22px;
    background: #09243a;
    border: 1px solid #18506c;
    border-radius: 10px;
}


/* =========================================================
   CAMPOS
   ========================================================= */

.field[b-2nyj865lte] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.field-full[b-2nyj865lte] {
    width: 100%;
}

.field label[b-2nyj865lte] {
    display: block;
    margin: 0 0 6px;
    color: #00e0dc;
    font-size: 9px;
    line-height: 1;
    font-weight: 600;
    text-transform: uppercase;
}

.field input[b-2nyj865lte],
.field select[b-2nyj865lte],
.field textarea[b-2nyj865lte] {
    width: 100%;
    border: 1px solid #245a75;
    border-radius: 0;
    outline: none;
    background: #061c2d;
    color: #ffffff;
    font-family: inherit;
    font-size: 12px;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}


/* =========================================================
   INPUT / SELECT
   ========================================================= */

.field input[b-2nyj865lte],
.field select[b-2nyj865lte] {
    height: 36px;
    padding: 0 12px;
}

    .field input[b-2nyj865lte]::placeholder,
    .field textarea[b-2nyj865lte]::placeholder {
        color: #557d94;
        opacity: 1;
    }

    .field input:hover[b-2nyj865lte],
    .field select:hover[b-2nyj865lte],
    .field textarea:hover[b-2nyj865lte] {
        border-color: #32718e;
    }

    .field input:focus[b-2nyj865lte],
    .field select:focus[b-2nyj865lte],
    .field textarea:focus[b-2nyj865lte] {
        border-color: #00d8d3;
        background: #071f31;
        box-shadow: 0 0 0 1px rgba(0, 216, 211, 0.12);
    }


    /* =========================================================
   DATA
   ========================================================= */

    .field input[type="date"][b-2nyj865lte] {
        color-scheme: dark;
    }

        .field input[type="date"][b-2nyj865lte]::-webkit-calendar-picker-indicator {
            cursor: pointer;
            opacity: 0.9;
        }


/* =========================================================
   PRODUTO
   ========================================================= */

.product-field[b-2nyj865lte] {
    margin-top: 12px;
}

.product-search[b-2nyj865lte] {
    position: relative;
    width: 100%;
}

    .product-search input[b-2nyj865lte] {
        padding-left: 40px;
    }

.search-icon[b-2nyj865lte] {
    position: absolute;
    z-index: 2;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #15d4d0;
    font-size: 16px;
    line-height: 1;
    pointer-events: none;
}


/* =========================================================
   INFORMAÇÕES DO PRODUTO
   ========================================================= */

.product-information[b-2nyj865lte] {
    width: 100%;
    min-height: 48px;
    margin-top: 10px;
    padding: 8px 13px;
    display: grid;
    grid-template-columns: 0.85fr 0.85fr 0.85fr 1.15fr;
    align-items: center;
    background: #061c2d;
    border: 1px solid #18506c;
    border-radius: 7px;
}

.product-info-item[b-2nyj865lte] {
    min-width: 0;
    padding: 0 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .product-info-item:first-child[b-2nyj865lte] {
        padding-left: 0;
    }

    .product-info-item span[b-2nyj865lte] {
        margin-bottom: 3px;
        color: #7299ae;
        font-size: 8px;
        font-weight: 400;
        text-transform: uppercase;
    }

    .product-info-item strong[b-2nyj865lte] {
        color: #ffffff;
        font-size: 11px;
        line-height: 1.1;
        font-weight: 600;
    }

    .product-info-item .minimum-stock[b-2nyj865lte] {
        color: #ffcf23;
    }


/* =========================================================
   TIPO + QUANTIDADE
   ========================================================= */

.mov-grid[b-2nyj865lte] {
    width: 100%;
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}


/* =========================================================
   SELECT
   ========================================================= */

.field select[b-2nyj865lte] {
    cursor: pointer;
    appearance: auto;
    color-scheme: dark;
}

    .field select option[b-2nyj865lte] {
        background: #061c2d;
        color: #ffffff;
    }


/* =========================================================
   DESTINO
   ========================================================= */

.mov-grid + .field-full[b-2nyj865lte] {
    margin-top: 12px;
}


    /* =========================================================
   OBSERVAÇÃO
   ========================================================= */

    .mov-grid + .field-full + .field-full[b-2nyj865lte] {
        margin-top: 12px;
    }

.field textarea[b-2nyj865lte] {
    height: 58px;
    min-height: 58px;
    padding: 8px 12px;
    line-height: 1.35;
    resize: vertical;
}


/* =========================================================
   MENSAGENS
   ========================================================= */

.mov-message[b-2nyj865lte] {
    width: 100%;
    min-height: 36px;
    margin-top: 10px;
    padding: 7px 11px;
    display: flex;
    align-items: center;
    gap: 9px;
    border-radius: 6px;
    font-size: 11px;
}

    .mov-message.success[b-2nyj865lte] {
        color: #65e8bd;
        background: rgba(16, 185, 129, 0.08);
        border: 1px solid rgba(16, 185, 129, 0.32);
    }

    .mov-message.error[b-2nyj865lte] {
        color: #ff8d8d;
        background: rgba(239, 68, 68, 0.08);
        border: 1px solid rgba(239, 68, 68, 0.32);
    }

.message-symbol[b-2nyj865lte] {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
}

.success .message-symbol[b-2nyj865lte] {
    background: rgba(16, 185, 129, 0.14);
}

.error .message-symbol[b-2nyj865lte] {
    background: rgba(239, 68, 68, 0.14);
}


/* =========================================================
   BOTÕES
   ========================================================= */

.mov-actions[b-2nyj865lte] {
    width: 100%;
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

    .mov-actions button[b-2nyj865lte] {
        height: 40px;
        border: 0;
        border-radius: 0;
        color: #ffffff;
        font-family: inherit;
        font-size: 11px;
        font-weight: 700;
        cursor: pointer;
        transition: background 0.15s ease, transform 0.15s ease, filter 0.15s ease;
    }


/* CANCELAR */

.btn-cancel[b-2nyj865lte] {
    background: #123a55;
}

    .btn-cancel:hover[b-2nyj865lte] {
        background: #174864;
    }


/* REGISTRAR */

.btn-register[b-2nyj865lte] {
    background: #119788;
}

    .btn-register:hover[b-2nyj865lte] {
        background: #13a998;
    }

.mov-actions button:active[b-2nyj865lte] {
    transform: translateY(1px);
}


/* =========================================================
   NUMBER
   ========================================================= */

.field input[type="number"][b-2nyj865lte] {
    appearance: textfield;
    -moz-appearance: textfield;
}

    .field input[type="number"][b-2nyj865lte]::-webkit-inner-spin-button,
    .field input[type="number"][b-2nyj865lte]::-webkit-outer-spin-button {
        margin: 0;
        -webkit-appearance: none;
    }


/* =========================================================
   SCROLLBAR
   ========================================================= */

.mov-page *[b-2nyj865lte] {
    scrollbar-width: thin;
    scrollbar-color: #557a8f #0a2538;
}

    .mov-page *[b-2nyj865lte]::-webkit-scrollbar {
        width: 7px;
        height: 7px;
    }

    .mov-page *[b-2nyj865lte]::-webkit-scrollbar-track {
        background: #0a2538;
    }

    .mov-page *[b-2nyj865lte]::-webkit-scrollbar-thumb {
        background: #557a8f;
        border-radius: 10px;
    }


/* =========================================================
   TELAS MAIS BAIXAS
   ========================================================= */

@media (min-width: 900px) and (max-height: 760px) {

    .mov-page[b-2nyj865lte] {
        padding-top: 14px;
        padding-bottom: 12px;
    }

    .mov-header[b-2nyj865lte] {
        margin-bottom: 12px;
    }

    .mov-header-icon[b-2nyj865lte] {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        font-size: 19px;
    }

    .mov-header-text h1[b-2nyj865lte] {
        font-size: 21px;
    }

    .mov-header-text p[b-2nyj865lte] {
        font-size: 10px;
    }

    .mov-panel[b-2nyj865lte] {
        padding: 15px 19px;
    }

    .field input[b-2nyj865lte],
    .field select[b-2nyj865lte] {
        height: 34px;
    }

    .product-field[b-2nyj865lte] {
        margin-top: 10px;
    }

    .product-information[b-2nyj865lte] {
        min-height: 44px;
        margin-top: 8px;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .mov-grid[b-2nyj865lte] {
        margin-top: 10px;
    }

        .mov-grid + .field-full[b-2nyj865lte] {
            margin-top: 10px;
        }

            .mov-grid + .field-full + .field-full[b-2nyj865lte] {
                margin-top: 10px;
            }

    .field textarea[b-2nyj865lte] {
        height: 48px;
        min-height: 48px;
    }

    .mov-actions[b-2nyj865lte] {
        margin-top: 10px;
    }

        .mov-actions button[b-2nyj865lte] {
            height: 38px;
        }
}


/* =========================================================
   RESPONSIVIDADE
   ========================================================= */

@media (max-width: 1050px) {

    .mov-page[b-2nyj865lte] {
        padding-left: 22px;
        padding-right: 22px;
    }
}


@media (max-width: 800px) {

    .mov-page[b-2nyj865lte] {
        padding: 20px 16px;
    }

    .mov-header-text h1[b-2nyj865lte] {
        font-size: 21px;
    }

    .mov-grid[b-2nyj865lte] {
        grid-template-columns: 1fr;
    }

    .product-information[b-2nyj865lte] {
        grid-template-columns: 1fr 1fr;
        gap: 14px 0;
    }

    .product-info-item:nth-child(3)[b-2nyj865lte] {
        padding-left: 0;
    }
}


@media (max-width: 560px) {

    .mov-page[b-2nyj865lte] {
        padding: 16px 11px;
    }

    .mov-header[b-2nyj865lte] {
        gap: 11px;
    }

    .mov-header-icon[b-2nyj865lte] {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .mov-header-text h1[b-2nyj865lte] {
        font-size: 18px;
    }

    .mov-panel[b-2nyj865lte] {
        padding: 16px 14px;
    }

    .product-information[b-2nyj865lte] {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .product-info-item[b-2nyj865lte],
    .product-info-item:nth-child(3)[b-2nyj865lte] {
        padding: 0;
    }

    .mov-actions[b-2nyj865lte] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Movimentacoes.razor.rz.scp.css */
/* ============================================================
   PÁGINA
   ============================================================ */

.movimentacoes-page[b-tgy2i04pbo] {
    width: 100%;
    min-height: 100%;
    padding: 28px;
    color: #ffffff;
    box-sizing: border-box;
}


/* ============================================================
   CABEÇALHO
   ============================================================ */

.page-header[b-tgy2i04pbo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.header-left[b-tgy2i04pbo] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-icon[b-tgy2i04pbo] {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #087485;
    color: #00e6df;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    flex-shrink: 0;
}

.header-left h1[b-tgy2i04pbo] {
    margin: 0;
    font-size: 27px;
    font-weight: 800;
    color: #ffffff;
}

.header-left p[b-tgy2i04pbo] {
    margin: 4px 0 0;
    color: #83c8e8;
    font-size: 13px;
}

.btn-close[b-tgy2i04pbo] {
    height: 44px;
    min-width: 100px;
    padding: 0 25px;
    border: 1px solid #184966;
    background: #123c58;
    color: white;
    font-weight: 800;
    cursor: pointer;
    transition: 0.15s ease;
}

    .btn-close:hover[b-tgy2i04pbo] {
        background: #19506e;
    }


/* ============================================================
   FILTROS
   ============================================================ */

.filters-panel[b-tgy2i04pbo] {
    display: grid;
    grid-template-columns: minmax(280px, 2fr) minmax(150px, 1fr) minmax(170px, 1fr) minmax(170px, 1fr) 145px;
    gap: 12px;
    padding: 16px;
    background: #08293d;
    border: 1px solid #17516e;
    border-radius: 10px;
    margin-bottom: 14px;
}

.filter-search[b-tgy2i04pbo] {
    position: relative;
}

.search-icon[b-tgy2i04pbo] {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #00e6df;
    font-size: 19px;
    pointer-events: none;
}

.filter-search input[b-tgy2i04pbo] {
    padding-left: 45px !important;
}

.filters-panel input[b-tgy2i04pbo],
.filters-panel select[b-tgy2i04pbo] {
    width: 100%;
    height: 44px;
    padding: 0 13px;
    box-sizing: border-box;
    border: 1px solid #27607e;
    background: #061f31;
    color: white;
    outline: none;
    font-size: 13px;
}

    .filters-panel input:focus[b-tgy2i04pbo],
    .filters-panel select:focus[b-tgy2i04pbo] {
        border-color: #00d9d2;
    }

    .filters-panel input[b-tgy2i04pbo]::placeholder {
        color: #5e98b8;
    }

.filters-panel select[b-tgy2i04pbo] {
    cursor: pointer;
}

    .filters-panel select option[b-tgy2i04pbo] {
        background: #061f31;
        color: white;
    }

.filter-date input[b-tgy2i04pbo] {
    color-scheme: dark;
}

.btn-clear[b-tgy2i04pbo] {
    height: 44px;
    border: none;
    background: #123e5b;
    color: white;
    font-weight: 800;
    cursor: pointer;
    transition: 0.15s ease;
}

    .btn-clear:hover[b-tgy2i04pbo] {
        background: #19516f;
    }


/* ============================================================
   AÇÕES
   ============================================================ */

.actions-bar[b-tgy2i04pbo] {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 8px;
}

.selection-message[b-tgy2i04pbo] {
    color: #76b7d8;
    font-size: 13px;
}

.double-click-message[b-tgy2i04pbo] {
    color: #00e6df;
    margin-left: 10px;
}

.action-buttons[b-tgy2i04pbo] {
    display: flex;
    gap: 10px;
}

.btn-edit[b-tgy2i04pbo],
.btn-delete[b-tgy2i04pbo] {
    height: 42px;
    min-width: 110px;
    border: none;
    color: white;
    font-weight: 800;
    cursor: pointer;
    transition: 0.15s ease;
}

.btn-edit[b-tgy2i04pbo] {
    background: #087c89;
}

    .btn-edit:hover:not(:disabled)[b-tgy2i04pbo] {
        background: #0a98a5;
    }

.btn-delete[b-tgy2i04pbo] {
    background: #a52138;
}

    .btn-delete:hover:not(:disabled)[b-tgy2i04pbo] {
        background: #c22943;
    }

    .btn-edit:disabled[b-tgy2i04pbo],
    .btn-delete:disabled[b-tgy2i04pbo] {
        opacity: 0.38;
        cursor: not-allowed;
    }


/* ============================================================
   MENSAGEM
   ============================================================ */

.message[b-tgy2i04pbo] {
    padding: 12px 15px;
    margin-bottom: 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}

.message-success[b-tgy2i04pbo] {
    background: rgba(0, 190, 120, 0.13);
    border: 1px solid #008f61;
    color: #46e4a6;
}

.message-error[b-tgy2i04pbo] {
    background: rgba(255, 65, 87, 0.12);
    border: 1px solid #a6293d;
    color: #ff7589;
}


/* ============================================================
   TABELA
   ============================================================ */

.table-panel[b-tgy2i04pbo] {
    width: 100%;
    background: #08293d;
    border: 1px solid #17516e;
    overflow: hidden;
}

.table-scroll[b-tgy2i04pbo] {
    width: 100%;
    overflow: auto;
    max-height: 440px;
}

.mov-table[b-tgy2i04pbo] {
    width: 100%;
    min-width: 1050px;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 13px;
}

    .mov-table thead[b-tgy2i04pbo] {
        position: sticky;
        top: 0;
        z-index: 5;
    }

    .mov-table th[b-tgy2i04pbo] {
        height: 44px;
        padding: 0 10px;
        background: #123b57;
        color: #b6d9ec;
        text-align: left;
        font-size: 12px;
        font-weight: 700;
        border-right: 1px solid #24506a;
        border-bottom: 1px solid #24506a;
    }

    .mov-table td[b-tgy2i04pbo] {
        height: 48px;
        padding: 0 10px;
        color: white;
        border-right: 1px solid #163f59;
        border-bottom: 1px solid #061725;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mov-table tbody tr[b-tgy2i04pbo] {
        background: #092a3e;
        cursor: pointer;
        transition: 0.12s ease;
    }

        .mov-table tbody tr:nth-child(even)[b-tgy2i04pbo] {
            background: #0b3047;
        }

        .mov-table tbody tr:hover[b-tgy2i04pbo] {
            background: #11445f;
        }

        .mov-table tbody tr.selected-row[b-tgy2i04pbo] {
            background: #11687a !important;
            box-shadow: inset 4px 0 0 #00e6df;
        }

.col-date[b-tgy2i04pbo] {
    width: 95px;
}

.col-type[b-tgy2i04pbo] {
    width: 95px;
}

.col-code[b-tgy2i04pbo] {
    width: 100px;
}

.col-product[b-tgy2i04pbo] {
    width: 300px;
}

.col-quantity[b-tgy2i04pbo] {
    width: 80px;
}

.col-destination[b-tgy2i04pbo] {
    width: 220px;
}

.col-stock[b-tgy2i04pbo] {
    width: 125px;
}

.empty-row[b-tgy2i04pbo] {
    height: 170px !important;
    text-align: center !important;
    color: #6fa9c7 !important;
    cursor: default;
}


/* ============================================================
   BADGES
   ============================================================ */

.type-badge[b-tgy2i04pbo] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    padding: 5px 9px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 800;
    background: #31485a;
}

.type-entry[b-tgy2i04pbo] {
    color: #31e99d;
    background: rgba(0, 200, 120, 0.13);
}

.type-exit[b-tgy2i04pbo] {
    color: #ff6579;
    background: rgba(255, 55, 80, 0.13);
}


/* ============================================================
   RODAPÉ
   ============================================================ */

.table-footer[b-tgy2i04pbo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 16px;
    color: #7bbbd9;
    font-size: 13px;
}

.totals[b-tgy2i04pbo] {
    display: flex;
    align-items: center;
    gap: 25px;
}

.total-entry[b-tgy2i04pbo] {
    color: #22df98;
}

.total-exit[b-tgy2i04pbo] {
    color: #ff536b;
}


/* ============================================================
   LOADING
   ============================================================ */

.loading-panel[b-tgy2i04pbo] {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #75b6d5;
}

.loading-spinner[b-tgy2i04pbo] {
    width: 34px;
    height: 34px;
    border: 3px solid #17435c;
    border-top-color: #00e6df;
    border-radius: 50%;
    animation: spin-b-tgy2i04pbo 0.8s linear infinite;
}

@keyframes spin-b-tgy2i04pbo {
    to {
        transform: rotate(360deg);
    }
}


/* ============================================================
   MODAIS
   ============================================================ */

.modal-overlay[b-tgy2i04pbo] {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 10, 18, 0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
}

.details-modal[b-tgy2i04pbo] {
    width: min(800px, 95vw);
    max-height: 90vh;
    overflow: auto;
    background: #061f31;
    border: 1px solid #1c5977;
    border-radius: 12px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.55);
    padding: 25px;
}

.modal-header[b-tgy2i04pbo] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid #17435c;
}

    .modal-header h2[b-tgy2i04pbo] {
        margin: 0;
        font-size: 22px;
        color: white;
    }

    .modal-header p[b-tgy2i04pbo] {
        margin: 5px 0 0;
        color: #79b8d7;
        font-size: 13px;
    }

.modal-close[b-tgy2i04pbo] {
    width: 38px;
    height: 38px;
    border: none;
    background: #123d58;
    color: white;
    font-size: 25px;
    cursor: pointer;
}

.details-grid[b-tgy2i04pbo] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.detail-item[b-tgy2i04pbo] {
    min-height: 75px;
    padding: 14px;
    box-sizing: border-box;
    background: #092b40;
    border: 1px solid #164b68;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

    .detail-item span[b-tgy2i04pbo] {
        color: #00ddd7;
        font-size: 11px;
        font-weight: 700;
    }

    .detail-item strong[b-tgy2i04pbo] {
        color: white;
        font-size: 14px;
        word-break: break-word;
    }

.detail-wide[b-tgy2i04pbo] {
    grid-column: span 2;
}

.modal-actions[b-tgy2i04pbo] {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.btn-modal-close[b-tgy2i04pbo] {
    min-width: 130px;
    height: 42px;
    border: none;
    background: #159d93;
    color: white;
    font-weight: 800;
    cursor: pointer;
}


/* ============================================================
   CONFIRMAÇÃO
   ============================================================ */

.confirm-modal[b-tgy2i04pbo] {
    width: min(450px, 95vw);
    padding: 30px;
    box-sizing: border-box;
    background: #061f31;
    border: 1px solid #8e2638;
    border-radius: 12px;
    text-align: center;
}

.confirm-icon[b-tgy2i04pbo] {
    width: 55px;
    height: 55px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #9c2338;
    color: white;
    font-size: 30px;
    font-weight: 900;
}

.confirm-modal h2[b-tgy2i04pbo] {
    color: white;
}

.confirm-modal p[b-tgy2i04pbo] {
    color: #9bc7dd;
    line-height: 1.5;
}

.confirm-actions[b-tgy2i04pbo] {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

.btn-confirm-cancel[b-tgy2i04pbo] {
    min-width: 140px;
    height: 42px;
    border: none;
    background: #153f59;
    color: white;
    font-weight: 800;
    cursor: pointer;
}


/* ============================================================
   SCROLL
   ============================================================ */

.table-scroll[b-tgy2i04pbo]::-webkit-scrollbar,
.details-modal[b-tgy2i04pbo]::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

.table-scroll[b-tgy2i04pbo]::-webkit-scrollbar-track,
.details-modal[b-tgy2i04pbo]::-webkit-scrollbar-track {
    background: #051b2a;
}

.table-scroll[b-tgy2i04pbo]::-webkit-scrollbar-thumb,
.details-modal[b-tgy2i04pbo]::-webkit-scrollbar-thumb {
    background: #37647c;
    border-radius: 10px;
}

    .table-scroll[b-tgy2i04pbo]::-webkit-scrollbar-thumb:hover,
    .details-modal[b-tgy2i04pbo]::-webkit-scrollbar-thumb:hover {
        background: #4a7890;
    }


/* ============================================================
   RESPONSIVO
   ============================================================ */

@media (max-width: 1200px) {

    .filters-panel[b-tgy2i04pbo] {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }

    .btn-clear[b-tgy2i04pbo] {
        grid-column: 1 / -1;
    }
}


@media (max-width: 850px) {

    .movimentacoes-page[b-tgy2i04pbo] {
        padding: 18px;
    }

    .page-header[b-tgy2i04pbo] {
        align-items: flex-start;
    }

    .filters-panel[b-tgy2i04pbo] {
        grid-template-columns: 1fr;
    }

    .btn-clear[b-tgy2i04pbo] {
        grid-column: auto;
    }

    .actions-bar[b-tgy2i04pbo] {
        flex-direction: column;
        align-items: stretch;
    }

    .action-buttons[b-tgy2i04pbo] {
        justify-content: flex-end;
    }

    .details-grid[b-tgy2i04pbo] {
        grid-template-columns: 1fr;
    }

    .detail-wide[b-tgy2i04pbo] {
        grid-column: auto;
    }

    .table-footer[b-tgy2i04pbo] {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ============================================================
   CARDS DE MOVIMENTAÇÃO - SOMENTE MOBILE
   No desktop permanecem ocultos e a tabela original continua igual.
   ============================================================ */

.mobile-movements[b-tgy2i04pbo] {
    display: none;
}


@media (max-width: 850px) {

    /* --------------------------------------------------------
       AJUSTE GERAL DA PÁGINA
       -------------------------------------------------------- */

    .movimentacoes-page[b-tgy2i04pbo] {
        padding: 14px 12px 22px;
        overflow-x: hidden;
    }

    /* O cabeçalho continua completo; apenas ganha melhor respiro. */
    .page-header[b-tgy2i04pbo] {
        gap: 12px;
        margin-bottom: 14px;
    }

    .header-left[b-tgy2i04pbo] {
        min-width: 0;
        gap: 11px;
    }

    .header-icon[b-tgy2i04pbo] {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        font-size: 25px;
    }

    .header-left h1[b-tgy2i04pbo] {
        font-size: 22px;
        line-height: 1.05;
        white-space: nowrap;
    }

    .header-left p[b-tgy2i04pbo] {
        font-size: 12px;
        line-height: 1.45;
    }

    .btn-close[b-tgy2i04pbo] {
        height: 40px;
        min-width: 86px;
        padding: 0 16px;
        flex-shrink: 0;
    }

    /* --------------------------------------------------------
       FILTROS
       -------------------------------------------------------- */

    .filters-panel[b-tgy2i04pbo] {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 13px;
        margin-bottom: 12px;
        border-radius: 10px;
    }

        .filters-panel input[b-tgy2i04pbo],
        .filters-panel select[b-tgy2i04pbo],
        .btn-clear[b-tgy2i04pbo] {
            height: 42px;
            font-size: 12px;
            border-radius: 6px;
        }

    .btn-clear[b-tgy2i04pbo] {
        grid-column: auto;
    }

    /* --------------------------------------------------------
       MENSAGEM + BOTÕES
       -------------------------------------------------------- */

    .actions-bar[b-tgy2i04pbo] {
        min-height: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin: 0 0 12px;
    }

    .selection-message[b-tgy2i04pbo] {
        font-size: 12px;
        line-height: 1.45;
    }

    .double-click-message[b-tgy2i04pbo] {
        display: block;
        margin: 3px 0 0;
    }

        /* No celular o detalhe também pode ser aberto pelo botão do card. */
        .double-click-message[b-tgy2i04pbo]::after {
            content: " Ou use o botão VER DETALHES.";
        }

    .action-buttons[b-tgy2i04pbo] {
        width: 100%;
        justify-content: stretch;
        gap: 8px;
    }

    .btn-edit[b-tgy2i04pbo],
    .btn-delete[b-tgy2i04pbo] {
        flex: 1;
        min-width: 0;
        height: 40px;
    }

    /* --------------------------------------------------------
       TABELA DESKTOP -> CARDS MOBILE
       -------------------------------------------------------- */

    .desktop-movements[b-tgy2i04pbo] {
        display: none;
    }

    .mobile-movements[b-tgy2i04pbo] {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .movement-card[b-tgy2i04pbo] {
        width: 100%;
        padding: 13px;
        box-sizing: border-box;
        background: #08293d;
        border: 1px solid #17516e;
        border-radius: 10px;
        cursor: pointer;
        transition: 0.15s ease;
    }

        .movement-card.selected-row[b-tgy2i04pbo] {
            background: #0d3d55 !important;
            border-color: #00d9d2;
            box-shadow: inset 4px 0 0 #00e6df;
        }

    .movement-card-top[b-tgy2i04pbo] {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 10px;
        padding-bottom: 11px;
        margin-bottom: 11px;
        border-bottom: 1px solid #17435c;
    }

    .movement-card-product[b-tgy2i04pbo] {
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

        .movement-card-product .mobile-label[b-tgy2i04pbo],
        .movement-card-field span[b-tgy2i04pbo] {
            color: #00ddd7;
            font-size: 8px;
            line-height: 1.2;
            font-weight: 800;
            text-transform: uppercase;
        }

        .movement-card-product strong[b-tgy2i04pbo] {
            color: #ffffff;
            font-size: 15px;
            line-height: 1.2;
            overflow-wrap: anywhere;
        }

        .movement-card-product small[b-tgy2i04pbo] {
            color: #75b6d5;
            font-size: 10px;
        }

    .movement-card .type-badge[b-tgy2i04pbo] {
        min-width: 62px;
        flex-shrink: 0;
        padding: 5px 8px;
        font-size: 9px;
    }

    .movement-card-grid[b-tgy2i04pbo] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 12px;
    }

    .movement-card-field[b-tgy2i04pbo] {
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

        .movement-card-field strong[b-tgy2i04pbo] {
            color: #ffffff;
            font-size: 12px;
            line-height: 1.35;
            overflow-wrap: anywhere;
        }

    .movement-card-wide[b-tgy2i04pbo] {
        grid-column: 1 / -1;
    }

    .btn-mobile-details[b-tgy2i04pbo] {
        width: 100%;
        height: 38px;
        margin-top: 13px;
        border: 1px solid #1c607d;
        border-radius: 6px;
        background: #123e5b;
        color: #ffffff;
        font-size: 10px;
        font-weight: 800;
        cursor: pointer;
    }

        .btn-mobile-details:active[b-tgy2i04pbo] {
            background: #19516f;
        }

    .mobile-empty[b-tgy2i04pbo] {
        min-height: 120px;
        padding: 20px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        background: #08293d;
        border: 1px solid #17516e;
        border-radius: 10px;
        color: #6fa9c7;
        font-size: 12px;
    }

    /* --------------------------------------------------------
       RODAPÉ
       -------------------------------------------------------- */

    .table-footer[b-tgy2i04pbo] {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding-top: 12px;
        font-size: 11px;
    }

    .totals[b-tgy2i04pbo] {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 12px;
        box-sizing: border-box;
        background: #08293d;
        border: 1px solid #17516e;
        border-radius: 8px;
    }

    /* --------------------------------------------------------
       MODAL DE DETALHES
       -------------------------------------------------------- */

    .modal-overlay[b-tgy2i04pbo] {
        padding: 10px;
        align-items: flex-start;
        overflow-y: auto;
    }

    .details-modal[b-tgy2i04pbo] {
        width: 100%;
        max-height: none;
        margin: 10px 0;
        padding: 15px;
        border-radius: 10px;
    }

    .modal-header[b-tgy2i04pbo] {
        gap: 10px;
        padding-bottom: 13px;
        margin-bottom: 13px;
    }

        .modal-header h2[b-tgy2i04pbo] {
            font-size: 17px;
            line-height: 1.15;
        }

        .modal-header p[b-tgy2i04pbo] {
            font-size: 11px;
            line-height: 1.35;
        }

    .modal-close[b-tgy2i04pbo] {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        font-size: 21px;
    }

    .details-grid[b-tgy2i04pbo] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .detail-item[b-tgy2i04pbo] {
        min-height: 66px;
        padding: 11px;
        gap: 5px;
    }

        .detail-item span[b-tgy2i04pbo] {
            font-size: 9px;
        }

        .detail-item strong[b-tgy2i04pbo] {
            font-size: 12px;
        }

    .detail-wide[b-tgy2i04pbo] {
        grid-column: 1 / -1;
    }

    .modal-actions[b-tgy2i04pbo] {
        margin-top: 13px;
    }

    .btn-modal-close[b-tgy2i04pbo] {
        width: 100%;
    }

    /* --------------------------------------------------------
       CONFIRMAÇÃO DE EXCLUSÃO
       -------------------------------------------------------- */

    .confirm-modal[b-tgy2i04pbo] {
        width: 100%;
        padding: 20px 15px;
    }

        .confirm-modal h2[b-tgy2i04pbo] {
            font-size: 18px;
        }

        .confirm-modal p[b-tgy2i04pbo] {
            font-size: 12px;
        }

    .confirm-actions[b-tgy2i04pbo] {
        gap: 8px;
    }

        .btn-confirm-cancel[b-tgy2i04pbo],
        .confirm-actions .btn-delete[b-tgy2i04pbo] {
            flex: 1;
            min-width: 0;
            padding: 0 8px;
            font-size: 10px;
        }
}

@media (max-width: 390px) {

    .movimentacoes-page[b-tgy2i04pbo] {
        padding-left: 10px;
        padding-right: 10px;
    }

    .header-left h1[b-tgy2i04pbo] {
        font-size: 20px;
    }

    .movement-card[b-tgy2i04pbo] {
        padding: 11px;
    }

    .details-grid[b-tgy2i04pbo] {
        grid-template-columns: 1fr;
    }

    .detail-wide[b-tgy2i04pbo] {
        grid-column: auto;
    }
}
/* /Components/Pages/Produto.razor.rz.scp.css */
/* =========================================================
   CADASTRAR PRODUTO - DRATEC
   Visual baseado na versão WPF
   ========================================================= */

.produto-page[b-ywl72ofb63] {
    width: 100%;
    min-height: calc(100vh - 95px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 34px 24px 50px;
    box-sizing: border-box;
}


/* =========================================================
   JANELA PRINCIPAL
   ========================================================= */

.produto-window[b-ywl72ofb63] {
    width: 100%;
    max-width: 745px;
    background: #061b2b;
    border: 1px solid #173e56;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
}


/* =========================================================
   CABEÇALHO
   ========================================================= */

.produto-header[b-ywl72ofb63] {
    min-height: 105px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    border-bottom: 1px solid #17384e;
}

.produto-header-text[b-ywl72ofb63] {
    display: flex;
    flex-direction: column;
}

    .produto-header-text h1[b-ywl72ofb63] {
        margin: 0;
        color: #ffffff;
        font-size: 23px;
        line-height: 1.2;
        font-weight: 700;
    }

    .produto-header-text p[b-ywl72ofb63] {
        margin: 8px 0 0;
        color: #00e5e5;
        font-size: 12px;
        font-weight: 400;
    }

.produto-header-icon[b-ywl72ofb63] {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00e5e5;
    font-size: 40px;
    line-height: 1;
}


/* =========================================================
   CONTEÚDO
   ========================================================= */

.produto-content[b-ywl72ofb63] {
    padding: 29px 30px 30px;
    box-sizing: border-box;
}

.produto-form[b-ywl72ofb63] {
    width: 100%;
    padding: 25px;
    box-sizing: border-box;
    background: #0a2940;
    border: 1px solid #1c4d69;
    border-radius: 12px;
}


/* =========================================================
   GRID
   ========================================================= */

.produto-grid[b-ywl72ofb63] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 19px;
    margin-bottom: 20px;
}


/* =========================================================
   CAMPOS
   ========================================================= */

.produto-field[b-ywl72ofb63] {
    width: 100%;
    display: flex;
    flex-direction: column;
}

    .produto-field label[b-ywl72ofb63] {
        display: block;
        margin-bottom: 7px;
        color: #a7c9df;
        font-size: 11px;
        line-height: 1;
        font-weight: 500;
        text-transform: uppercase;
    }

    .produto-field input[b-ywl72ofb63] {
        width: 100%;
        height: 43px;
        padding: 0 14px;
        box-sizing: border-box;
        background: #0b2d45;
        border: 1px solid #246080;
        border-radius: 0;
        color: #ffffff;
        font-size: 13px;
        font-family: inherit;
        outline: none;
        transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    }

        .produto-field input:hover[b-ywl72ofb63] {
            border-color: #33789d;
        }

        .produto-field input:focus[b-ywl72ofb63] {
            border-color: #00d8dc;
            background: #0c3049;
            box-shadow: 0 0 0 1px rgba(0, 216, 220, 0.10);
        }

        .produto-field input[b-ywl72ofb63]::placeholder {
            color: #527c97;
        }


        /* =========================================================
   INPUT NUMBER
   ========================================================= */

        .produto-field input[type="number"][b-ywl72ofb63] {
            appearance: textfield;
            -moz-appearance: textfield;
        }

            .produto-field input[type="number"][b-ywl72ofb63]::-webkit-inner-spin-button,
            .produto-field input[type="number"][b-ywl72ofb63]::-webkit-outer-spin-button {
                -webkit-appearance: none;
                margin: 0;
            }


/* =========================================================
   CAIXA DE INFORMAÇÃO
   ========================================================= */

.produto-info-box[b-ywl72ofb63] {
    width: 100%;
    min-height: 51px;
    margin-top: 2px;
    padding: 11px 15px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #103650;
    border: 1px solid #1d526f;
    border-radius: 10px;
    color: #c7dce9;
    font-size: 12px;
}

.produto-info-icon[b-ywl72ofb63] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #24a9ff;
    border-radius: 50%;
    color: #24a9ff;
    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   MENSAGENS
   ========================================================= */

.produto-message[b-ywl72ofb63] {
    width: 100%;
    min-height: 48px;
    margin-top: 15px;
    padding: 10px 14px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
}

    .produto-message.success[b-ywl72ofb63] {
        color: #77f5ce;
        background: rgba(0, 180, 135, 0.10);
        border: 1px solid rgba(0, 210, 160, 0.35);
    }

    .produto-message.error[b-ywl72ofb63] {
        color: #ff9da8;
        background: rgba(255, 65, 85, 0.10);
        border: 1px solid rgba(255, 65, 85, 0.35);
    }

.produto-message-icon[b-ywl72ofb63] {
    width: 22px;
    height: 22px;
    min-width: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}

.produto-message.success .produto-message-icon[b-ywl72ofb63] {
    background: rgba(0, 210, 160, 0.15);
}

.produto-message.error .produto-message-icon[b-ywl72ofb63] {
    background: rgba(255, 65, 85, 0.15);
}


/* =========================================================
   BOTÕES
   ========================================================= */

.produto-actions[b-ywl72ofb63] {
    width: 100%;
    margin-top: 48px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

    .produto-actions button[b-ywl72ofb63] {
        height: 40px;
        padding: 0 28px;
        border: none;
        border-radius: 7px;
        font-family: inherit;
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.15s ease, transform 0.1s ease, opacity 0.15s ease;
    }


/* CANCELAR */

.btn-cancelar[b-ywl72ofb63] {
    min-width: 120px;
    background: #173d57;
    color: #ffffff;
}

    .btn-cancelar:hover:not(:disabled)[b-ywl72ofb63] {
        background: #204d69;
    }


/* CADASTRAR */

.btn-cadastrar[b-ywl72ofb63] {
    min-width: 150px;
    background: #109889;
    color: #ffffff;
}

    .btn-cadastrar:hover:not(:disabled)[b-ywl72ofb63] {
        background: #12aa99;
    }


/* CLIQUE */

.produto-actions button:active:not(:disabled)[b-ywl72ofb63] {
    transform: translateY(1px);
}


/* DESABILITADO */

.produto-actions button:disabled[b-ywl72ofb63] {
    opacity: 0.55;
    cursor: not-allowed;
}


/* =========================================================
   RESPONSIVIDADE
   ========================================================= */

@media (max-width: 900px) {

    .produto-page[b-ywl72ofb63] {
        padding: 20px 15px 40px;
    }

    .produto-window[b-ywl72ofb63] {
        max-width: 100%;
    }
}


@media (max-width: 650px) {

    .produto-header[b-ywl72ofb63] {
        padding: 22px 20px;
    }

    .produto-header-text h1[b-ywl72ofb63] {
        font-size: 19px;
    }

    .produto-content[b-ywl72ofb63] {
        padding: 20px;
    }

    .produto-form[b-ywl72ofb63] {
        padding: 20px;
    }

    .produto-grid[b-ywl72ofb63] {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 16px;
    }

    .produto-actions[b-ywl72ofb63] {
        margin-top: 30px;
        flex-direction: column-reverse;
    }

        .produto-actions button[b-ywl72ofb63] {
            width: 100%;
        }
}
