/* /Components/MeuToast.razor.rz.scp.css */
.meu-toast-modern-container[b-g2j892k1e3] {
    position: fixed;
    top: 44%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2147483647;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    max-height: calc(100vh - 48px);
    overflow: auto;
    align-items: center;
}

.toast-card[b-g2j892k1e3] {
    width: 420px;
    max-width: calc(100vw - 40px);
    display: flex;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15,23,42,0.18);
    overflow: hidden;
    pointer-events: auto;
    transform-origin: center;
    animation: toastIn-b-g2j892k1e3 360ms cubic-bezier(.2,.9,.2,1);
    border: 3px solid rgba(0,0,0,0.04);
}

.toast-card.closing[b-g2j892k1e3] {
    animation: toastOut-b-g2j892k1e3 280ms ease forwards;
}

.toast-success[b-g2j892k1e3] { border-color: rgba(40,167,69,0.9); }
.toast-error[b-g2j892k1e3]   { border-color: rgba(231,76,60,0.95); }
.toast-info[b-g2j892k1e3]    { border-color: rgba(52,152,219,0.95); }
.toast-warning[b-g2j892k1e3] { border-color: rgba(243,156,18,0.95); }

.toast-left[b-g2j892k1e3] {
    width: 8px;
    min-width: 8px;
}

