﻿/* Esse documento foi criado para melhor edição do boostrap.css Obs: Esse arquivo é usado em todos os Dashboards*/

/*Classe que sempre faz com que apareça o scroll de tela*/
html {
    overflow-y: scroll;
}

/*Ajuste de escritar Dashboard Piloto*/
.ajuste {
    margin-left: 20px;
    margin-top: 15px;
}

/* ============================================================
   DESIGN DAS TABELAS – Estilos aplicados a tabelas do Kendo Grid
   Exemplo de uso: <div class="designTable">...</div>
============================================================ */
.designTable .k-grid {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    font-size: 14px;
    font-family: 'Segoe UI', sans-serif;
    background-color: #fff;
    width: 100%;
    table-layout: fixed;
}

.designTable .k-grid-header {
    color: #000 !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-bottom: none;
}

    /* Texto do cabeçalho (inclui links e ordenação) */
    .designTable .k-grid-header .k-header,
    .designTable .k-grid-header th,
    .designTable .k-grid-header .k-link {
        color: #000 !important;
        text-align: center;
        padding: 14px 10px;
        border: none;
    }

/* Linhas alternadas */
.designTable .k-grid tbody tr:nth-child(even) {
    background-color: #fafafa;
}

/* Hover nas linhas */
.designTable .k-grid tbody tr:hover {
    background-color: #d6ffd9;
    transition: background-color 0.2s ease-in-out;
}

/* Botões da toolbar */
.designTable .k-grid .k-toolbar .k-button {
    background: linear-gradient(135deg, #4CAF50, #43a047);
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

    .designTable .k-grid .k-toolbar .k-button:hover {
        background: linear-gradient(135deg, #43a047, #388e3c);
    }

/* Paginação */
.designTable .k-grid .k-pager-wrap {
    background: #fff;
    padding: 8px;
}

    .designTable .k-grid .k-pager-wrap .k-link {
        color: #4CAF50;
        border-radius: 6px;
    }

    .designTable .k-grid .k-pager-wrap .k-state-selected {
        background: #4CAF50;
        color: #fff !important;
    }

    .designTable .k-grid .k-pager-wrap .k-link {
        width: 2rem;
        height: 2rem;
    }

/*Centralização dos Itens*/
.designTable .k-grid td .btn {
    align-items: center;
    justify-content: center;
}

.designTable .k-grid td,
.designTable .k-grid th {
    min-width: 120px;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
    text-align: center;
    padding: 10px 12px;
    color: #000;
    border-color: #f0f0f0;
}

/* ============================================================
   CARD DE CABEÇALHO – Usado para cards maiores de destaque
   Exemplo de uso: <div class="card-cabecalho">...</div>
============================================================ */
.card-cabecalho {
    flex: 1 1 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    background: #f6fff7 !important;
    background-clip: border-box;
    border: 1.5px solid rgba(223, 215, 202, 0.75);
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    border-radius: 16px;
}

.card-cabecalho .text-xs {
        height: 2.8em;
    }

.card-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin-left: 0;
    margin-right: 0;
}

.col-lg {
    display: flex;
    flex-direction: column;
}

/*Id para o gráfico de consumo ocupar o card completo*/
#div_chart_consuption .card {
    margin-bottom: 1rem;
}

/* ============================================================
   CARD BASE – Estrutura principal dos cards no dashboard
   Exemplo de uso: <div class="card">...</div>
============================================================ */
.card {
    border: none;
    border-radius: 16px;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/*Card para usar nos consolidados que são de mesmo tamanho*/
.card-background {
    border: none;
    border-radius: 16px;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #f6fff7 !important;
}

/* Efeito hover */
.card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* Cabeçalho */
.text-green {
    color: #43a047 !important;
}

/* Valor central */
.card .h1 {
    font-size: 2.2rem;
    font-weight: 700;
}

/* Espaçamento interno */
.card-body {
    padding: 1.5rem;
}

/* ============================================================
   CONTAINER DAS ABAS – Estilização das abas de navegação
   Exemplo de uso: <ul class="nav nav-tabs">...</ul>
============================================================ */
.nav-tabs {
    border-bottom: none;
    display: flex;
    margin-bottom: 1rem;
}

    .nav-tabs .nav-item {
        margin: 0 4px;
    }

/* ============================================================
   LINKS DAS ABAS – Estados padrão, hover e ativo
============================================================ */
    /* Aba padrão */
    .nav-tabs .nav-link {
        border: 2px solid #28a745;
        border-radius: 8px;
        padding: 10px 18px;
        font-weight: 600;
        color: #39b23e;
        background-color: white;
        transition: all 0.3s ease;
        box-shadow: 0 4px 6px rgba(40,167,69,0.15);
    }

        .nav-tabs .nav-link:hover {
            background-color: #c8ffcb;
            box-shadow: 0 6px 10px rgba(40,167,69,0.3);
        }

        .nav-tabs .nav-link.active {
            background-color: #c8ffcb;
            color: #fff;
        }

/* ============================================================
   BOTÃO SECUNDÁRIO – Usado dentro das abas
   Exemplo de uso: <button class="button btn-outline-secondary">...</button>
============================================================ */
.button.btn-outline-secondary {
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    font-size: 16px !important;
    text-align: center !important;
    line-height: 1 !important;
}

#dashboard-panel {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    background-color: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
    z-index: 999;
}

    #dashboard-panel.hidden {
        opacity: 0;
        transform: translateY(20px);
        pointer-events: none;
    }

