/* Ajustes globais para diminuir o peso das fontes */

/* Definição da fonte Rubik para todo o sistema */
body, 
p, 
span, 
div, 
td, 
th, 
li, 
a, 
input, 
select, 
textarea, 
button,
h1, 
h2, 
h3, 
h4, 
h5, 
h6,
.menu-item,
.menu-label,
.form-label,
.btn,
.data-table,
.modal-content,
* {
    font-family: 'Rubik', sans-serif !important;
}

/* Ajuste geral para todos os elementos de texto */
body, p, span, div, td, th, li, a, input, select, textarea, button {
    font-weight: 400 !important;
}

/* Títulos principais */
h1, h2, h3, h4, h5, h6,
.page-container h1, .content-header h1, .modal-header h1, h1.page-title,
.page-container h2, .card h2, .stats-card h2, h2.section-title,
.modal-title h2,
.budget-products-section h3,
.modal-header h3 {
    font-weight: 500 !important;
}

/* Valores de estatísticas */
.stat-value, .stats-card .stat-value, .card .stat-value, .dashboard .stat-value {
    font-weight: 500 !important;
}

/* Itens de menu e navegação - ajuste específico para menus laterais */
.menu-item, 
.menu-group-header, 
.menu-item.active, 
.menu-label, 
.sidebar .menu li a,
.sidebar .menu-item,
.sidebar .menu-header,
.sidebar .menu-group-header,
.sidebar .menu-label,
ul.menu li a,
.menu li a {
    font-weight: 400 !important;
}

/* Menu ativo */
.menu-item.active, 
.sidebar .menu-item.active {
    font-weight: 400 !important;
}

/* Botões e ações */
.btn, .btn-primary, .btn-secondary, .btn-danger, .btn-save, .btn-cancel,
.action-button, .btn-icon, .btn-circle, .btn-add-product {
    font-weight: 400 !important;
}

/* Badges e status */
.badge, .badge-success, .badge-warning, .badge-waiting, .badge-overdue, .badge-cancelled,
.badge-blue, .badge-yellow, .badge-green,
.status-select, .status-select.approved, .status-select.pending, 
.status-select.waiting, .status-select.rejected {
    font-weight: 400 !important;
}

/* Tabelas */
.data-table th {
    font-weight: 500 !important;
}

.data-table td {
    font-weight: 400 !important;
}

/* Formulários */
.form-label {
    font-weight: 400 !important;
}

/* Cabeçalhos de cards e seções */
.card-header, .section-title, .tab-btn {
    font-weight: 500 !important;
}

/* Elementos específicos */
.summary-label, .summary-value {
    font-weight: 400 !important;
}

.summary-item.total .summary-label,
.summary-item.total .summary-value {
    font-weight: 500 !important;
}

.suggestion-code, .suggestion-name, .suggestion-price {
    font-weight: 400 !important;
}

/* Classes específicas de texto */
.menu-header, .stat-label, .activity-name, .activity-date {
    font-weight: 400 !important;
}

/* Classes específicas para menus laterais */
.menu-header {
    font-weight: 400 !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.sidebar .menu-header {
    font-weight: 400 !important;
}

.menu-item,
.menu-item.active,
.menu li a,
.menu li a.active,
.sidebar .menu-item,
.sidebar .menu-item.active {
    font-weight: 400 !important;
}

/* Menu toggle deve ser leve também */
.menu-toggle, 
.menu-group-header .menu-toggle {
    font-weight: 400 !important;
}

/* Correções para tabela de produtos no orçamento */
#selectedProductsTable th,
#selectedProductsTable td {
    text-align: center !important;
    vertical-align: middle !important;
    padding: 8px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
}

#selectedProductsTable th:nth-child(2),
#selectedProductsTable td:nth-child(2) {
    text-align: left !important;
}

.selected-products-container .data-table th,
.selected-products-container .data-table td {
    text-align: center !important;
    vertical-align: middle !important;
}

.product-quantity,
td.product-quantity,
.product-code,
td.product-code {
    text-align: left !important;
}

/* Garantir que valores de quantidade estejam centralizados */
.data-table td[class*="quant"],
.data-table th[class*="quant"] {
    text-align: center !important;
}

/* Garantir que códigos de produto estejam centralizados */
.data-table td[class*="code"],
.data-table th[class*="code"] {
    text-align: center !important;
} 