.toast-body[b-g2j892k1e3] {
    padding: 12px 14px 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast-header[b-g2j892k1e3] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast-icon[b-g2j892k1e3] {
    font-size: 20px;
    color: rgba(255,255,255,0.95);
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: rgba(0,0,0,0.12);
    padding: 4px;
}

.toast-title[b-g2j892k1e3] {
    font-weight: 700;
    font-size: 14px;
    color: #12263a;
    flex: 1;
}

.toast-close[b-g2j892k1e3] {
    border: none;
    background: transparent;
    color: #586069;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 2px 6px;
}

.toast-message[b-g2j892k1e3] {
    font-size: 13px;
    color: #2d3a4a;
    opacity: 0.95;
}

.toast-progress[b-g2j892k1e3] {
    height: 4px;
    background: rgba(15,23,42,0.04);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 4px;
}

.toast-progress-bar[b-g2j892k1e3] {
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
    width: 100%;
    transform-origin: left;
    animation-name: progress-b-g2j892k1e3;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

@keyframes progress-b-g2j892k1e3 {
    from { width: 100%; }
    to { width: 0%; }
}

@keyframes toastIn-b-g2j892k1e3 {
    from { opacity: 0; transform: translateY(-8px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastOut-b-g2j892k1e3 {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to { opacity: 0; transform: translateY(-6px) scale(.98); }
}

.toast-success .toast-icon[b-g2j892k1e3] { background: linear-gradient(135deg,#28a745,#20c997); color: white; }
.toast-error   .toast-icon[b-g2j892k1e3] { background: linear-gradient(135deg,#e74c3c,#c0392b); color: white; }
.toast-info    .toast-icon[b-g2j892k1e3] { background: linear-gradient(135deg,#3498db,#2eccf4); color: white; }
.toast-warning .toast-icon[b-g2j892k1e3] { background: linear-gradient(135deg,#f39c12,#f1c40f); color: white; }

@media (max-width: 480px) {
    .toast-card[b-g2j892k1e3] { width: calc(100vw - 24px); }
    .meu-toast-modern-container[b-g2j892k1e3] { left: 12px; right: 12px; transform: none; top: 12px; }
}
/* /Pages/Administrativo/Cadastros/AdministrativoCadastros.razor.rz.scp.css */
/* Mantidos apenas estilos realmente utilizados para grid de botões ERP */
[b-e0ns4dqtkx] .button-grid-container {
    display: grid;
    gap: 20px;
    padding: 20px;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-rows: 100px;
}

/* Estilo base para cada botão ERP (SfButton) */
[b-e0ns4dqtkx] .button-erp-item.e-btn {
    height: 100%; /* Ocupa 100% da altura da célula do grid (que é 100px) */
    width: 100%; /* Ocupa a largura da coluna no grid */
    border-radius: 15px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.1), 0 6px 20px 0 rgba(0,0,0,0.08); /* Sombra mais suave */
    transition: all 0.3s ease; /* Transição suave para hover/active */
    background-color: #ffffff; /* Fundo branco para os botões */
    border: 1px solid #e0e0e0; /* Borda sutil */
    color: #333; /* Cor do texto padrão */
    font-weight: 500;
    /* NOVO: Garante que padding e border estejam incluídos na largura/altura total */
    box-sizing: border-box;
}

    [b-e0ns4dqtkx] .button-erp-item.e-btn:hover {
        box-shadow: 0 12px 24px 0 rgba(0,0,0,0.15), 0 8px 24px 0 rgba(0,0,0,0.12); /* Sombra maior no hover */
        transform: translateY(-3px); /* Leve levantamento */
        border-color: var(--icon-fill-color); /* Borda fica da cor do ícone no hover, se desejar */
    }

    [b-e0ns4dqtkx] .button-erp-item.e-btn:active {
        transform: translateY(0); /* Volta ao normal no clique */
        box-shadow: 0 4px 8px 0 rgba(0,0,0,0.08), 0 3px 10px 0 rgba(0,0,0,0.06);
    }

/* Estilo para o conteúdo dentro do botão (ícone + texto) */
[b-e0ns4dqtkx] .button-erp-item .button-content {
    display: flex;
    flex-direction: column; /* Ícone em cima, texto embaixo */
    align-items: center; /* Centraliza horizontalmente */
    justify-content: center; /* Centraliza verticalmente */
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 10px 5px; /* Espaçamento interno para mais "respiro" */
    box-sizing: border-box;
}

/* Definindo a animação de rotação horizontal */
@keyframes spinY-b-e0ns4dqtkx {
    from {
        transform: rotateY(0deg); /* Começa em 0 graus */
    }

    to {
        transform: rotateY(360deg); /* Gira até 360 graus (uma volta completa) */
    }
}

/* Wrapper para o ícone */
[b-e0ns4dqtkx] .button-erp-item .icon-wrapper {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    flex-shrink: 0;
    /* Remover a transição de 'transform' daqui se não quiser que o wrapper gire */
}

    /* Estilo para o SVG dentro do wrapper */
    [b-e0ns4dqtkx] .button-erp-item .icon-wrapper svg {
        width: 100%;
        height: 100%;
        fill: var(--icon-fill-color, currentColor);
        stroke: var(--icon-fill-color, currentColor);
        /* Manter a transição para fill e stroke, mas o 'transform' será controlado pela animação */
        transition: fill 0.3s ease, stroke 0.3s ease;
        transform-origin: center center;
        /* Adiciona uma propriedade para 'parar' a animação quando não estiver em hover */
        animation: none; /* Inicialmente, nenhuma animação aplicada */
    }

/* NOVO: Aplica a animação ao ícone quando o mouse estiver sobre o botão principal */
[b-e0ns4dqtkx] .button-erp-item.e-btn:hover .icon-wrapper svg {
    animation: spinY-b-e0ns4dqtkx 4s linear infinite; /* Aplica a animação 'spinY' */
    /* 4s: duração de 4 segundos para uma volta completa (mais lento) */
    /* linear: velocidade constante (sem aceleração/desaceleração) */
    /* infinite: repete a animação infinitamente enquanto o hover durar */
}

/* Estilo para a legenda do botão */
[b-e0ns4dqtkx] .button-erp-item .button-caption {
    font-size: 0.9em;
    font-weight: 600;
    line-height: 1.2;
    /* Manter essas propriedades para evitar quebra de texto e garantir consistência */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%; /* Garante que o texto ocupe a largura disponível, importante para ellipsis */
}


/* Media Queries para ajuste fino em telas menores */
@media (max-width: 768px) {
    [b-e0ns4dqtkx] .button-grid-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Botões menores em tablets */
        gap: 15px;
        grid-auto-rows: 90px; /* Ajusta a altura da linha para telas menores */
    }

    [b-e0ns4dqtkx] .button-erp-item.e-btn {
        border-radius: 10px;
    }

    [b-e0ns4dqtkx] .button-erp-item .icon-wrapper {
        width: 35px;
        height: 35px;
        margin-bottom: 5px;
    }

    [b-e0ns4dqtkx] .button-erp-item .button-caption {
        font-size: 0.85em;
    }
}

@media (max-width: 480px) {
    [b-e0ns4dqtkx] .button-grid-container {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* Botões ainda menores em celulares */
        gap: 10px;
        padding: 10px;
        grid-auto-rows: 80px; /* Ajusta a altura da linha para telas menores */
    }

    [b-e0ns4dqtkx] .button-erp-item.e-btn {
        border-radius: 8px;
    }

    [b-e0ns4dqtkx] .button-erp-item .icon-wrapper {
        width: 30px;
        height: 30px;
        margin-bottom: 3px;
    }

    [b-e0ns4dqtkx] .button-erp-item .button-caption {
        font-size: 0.8em;
    }
}
/* /Pages/Representante/RepresentantePage.razor.rz.scp.css */
/* Mantidos apenas estilos realmente utilizados para grid de botões ERP */
[b-8tkzivi8bq] .button-grid-container {
    display: grid;
    gap: 20px;
    padding: 20px;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-rows: 100px;
}

[b-8tkzivi8bq] .button-erp-item.e-btn {
    height: 100%;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.1), 0 6px 20px 0 rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    color: #333;
    font-weight: 500;
    box-sizing: border-box;
}

[b-8tkzivi8bq] .button-erp-item.e-btn:hover {
    box-shadow: 0 12px 24px 0 rgba(0,0,0,0.15), 0 8px 24px 0 rgba(0,0,0,0.12);
    transform: translateY(-3px);
    border-color: var(--icon-fill-color);
}

[b-8tkzivi8bq] .button-erp-item.e-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.08), 0 3px 10px 0 rgba(0,0,0,0.06);
}

[b-8tkzivi8bq] .button-erp-item .button-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 10px 5px;
    box-sizing: border-box;
}

@keyframes spinY-b-8tkzivi8bq {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

[b-8tkzivi8bq] .button-erp-item .icon-wrapper {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    flex-shrink: 0;
}

[b-8tkzivi8bq] .button-erp-item .icon-wrapper svg {
    width: 100%;
    height: 100%;
    fill: var(--icon-fill-color, currentColor);
    stroke: var(--icon-fill-color, currentColor);
    transition: fill 0.3s ease, stroke 0.3s ease;
    transform-origin: center center;
    animation: none;
}

[b-8tkzivi8bq] .button-erp-item.e-btn:hover .icon-wrapper svg {
    animation: spinY-b-8tkzivi8bq 4s linear infinite;
}

[b-8tkzivi8bq] .button-erp-item .button-caption {
    font-size: 0.9em;
    font-weight: 600;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

@media (max-width: 768px) {
    [b-8tkzivi8bq] .button-grid-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
        grid-auto-rows: 90px;
    }
    [b-8tkzivi8bq] .button-erp-item.e-btn { border-radius: 10px; }
    [b-8tkzivi8bq] .button-erp-item .icon-wrapper { width: 35px; height: 35px; margin-bottom: 5px; }
    [b-8tkzivi8bq] .button-erp-item .button-caption { font-size: 0.85em; }
}

@media (max-width: 480px) {
    [b-8tkzivi8bq] .button-grid-container {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
        padding: 10px;
        grid-auto-rows: 80px;
    }
    [b-8tkzivi8bq] .button-erp-item.e-btn { border-radius: 8px; }
    [b-8tkzivi8bq] .button-erp-item .icon-wrapper { width: 30px; height: 30px; margin-bottom: 3px; }
    [b-8tkzivi8bq] .button-erp-item .button-caption { font-size: 0.8em; }
}
/* /Pages/Usuario/Cadastros/Cadastros.razor.rz.scp.css */
/* Mantidos apenas estilos realmente utilizados para grid de botões ERP */
[b-37us5dlrhl] .button-grid-container {
    display: grid;
    gap: 20px;
    padding: 20px;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-rows: 100px;
}

[b-37us5dlrhl] .button-erp-item.e-btn {
    height: 100%;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.1), 0 6px 20px 0 rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    color: #333;
    font-weight: 500;
    box-sizing: border-box;
}

[b-37us5dlrhl] .button-erp-item.e-btn:hover {
    box-shadow: 0 12px 24px 0 rgba(0,0,0,0.15), 0 8px 24px 0 rgba(0,0,0,0.12);
    transform: translateY(-3px);
    border-color: var(--icon-fill-color);
}

[b-37us5dlrhl] .button-erp-item.e-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.08), 0 3px 10px 0 rgba(0,0,0,0.06);
}

[b-37us5dlrhl] .button-erp-item .button-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 10px 5px;
    box-sizing: border-box;
}

@keyframes spinY-b-37us5dlrhl {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

[b-37us5dlrhl] .button-erp-item .icon-wrapper {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    flex-shrink: 0;
}

[b-37us5dlrhl] .button-erp-item .icon-wrapper svg {
    width: 100%;
    height: 100%;
    fill: var(--icon-fill-color, currentColor);
    stroke: var(--icon-fill-color, currentColor);
    transition: fill 0.3s ease, stroke 0.3s ease;
    transform-origin: center center;
    animation: none;
}

[b-37us5dlrhl] .button-erp-item.e-btn:hover .icon-wrapper svg {
    animation: spinY-b-37us5dlrhl 4s linear infinite;
}

[b-37us5dlrhl] .button-erp-item .button-caption {
    font-size: 0.9em;
    font-weight: 600;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

@media (max-width: 768px) {
    [b-37us5dlrhl] .button-grid-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
        grid-auto-rows: 90px;
    }
    [b-37us5dlrhl] .button-erp-item.e-btn { border-radius: 10px; }
    [b-37us5dlrhl] .button-erp-item .icon-wrapper { width: 35px; height: 35px; margin-bottom: 5px; }
    [b-37us5dlrhl] .button-erp-item .button-caption { font-size: 0.85em; }
}

@media (max-width: 480px) {
    [b-37us5dlrhl] .button-grid-container {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
        padding: 10px;
        grid-auto-rows: 80px;
    }
    [b-37us5dlrhl] .button-erp-item.e-btn { border-radius: 8px; }
    [b-37us5dlrhl] .button-erp-item .icon-wrapper { width: 30px; height: 30px; margin-bottom: 3px; }
    [b-37us5dlrhl] .button-erp-item .button-caption { font-size: 0.8em; }
}
/* /Pages/Usuario/Cadastros/Historicos/TabCaracteristicasHistorico.razor.rz.scp.css */
.config-grid[b-pcw5iqmrz5] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px 25px 25px 25px;
}

.config-item[b-pcw5iqmrz5] {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.config-item[b-pcw5iqmrz5]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.config-item:hover[b-pcw5iqmrz5] {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.10);
    border-color: #667eea;
}

.config-item:hover[b-pcw5iqmrz5]::before { transform: scaleX(1); }

.modern-checkbox .e-checkbox-wrapper[b-pcw5iqmrz5] { margin-bottom: 0; padding: 4px 2px; }
.modern-checkbox .e-checkbox-wrapper .e-label[b-pcw5iqmrz5] {
    font-weight: 500;
    color: #495057;
    font-size: 14px;
}
.modern-checkbox .e-checkbox-wrapper.e-disable .e-label[b-pcw5iqmrz5] { opacity: .6; }
/* /Pages/Usuario/Movimentacoes/Movimentacoes.razor.rz.scp.css */
/* Mantidos apenas estilos realmente utilizados para grid de botões ERP */
[b-qmc39uzh0n] .button-grid-container {
    display: grid;
    gap: 20px;
    padding: 20px;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-rows: 100px;
}

[b-qmc39uzh0n] .button-erp-item.e-btn {
    height: 100%;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.1), 0 6px 20px 0 rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    color: #333;
    font-weight: 500;
    box-sizing: border-box;
}

[b-qmc39uzh0n] .button-erp-item.e-btn:hover {
    box-shadow: 0 12px 24px 0 rgba(0,0,0,0.15), 0 8px 24px 0 rgba(0,0,0,0.12);
    transform: translateY(-3px);
    border-color: var(--icon-fill-color);
}

[b-qmc39uzh0n] .button-erp-item.e-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.08), 0 3px 10px 0 rgba(0,0,0,0.06);
}

[b-qmc39uzh0n] .button-erp-item .button-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 10px 5px;
    box-sizing: border-box;
}