/* ============================================================
   BOTÃO FLUTUANTE – Acesso a aba de exibição
   Exemplo de uso: <div class="floating-button">...</div>
============================================================ */

.floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    outline: none;
    background: linear-gradient(145deg, #43a047, #66bb6a);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
    z-index: 1000;
}

    .floating-button:focus {
        outline: none;
    }

    .floating-button:hover {
        box-shadow: 0 12px 20px rgba(0,0,0,0.3);
        background: linear-gradient(145deg, #66bb6a, #43a047);
    }

    .floating-button a {
        color: #FFF !important;
    }

/* ============================================================
   SEÇÃO DE GRÁFICO – Expansão e recolhimento animado
   Exemplo de uso: <div class="chart-section">...</div>
============================================================ */
.chart-section {
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    max-height: 1000px;
}

    .chart-section.collapsed {
        max-height: 0;
        padding: 0 !important;
    }

/* ============================================================
   ÍCONE DE TOGGLE – Usado para expandir/recolher gráficos 
   ou tabelas Exemplo de uso: <i class="toggle-icon">...</i>
============================================================ */
.toggle-icon {
    font-size: 1rem;
    color: #6c757d;
    transition: transform 0.2s;
}

    .toggle-icon:hover {
        color: #343a40;
        transform: scale(1.2);
    }

.chart-content {
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    max-height: 1000px;
}

    .chart-content.collapsed {
        max-height: 0;
        padding: 0 !important;
    }

/* ============================================================
   MENU DE EXIBIÇÃO – Dashboard Operacional
   Exemplo de uso: <div class="modal-panel">...</div>
============================================================ */
.modal-panel {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 30vw;
    max-width: 500px;
    min-width: 400px;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

    .modal-panel.show {
        opacity: 1;
        transform: scale(1);
        pointer-events: auto;
    }


    .modal-panel label {
        display: block;
        margin-bottom: 8px;
        font-size: 14px;
        cursor: pointer;
    }

    .modal-panel input[type="checkbox"] {
        margin-right: 6px;
    }

@media (max-width: 25vw) {
    .modal-panel {
        width: 25vw;
    }

        .modal-panel .d-flex {
            flex-wrap: wrap;
        }

        .modal-panel input,
        .modal-panel select,
        .modal-panel button {
            width: 100%;
        }
}


.custom-control.custom-switch .custom-control-label::before {
    left: -2.25rem;
    width: 2rem;
    height: 1rem;
    border-radius: 1rem;
    background-color: #ccc;
    transition: background-color 0.3s ease-in-out;
}

.custom-control.custom-switch .custom-control-label::after {
    top: 0.1rem;
    left: -2.25rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: #fff;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.custom-control.custom-switch .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #43a047; 
}

.custom-control.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(1rem);
    background-color: #fff;
}

/* ============================================================
   GRÁFICO DE AC'S – Ajustes de tamanho e proporção
   Exemplo de uso: <canvas id="ac1Chart">...</canvas>
============================================================ */
#ac1Chart {
    max-height: 200px;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    max-width: 220px;
    width: 100%;
}

.chart-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 400px; 
}

/*Gráfico de Pizza*/
#consumoPizza {
    margin: auto;
    display: block;
}

.chart-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px; 
    flex-wrap: wrap;
}

.chart-wrapper {
    width: 400px;
    height: 400px;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    font-family: "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

    .chart-legend li {
        list-style: none;
        display: flex;
        align-items: center;
        cursor: pointer;
    }

    .chart-legend span {
        display: inline-block;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        margin-right: 8px;
    }

#consumoLegenda ul {
    padding: 0;
    margin: 0;
}

#consumoLegenda li {
    margin-bottom: 6px;
}

/* ============================================================
   BOTÃO DE UPLOAD PDF – Estilo do botão na aba de faturas
   Exemplo de uso: <button class="uploadpdf">...</button>
============================================================ */
.uploadpdf {
    display: inline-block;
    padding: 10px 20px;
    background-color: #9bd08e;
    color: white;
    font-size: 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .uploadpdf:hover {
        background-color: grey;
    }

#pdfInput {
    display: none;
}


/* ============================================================
   TABELA DE FATURAS – Estilos aplicados à tabela de uploads de faturas
   Exemplo de uso: <div id="uploadBillTable"><table>...</table></div>
============================================================ */
#uploadBillTable table {
    width: 100%;
    border-collapse: collapse;
    font-family: inherit;
    font-size: 14px;
    background-color: #fff;
    border: 1px solid #ddd;
}

#uploadBillTable thead {
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
}

#uploadBillTable th {
    text-align: left;
    padding: 8px 12px;
    font-weight: 600;
    color: #333;
    border-right: 1px solid #ddd;
}

#uploadBillTable td {
    padding: 8px 12px;
    border-top: 1px solid #ddd;
    border-right: 1px solid #ddd;
    vertical-align: middle;
}

#uploadBillTable tr:nth-child(even) {
    background-color: #fafafa;
}

#uploadBillTable tbody tr:hover {
    background-color: #e6f2ff;
    transition: background-color 0.2s;
}

#uploadBillTable .btn-sm {
    padding: 4px 8px;
    font-size: 13px;
    border-radius: 4px;
}

#uploadBillTable i.fa {
    font-size: 14px;
}

#uploadBillTable th:last-child,
#uploadBillTable td:last-child {
    border-right: none;
}