@keyframes spinY-b-qmc39uzh0n {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

[b-qmc39uzh0n] .button-erp-item .icon-wrapper {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    flex-shrink: 0;
}

[b-qmc39uzh0n] .button-erp-item .icon-wrapper svg {
    width: 100%;
    height: 100%;
    fill: var(--icon-fill-color, currentColor);
    stroke: var(--icon-fill-color, currentColor);
    transition: fill 0.3s ease, stroke 0.3s ease;
    transform-origin: center center;
    animation: none;
}

[b-qmc39uzh0n] .button-erp-item.e-btn:hover .icon-wrapper svg {
    animation: spinY-b-qmc39uzh0n 4s linear infinite;
}

[b-qmc39uzh0n] .button-erp-item .button-caption {
    font-size: 0.9em;
    font-weight: 600;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

@media (max-width: 768px) {
    [b-qmc39uzh0n] .button-grid-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
        grid-auto-rows: 90px;
    }
    [b-qmc39uzh0n] .button-erp-item.e-btn { border-radius: 10px; }
    [b-qmc39uzh0n] .button-erp-item .icon-wrapper { width: 35px; height: 35px; margin-bottom: 5px; }
    [b-qmc39uzh0n] .button-erp-item .button-caption { font-size: 0.85em; }
}

@media (max-width: 480px) {
    [b-qmc39uzh0n] .button-grid-container {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
        padding: 10px;
        grid-auto-rows: 80px;
    }
    [b-qmc39uzh0n] .button-erp-item.e-btn { border-radius: 8px; }
    [b-qmc39uzh0n] .button-erp-item .icon-wrapper { width: 30px; height: 30px; margin-bottom: 3px; }
    [b-qmc39uzh0n] .button-erp-item .button-caption { font-size: 0.8em; }
}
/* /Pages/Usuario/Relatorios/Relatorios.razor.rz.scp.css */
/* Mantidos apenas estilos realmente utilizados para grid de botões ERP */
[b-qc0dd4hkt5] .button-grid-container {
    display: grid;
    gap: 20px;
    padding: 20px;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-rows: 100px;
}

/* Estilo base para cada botão ERP (SfButton) */
[b-qc0dd4hkt5] .button-erp-item.e-btn {
    height: 100%; /* Ocupa 100% da altura da célula do grid (que é 100px) */
    width: 100%; /* Ocupa a largura da coluna no grid */
    border-radius: 15px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.1), 0 6px 20px 0 rgba(0,0,0,0.08); /* Sombra mais suave */
    transition: all 0.3s ease; /* Transição suave para hover/active */
    background-color: #ffffff; /* Fundo branco para os botões */
    border: 1px solid #e0e0e0; /* Borda sutil */
    color: #333; /* Cor do texto padrão */
    font-weight: 500;
    /* NOVO: Garante que padding e border estejam incluídos na largura/altura total */
    box-sizing: border-box;
}

    [b-qc0dd4hkt5] .button-erp-item.e-btn:hover {
        box-shadow: 0 12px 24px 0 rgba(0,0,0,0.15), 0 8px 24px 0 rgba(0,0,0,0.12); /* Sombra maior no hover */
        transform: translateY(-3px); /* Leve levantamento */
        border-color: var(--icon-fill-color); /* Borda fica da cor do ícone no hover, se desejar */
    }

    [b-qc0dd4hkt5] .button-erp-item.e-btn:active {
        transform: translateY(0); /* Volta ao normal no clique */
        box-shadow: 0 4px 8px 0 rgba(0,0,0,0.08), 0 3px 10px 0 rgba(0,0,0,0.06);
    }