.filters-flat {
    display: flex;
    gap: 2rem; /* espaço entre os filtros */
    align-items: center; /* centraliza verticalmente tudo */
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

/* cada filtro em linha */
.filter-item {
    display: flex;
    flex-direction: row; /* linha em vez de coluna */
    align-items: center;
    gap: 0.5rem; /* espaço entre label e input */
}

    /* estilização de label */
    .filter-item label {
        font-size: 0.8rem;
        font-weight: 500;
        color: #249c62;
        letter-spacing: 0.2px;
        margin: 0; /* remove margin-bottom antigo */
    }

    /* Checkbox pequeno */
    .filter-item input[type="checkbox"] {
        appearance: none;
        width: 22px;
        height: 22px;
        border: 2px solid #249c62;
        border-radius: 6px;
        position: relative;
        cursor: pointer;
        transition: all 0.25s ease;
    }

        .filter-item input[type="checkbox"]:hover {
            box-shadow: 0 0 0 3px rgba(36,156,98,0.15);
        }

        .filter-item input[type="checkbox"]:checked {
            background-color: #249c62;
            border-color: #249c62;
        }

            .filter-item input[type="checkbox"]:checked::after {
                content: "✓";
                color: #fff;
                font-size: 0.9rem;
                position: absolute;
                top: 1px;
                left: 4px;
            }

    /* Select minimalista */
    .filter-item select {
        min-width: 150px;
        height: 36px;
        padding: 0 0.8rem;
        border: 2px solid #d6d6d6;
        border-radius: 0.6rem;
        background: #fff;
        color: #1d1d1d;
        font-size: 0.9rem;
        font-weight: 500;
        outline: none;
        transition: border 0.2s ease, box-shadow 0.2s ease;
        cursor: pointer;
    }

        .filter-item select:hover {
            border-color: #249c62;
        }

        .filter-item select:focus {
            border-color: #249c62;
            box-shadow: 0 0 0 3px rgba(36,156,98,0.2);
        }

.ui-card-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 0.75rem;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

    .ui-card-row:hover {
        box-shadow: 0 3px 8px rgba(40, 167, 69, 0.12);
    }

    .ui-card-row .flex-fill {
        flex: 1;
    }

    .ui-card-row label {
        font-weight: 500;
        color: #4a4a4a;
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
        display: block;
        letter-spacing: 0.5px;
    }

    .ui-card-row input {
        width: 100%;
        border: 1px solid #e0e0e0;
        border-radius: 0.5rem;
        background-color: #fafafa;
        padding: 0.55rem 0.75rem;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
    }

        .ui-card-row input:hover {
            border-color: #28a745;
            background-color: #fff;
        }

        .ui-card-row input:focus {
            border-color: #28a745;
            outline: none;
            box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
            background-color: #fff;
        }

        .ui-card-row input::placeholder {
            color: #b0b0b0;
            font-style: italic;
        }

@media (max-width: 767px) {
    .ui-card-row {
        flex-direction: column;
        padding: 0.75rem;
    }
}

.btn-edit {
    background-color: steelblue;
    color: white;
    transition: all 0.25s ease; 
    border-radius: 0.35rem;
}

    .btn-edit:hover {
        background-color: #4682b4; 
        transform: scale(1.05);
        box-shadow: 0 2px 6px rgba(0,0,0,0.15);
        cursor: pointer;
    }

.designButton button {
    background: #9bd08e;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 400;
    border: none;
    border-radius: 12px;
    padding: 8px 18px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: background 0.25s, transform 0.15s, box-shadow 0.25s;
}

    .designButton button i {
        font-size: 1.1rem;
    }

    .designButton button:hover { 
        background: #43a047;
        transform: translateY(-2px);
    }

    .designButton button:active {
        transform: scale(0.97);
        border: 2px solid #43a047; 
    }

    body.modal-open {
        padding-right: 0 !important;
    }

.designButtonExcel button {
    background-color: #9bd08e;
    color: #ffffff; 
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

    .designButtonExcel button:hover {
        background-color: #7ac174; 
        box-shadow: 0 6px 10px rgba(0,0,0,0.15);
    }

    .designButtonExcel button:active {
        transform: scale(0.97);
        box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    }

.animated-modal {
    border-radius: 15px;
    border: 2px solid #4CAF50;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    opacity: 0;
    transform: scale(0.7);
    transition: all 0.3s ease-in-out;
}

.modal.show .animated-modal {
    opacity: 1;
    transform: scale(1);
}

.check-circle {
    background-color: #4CAF50;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -35px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transform: scale(0);
    animation: pop 0.5s forwards;
}

@keyframes pop {
    0% {
        transform: scale(0);
    }

    60% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.animated-modal .btn-outline-success {
    border-radius: 25px;
    padding: 6px 20px;
    transition: all 0.2s ease-in-out;
}

    .animated-modal .btn-outline-success:hover {
        background-color: #4CAF50;
        color: white;
        border-color: #4CAF50;
    }

.form-control-label {
    font-weight: 600;
    color: #2e7d32;
}
.form-control {
    border-radius: 8px;
    border: 1px solid #2e7d32;
    transition: all 0.3s ease;
}

    .form-control:focus {
        border-color: #66bb6a;
        box-shadow: 0 0 8px rgba(102, 187, 106, 0.4); 
    }

.form-text.text-danger {
    font-size: 0.875em;
    margin-top: 4px;
}
/* Container geral do terminal */
.systemConsole-container {
    margin-top: 10px;
    text-align: left;
    width: 95%;
    max-width: 1200px;
    height: 90vh;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #121212;
    padding: 10px;
    border-radius: 8px;
}

.systemConsole-output {
    background-color: #000;
    color: #4CAF50;
    padding: 15px;
    flex: 1;
    overflow-y: auto;
    font-family: monospace;
    font-size: 0.95em;
    white-space: pre-wrap;
    border-radius: 5px;
}

.systemConsole-input-container {
    margin-top: 10px;
    display: flex;
    gap: 5px;
}

.systemConsole-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #4CAF50;
    background-color: #1e1e1e;
    color: #ffffff;
    border-radius: 5px;
    font-family: monospace;
}

.systemConsole-btn, .systemConsole-toggle-btn {
    background-color: #4CAF50;
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
}

    .systemConsole-btn:hover, .systemConsole-toggle-btn:hover {
        background-color: #45a049;
    }

.hidden {
    display: none;
}

.logo-container {
    display: flex;
    justify-content: center; 
    align-items: center; 
    margin: 20px 0; 
}

    .logo-container img {
        width: 212px;
        height: auto;
    }


/* ============================================================
   ÍCONE ROTATIVO – ícone rotativo para "carregando..."
   Exemplo de uso: <div><span class="spinner"></span></div>
============================================================ */

.spinner {
    width: 48px;
    height: 48px;
    border: 5px dotted #4CAF50;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    animation: rotation 2s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ============================================================
   ANÁLISE GENERATIVA
============================================================ */

#responseText {
    max-height: 60vh;
    overflow-y: auto;
    padding-left: 12px;
    padding-top: 12px;

    line-height: 1.5;
    white-space: normal;
}

.branch-selector {
    position: relative;
    width: 100%;
    font-family: inherit;
}

.branch-button {
    width: 100%;
    padding: 4px 10px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    text-align: left;
    font-size: 14px;
}

    .branch-button:after {
        content: "▼";
        float: right;
        font-size: 10px;
        margin-top: 4px;
        color: #666;
    }

.branch-panel {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 4px;
    max-height: 350px;
    overflow-y: auto;
    padding: 8px;
    z-index: 9999;
}

.branch-search {
    width: 100%;
    padding: 6px 8px;
    margin-bottom: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.branch-item,
.branch-select-all {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 14px;
}

    .branch-item input,
    .branch-select-all input {
        margin: 0;
    }

    .branch-item label,
    .branch-select-all label {
        margin: 0;
        cursor: pointer;
    }

.branch-filters {
    margin-bottom: 8px;
}

.branch-filter-row {
    display: flex;
    gap: 6px;
    margin-bottom: 6px;
}

.branch-filter {
    flex: 1;
    font-size: 13px;
    padding: 4px 6px;
}

/* 
==========================
   Painel de Eficiência
==========================
*/

.EfficiencyWrapper {
    width: 70%;
    margin: 40px auto;
}

.Group {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.ColorBand {
    width: 16px;
}

.GroupContent {
    flex: 1;
    padding: 15px;
}

.GroupHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.HeaderLeft {
    display: flex;
    align-items: center;
    gap: 12px;
}

.HeaderLeft h4 {
    margin: 0;
}

.LetterCircle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.Chevron {
    transition: transform 0.4s ease;
}

.Group.collapsed .Chevron {
    transform: rotate(180deg);
}

.GroupList {
    margin-top: 15px;
}

.Group.collapsed .GroupList {
    display: none;
}

.Row {
    position: relative;
    padding: 10px 10px 10px 35px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

    .Row:hover {
        background: #f5f5f5;
    }

.EditIcon {
    position: absolute;
    left: 10px;
    opacity: 0;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.Row:hover .EditIcon {
    opacity: 1;
}

.EditBox {
    display: none;
}

.RowWrapper.editing .EditBox {
    display: flex;
}

.EditIcon {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.RowWrapper:hover .EditIcon {
    opacity: 1;
}

.Group.gray .ColorBand,
.Group.gray .LetterCircle {
    background-color: #a1a1a1;
}

.Group.blue .ColorBand,
.Group.blue .LetterCircle {
    background-color: #009fff;
}

.Group.green .ColorBand,
.Group.green .LetterCircle {
    background-color: #00d619;
}

.Group.yellow .ColorBand,
.Group.yellow .LetterCircle {
    background-color: #ffdb00;
}

.Group.orange .ColorBand,
.Group.orange .LetterCircle {
    background-color: #ff8d00;
}

.Group.red .ColorBand,
.Group.red .LetterCircle {
    background-color: #ff0000;
}

/* 
===========
   Modal
===========
*/

.modal-85 {
    max-width: 85%;
}