/* Estilo para o conteúdo dentro do botão (ícone + texto) */
[b-qc0dd4hkt5] .button-erp-item .button-content {
    display: flex;
    flex-direction: column; /* Ícone em cima, texto embaixo */
    align-items: center; /* Centraliza horizontalmente */
    justify-content: center; /* Centraliza verticalmente */
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 10px 5px; /* Espaçamento interno para mais "respiro" */
    box-sizing: border-box;
}

/* Definindo a animação de rotação horizontal */
@keyframes spinY-b-qc0dd4hkt5 {
    from {
        transform: rotateY(0deg); /* Começa em 0 graus */
    }

    to {
        transform: rotateY(360deg); /* Gira até 360 graus (uma volta completa) */
    }
}

/* Wrapper para o ícone */
[b-qc0dd4hkt5] .button-erp-item .icon-wrapper {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    flex-shrink: 0;
    /* Remover a transição de 'transform' daqui se não quiser que o wrapper gire */
}

    /* Estilo para o SVG dentro do wrapper */
    [b-qc0dd4hkt5] .button-erp-item .icon-wrapper svg {
        width: 100%;
        height: 100%;
        fill: var(--icon-fill-color, currentColor);
        stroke: var(--icon-fill-color, currentColor);
        /* Manter a transição para fill e stroke, mas o 'transform' será controlado pela animação */
        transition: fill 0.3s ease, stroke 0.3s ease;
        transform-origin: center center;
        /* Adiciona uma propriedade para 'parar' a animação quando não estiver em hover */
        animation: none; /* Inicialmente, nenhuma animação aplicada */
    }

/* NOVO: Aplica a animação ao ícone quando o mouse estiver sobre o botão principal */
[b-qc0dd4hkt5] .button-erp-item.e-btn:hover .icon-wrapper svg {
    animation: spinY-b-qc0dd4hkt5 4s linear infinite; /* Aplica a animação 'spinY' */
    /* 4s: duração de 4 segundos para uma volta completa (mais lento) */
    /* linear: velocidade constante (sem aceleração/desaceleração) */
    /* infinite: repete a animação infinitamente enquanto o hover durar */
}

/* Estilo para a legenda do botão */
[b-qc0dd4hkt5] .button-erp-item .button-caption {
    font-size: 0.9em;
    font-weight: 600;
    line-height: 1.2;
    /* Manter essas propriedades para evitar quebra de texto e garantir consistência */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%; /* Garante que o texto ocupe a largura disponível, importante para ellipsis */
}


/* Media Queries para ajuste fino em telas menores */
@media (max-width: 768px) {
    [b-qc0dd4hkt5] .button-grid-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Botões menores em tablets */
        gap: 15px;
        grid-auto-rows: 90px; /* Ajusta a altura da linha para telas menores */
    }

    [b-qc0dd4hkt5] .button-erp-item.e-btn {
        border-radius: 10px;
    }

    [b-qc0dd4hkt5] .button-erp-item .icon-wrapper {
        width: 35px;
        height: 35px;
        margin-bottom: 5px;
    }

    [b-qc0dd4hkt5] .button-erp-item .button-caption {
        font-size: 0.85em;
    }
}

@media (max-width: 480px) {
    [b-qc0dd4hkt5] .button-grid-container {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* Botões ainda menores em celulares */
        gap: 10px;
        padding: 10px;
        grid-auto-rows: 80px; /* Ajusta a altura da linha para telas menores */
    }

    [b-qc0dd4hkt5] .button-erp-item.e-btn {
        border-radius: 8px;
    }

    [b-qc0dd4hkt5] .button-erp-item .icon-wrapper {
        width: 30px;
        height: 30px;
        margin-bottom: 3px;
    }

    [b-qc0dd4hkt5] .button-erp-item .button-caption {
        font-size: 0.8em;
    }
}
/* /Pages/Usuario/UsuarioManutencao.razor.rz.scp.css */
/* Mantidos apenas estilos realmente utilizados para grid de botões ERP */
[b-5khf1u7bzx] .button-grid-container {
    display: grid;
    gap: 20px;
    padding: 20px;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-rows: 100px;
}

[b-5khf1u7bzx] .button-erp-item.e-btn {
    height: 100%;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.1), 0 6px 20px 0 rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    color: #333;
    font-weight: 500;
    box-sizing: border-box;
}

[b-5khf1u7bzx] .button-erp-item.e-btn:hover {
    box-shadow: 0 12px 24px 0 rgba(0,0,0,0.15), 0 8px 24px 0 rgba(0,0,0,0.12);
    transform: translateY(-3px);
    border-color: var(--icon-fill-color);
}

[b-5khf1u7bzx] .button-erp-item.e-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.08), 0 3px 10px 0 rgba(0,0,0,0.06);
}

[b-5khf1u7bzx] .button-erp-item .button-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 10px 5px;
    box-sizing: border-box;
}

@keyframes spinY-b-5khf1u7bzx {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

[b-5khf1u7bzx] .button-erp-item .icon-wrapper {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    flex-shrink: 0;
}

[b-5khf1u7bzx] .button-erp-item .icon-wrapper svg {
    width: 100%;
    height: 100%;
    fill: var(--icon-fill-color, currentColor);
    stroke: var(--icon-fill-color, currentColor);
    transition: fill 0.3s ease, stroke 0.3s ease;
    transform-origin: center center;
    animation: none;
}

[b-5khf1u7bzx] .button-erp-item.e-btn:hover .icon-wrapper svg {
    animation: spinY-b-5khf1u7bzx 4s linear infinite;
}

[b-5khf1u7bzx] .button-erp-item .button-caption {
    font-size: 0.9em;
    font-weight: 600;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

@media (max-width: 768px) {
    [b-5khf1u7bzx] .button-grid-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
        grid-auto-rows: 90px;
    }
    [b-5khf1u7bzx] .button-erp-item.e-btn { border-radius: 10px; }
    [b-5khf1u7bzx] .button-erp-item .icon-wrapper { width: 35px; height: 35px; margin-bottom: 5px; }
    [b-5khf1u7bzx] .button-erp-item .button-caption { font-size: 0.85em; }
}

@media (max-width: 480px) {
    [b-5khf1u7bzx] .button-grid-container {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
        padding: 10px;
        grid-auto-rows: 80px;
    }
    [b-5khf1u7bzx] .button-erp-item.e-btn { border-radius: 8px; }
    [b-5khf1u7bzx] .button-erp-item .icon-wrapper { width: 30px; height: 30px; margin-bottom: 3px; }
    [b-5khf1u7bzx] .button-erp-item .button-caption { font-size: 0.8em; }
}
/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-3gmjh1fw9q] {
    position: relative;
    display: flex;
    flex-direction: column;
}

.main[b-3gmjh1fw9q] {
    flex: 1;
}

.sidebar[b-3gmjh1fw9q] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-3gmjh1fw9q] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-3gmjh1fw9q]  a, .top-row .btn-link[b-3gmjh1fw9q] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-3gmjh1fw9q] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 767.98px) {
    .top-row:not(.auth)[b-3gmjh1fw9q] {
        display: none;
    }

    .top-row.auth[b-3gmjh1fw9q] {
        justify-content: space-between;
    }

    .top-row a[b-3gmjh1fw9q], .top-row .btn-link[b-3gmjh1fw9q] {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    .page[b-3gmjh1fw9q] {
        flex-direction: row;
    }

    .sidebar[b-3gmjh1fw9q] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-3gmjh1fw9q] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .main > div[b-3gmjh1fw9q] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
