/* ============================================================
   ENERGY HUB 360 - Design System
   Modern Enterprise SaaS Theme v1.0
   ============================================================ */

/* 1. VARIABLES */
:root {
  --eh-primary: #165DFF;
  --eh-primary-hover: #0E4DD8;
  --eh-primary-light: #E8F0FF;
  --eh-secondary: #0B1F4D;
  --eh-success: #22C55E;
  --eh-success-light: #DCFCE7;
  --eh-warning: #F59E0B;
  --eh-warning-light: #FEF3C7;
  --eh-danger: #EF4444;
  --eh-danger-light: #FEE2E2;
  --eh-info: #06B6D4;
  --eh-info-light: #DBEAFE;
  --eh-bg: #F5F7FB;
  --eh-surface: #FFFFFF;
  --eh-surface-secondary: #FAFBFD;
  --eh-border: #E8EDF5;
  --eh-divider: #EDF2F7;
  --eh-text-primary: #1E293B;
  --eh-text-secondary: #64748B;
  --eh-text-disabled: #94A3B8;
  --eh-text-inverse: #FFFFFF;
  --eh-sidebar-bg: #081B45;
  --eh-sidebar-hover: #12306F;
  --eh-sidebar-active: #165DFF;
  --eh-sidebar-text: #FFFFFF;
  --eh-sidebar-width: 260px;
  --eh-header-bg: #FFFFFF;
  --eh-header-border: #E8EDF5;
  --eh-header-height: 72px;
  --eh-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --eh-font-size-xs: 11px;
  --eh-font-size-sm: 12px;
  --eh-font-size-base: 14px;
  --eh-font-size-lg: 16px;
  --eh-font-size-xl: 18px;
  --eh-font-size-2xl: 22px;
  --eh-font-size-3xl: 26px;
  --eh-font-size-4xl: 32px;
  --eh-line-height: 1.5;
  --eh-space-xs: 4px;
  --eh-space-sm: 8px;
  --eh-space-md: 16px;
  --eh-space-lg: 24px;
  --eh-space-xl: 32px;
  --eh-space-xxl: 48px;
  --eh-radius-sm: 6px;
  --eh-radius-md: 10px;
  --eh-radius-lg: 14px;
  --eh-radius-xl: 16px;
  --eh-radius-full: 9999px;
  --eh-shadow-sm: 0 1px 3px rgba(15,23,42,0.04);
  --eh-shadow-md: 0 4px 12px rgba(15,23,42,0.05);
  --eh-shadow-lg: 0 8px 24px rgba(15,23,42,0.08);
  --eh-shadow-xl: 0 12px 40px rgba(15,23,42,0.12);
  --eh-transition: all 0.25s ease;
  --eh-transition-fast: all 0.15s ease;
  --eh-content-padding: 24px;
  --eh-container-max: 1920px;
  --eh-card-gap: 20px;
  --eh-section-gap: 24px;
  --eh-input-height: 46px;
  --eh-input-radius: 10px;
  --eh-input-border: #DCE5F2;
  --eh-input-focus: #165DFF;
  --eh-input-bg: #FFFFFF;
  --eh-input-placeholder: #94A3B8;
  --eh-btn-radius: 10px;
  --eh-btn-height: 42px;
  --eh-btn-font-weight: 600;
  --eh-card-radius: 16px;
  --eh-card-padding: 24px;
  --eh-card-shadow: 0 4px 12px rgba(15,23,42,0.05);
  --eh-table-header-bg: #F8FAFC;
  --eh-table-header-color: #334155;
  --eh-table-border: #EDF2F7;
  --eh-table-hover: #F8FBFF;
  --eh-table-radius: 12px;
  --eh-kanban-column-radius: 14px;
  --eh-kanban-column-bg: #F8FAFC;
  --eh-kanban-card-radius: 12px;
  --eh-kanban-card-shadow: 0 2px 8px rgba(15,23,42,0.05);
}

/* 2. TYPOGRAPHY */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

html {
  font-size: var(--eh-font-size-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--eh-font-family);
  font-size: var(--eh-font-size-base);
  line-height: var(--eh-line-height);
  color: var(--eh-text-primary);
  background-color: var(--eh-bg);
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--eh-font-family); color: var(--eh-text-primary); line-height: 1.3; }
h1 { font-size: var(--eh-font-size-4xl); font-weight: 700; }
h2 { font-size: var(--eh-font-size-3xl); font-weight: 700; }
h3 { font-size: var(--eh-font-size-2xl); font-weight: 600; }
h4 { font-size: var(--eh-font-size-xl); font-weight: 600; }
h5 { font-size: var(--eh-font-size-lg); font-weight: 600; }
h6 { font-size: var(--eh-font-size-base); font-weight: 600; }
a { color: var(--eh-primary); text-decoration: none; transition: var(--eh-transition); }
a:hover { color: var(--eh-primary-hover); }

/* 3. LAYOUT */
.eh-wrapper { display: flex; min-height: 100vh; }
.eh-main { flex: 1; margin-left: var(--eh-sidebar-width); transition: var(--eh-transition); display: flex; flex-direction: column; overflow: hidden; }
.eh-content { flex: 1; padding: var(--eh-content-padding); max-width: var(--eh-container-max); width: 100%; margin: 0 auto; min-height: 0; }

/* 4. SIDEBAR */
.eh-sidebar {
  position: fixed; top: 0; left: 0; width: var(--eh-sidebar-width); height: 100vh;
  background: var(--eh-sidebar-bg); color: var(--eh-sidebar-text); z-index: 1040;
  display: flex; flex-direction: column; transition: var(--eh-transition); overflow: hidden;
}
.eh-sidebar-brand {
  display: flex; align-items: center; gap: 12px; padding: 20px 20px 16px;
  font-size: var(--eh-font-size-lg); font-weight: 700; color: var(--eh-sidebar-text);
  text-decoration: none; white-space: nowrap;
}
.eh-sidebar-brand:hover { color: var(--eh-sidebar-text); }
.eh-sidebar-brand .brand-icon { font-size: 28px; flex-shrink: 0; }
.eh-sidebar-divider { height: 1px; background: rgba(255,255,255,0.08); margin: 0 16px 8px; }
.eh-sidebar-nav { flex: 1; overflow-y: auto; padding: 8px 12px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.1) transparent; }
.eh-sidebar-nav::-webkit-scrollbar { width: 4px; }
.eh-sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }
.eh-sidebar-group-title {
  font-size: var(--eh-font-size-xs); font-weight: 600; color: #8FA8D8;
  text-transform: uppercase; letter-spacing: 0.05em; padding: 16px 12px 6px; white-space: nowrap;
}
.eh-sidebar-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin: 2px 0;
  color: var(--eh-sidebar-text); text-decoration: none; border-radius: var(--eh-radius-md);
  transition: var(--eh-transition); font-size: var(--eh-font-size-base); font-weight: 500;
  white-space: nowrap; cursor: pointer; height: 46px;
}
.eh-sidebar-item:hover { background: var(--eh-sidebar-hover); color: var(--eh-sidebar-text); }
.eh-sidebar-item.active { background: var(--eh-sidebar-active); color: var(--eh-sidebar-text); font-weight: 600; }
.eh-sidebar-item .sidebar-icon { font-size: 20px; width: 24px; text-align: center; flex-shrink: 0; opacity: 0.8; }
.eh-sidebar-item.active .sidebar-icon { opacity: 1; }
.eh-sidebar-item .sidebar-text { flex: 1; }
.eh-sidebar-footer { padding: 16px; border-top: 1px solid rgba(255,255,255,0.08); }
.eh-sidebar-footer .btn {
  width: 100%; background: rgba(255,255,255,0.1); color: var(--eh-sidebar-text);
  border: none; border-radius: var(--eh-radius-md); padding: 10px;
  font-weight: 600; font-size: var(--eh-font-size-base); cursor: pointer; transition: var(--eh-transition);
}
.eh-sidebar-footer .btn:hover { background: rgba(255,255,255,0.18); }

/* 5. HEADER */
.eh-header {
  background: var(--eh-header-bg); border-bottom: 1px solid var(--eh-header-border);
  height: var(--eh-header-height); display: flex; align-items: center;
  padding: 0 var(--eh-content-padding); position: sticky; top: 0; z-index: 1030;
}
.eh-header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: var(--eh-container-max); margin: 0 auto; }
.eh-header-left { display: flex; align-items: center; gap: 16px; }
.eh-header-right { display: flex; align-items: center; gap: 8px; }
.eh-account-button { border-radius: 50%; }
.eh-header-avatar { display: inline-grid; place-items: center; width: 34px; height: 34px; overflow: hidden; border-radius: 50%; background: #eaf1ff; color: #174cb5; font: 750 12px/1 Inter, system-ui, sans-serif; border: 2px solid #fff; box-shadow: 0 0 0 1px #dce5f0; }
.eh-header-avatar img { width: 100%; height: 100%; object-fit: cover; }
.eh-search { position: relative; width: 360px; }
.eh-search .form-control { height: 42px; padding-left: 40px; border-radius: var(--eh-input-radius); border: 1px solid var(--eh-border); background: var(--eh-surface-secondary); font-size: var(--eh-font-size-sm); }
.eh-search .form-control:focus { background: var(--eh-surface); border-color: var(--eh-primary); box-shadow: 0 0 0 3px rgba(22,93,255,0.1); }
.eh-search .search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--eh-text-disabled); font-size: 18px; }
.eh-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: var(--eh-font-size-sm); }
.eh-breadcrumb a { color: var(--eh-text-secondary); }
.eh-breadcrumb .separator { color: var(--eh-text-disabled); }
.eh-breadcrumb .current { color: var(--eh-text-primary); font-weight: 600; }

/* 6. CARDS */
.eh-card { background: var(--eh-surface); border: 1px solid var(--eh-border); border-radius: var(--eh-card-radius); padding: var(--eh-card-padding); box-shadow: var(--eh-card-shadow); transition: var(--eh-transition); }
.eh-card:hover { box-shadow: var(--eh-shadow-lg); }
.eh-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.eh-card-title { font-size: var(--eh-font-size-lg); font-weight: 600; color: var(--eh-text-primary); }
.eh-card-footer { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--eh-divider); }

.eh-stat-card {
  background: var(--eh-surface); border: 1px solid var(--eh-border); border-radius: var(--eh-card-radius);
  padding: var(--eh-card-padding); box-shadow: var(--eh-card-shadow); transition: var(--eh-transition);
  display: flex; align-items: center; justify-content: space-between;
}
.eh-stat-card:hover { box-shadow: var(--eh-shadow-lg); transform: translateY(-2px); }
.eh-stat-card .stat-info h5 { font-size: var(--eh-font-size-sm); font-weight: 500; color: var(--eh-text-secondary); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.03em; }
.eh-stat-card .stat-info h2 { font-size: 28px; font-weight: 700; color: var(--eh-text-primary); margin: 0; }
.eh-stat-card .stat-icon { width: 52px; height: 52px; border-radius: var(--eh-radius-lg); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.eh-stat-card .stat-icon.primary { background: var(--eh-primary-light); color: var(--eh-primary); }
.eh-stat-card .stat-icon.success { background: var(--eh-success-light); color: var(--eh-success); }
.eh-stat-card .stat-icon.warning { background: var(--eh-warning-light); color: var(--eh-warning); }
.eh-stat-card .stat-icon.danger { background: var(--eh-danger-light); color: var(--eh-danger); }
.eh-stat-card .stat-icon.info { background: var(--eh-info-light); color: var(--eh-info); }

/* 7. BUTTONS */
.eh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--eh-btn-height); padding: 0 20px; font-family: var(--eh-font-family);
  font-size: var(--eh-font-size-base); font-weight: var(--eh-btn-font-weight);
  border-radius: var(--eh-btn-radius); border: none; cursor: pointer; transition: var(--eh-transition);
  white-space: nowrap; text-decoration: none; line-height: 1;
}
.eh-btn:focus-visible { outline: 2px solid var(--eh-primary); outline-offset: 2px; }
.eh-btn-primary { background: var(--eh-primary); color: #fff; }
.eh-btn-primary:hover { background: var(--eh-primary-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(22,93,255,0.3); }
.eh-btn-secondary { background: var(--eh-surface); color: var(--eh-text-primary); border: 1px solid #D6E0F5; }
.eh-btn-secondary:hover { background: var(--eh-surface-secondary); border-color: var(--eh-primary); color: var(--eh-primary); }
.eh-btn-success { background: var(--eh-success); color: #fff; }
.eh-btn-success:hover { background: #16A34A; color: #fff; }
.eh-btn-danger { background: var(--eh-danger); color: #fff; }
.eh-btn-danger:hover { background: #DC2626; color: #fff; }
.eh-btn-ghost { background: transparent; color: var(--eh-text-secondary); }
.eh-btn-ghost:hover { background: var(--eh-surface-secondary); color: var(--eh-text-primary); }
.eh-btn-sm { height: 34px; padding: 0 14px; font-size: var(--eh-font-size-sm); }
.eh-btn-lg { height: 50px; padding: 0 28px; font-size: var(--eh-font-size-lg); }
.eh-btn-icon { width: var(--eh-btn-height); height: var(--eh-btn-height); padding: 0; border-radius: var(--eh-btn-radius); }
.eh-btn-icon.eh-btn-sm { width: 34px; height: 34px; }

/* 8. FORMS */
.eh-form-group { margin-bottom: 20px; }
.eh-form-label { display: block; font-size: var(--eh-font-size-sm); font-weight: 600; color: var(--eh-text-primary); margin-bottom: 6px; }
.eh-input {
  width: 100%; height: var(--eh-input-height); padding: 0 14px; font-family: var(--eh-font-family);
  font-size: var(--eh-font-size-base); color: var(--eh-text-primary); background: var(--eh-input-bg);
  border: 1px solid var(--eh-input-border); border-radius: var(--eh-input-radius);
  transition: var(--eh-transition); outline: none;
}
.eh-input::placeholder { color: var(--eh-input-placeholder); }
.eh-input:focus { border-color: var(--eh-input-focus); box-shadow: 0 0 0 3px rgba(22,93,255,0.1); }
.eh-input:hover:not(:focus) { border-color: #C8D4E8; }
.eh-input-sm { height: 36px; font-size: var(--eh-font-size-sm); }
.eh-input-lg { height: 52px; font-size: var(--eh-font-size-lg); }
.eh-input-group { position: relative; }
.eh-input-group .eh-input { padding-left: 42px; }
.eh-input-group .input-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--eh-text-disabled); font-size: 18px; pointer-events: none; }
textarea.eh-input { height: auto; padding: 12px 14px; resize: vertical; min-height: 100px; }
select.eh-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.eh-check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: var(--eh-font-size-base); color: var(--eh-text-primary); }
.eh-check input[type="checkbox"], .eh-check input[type="radio"] { width: 18px; height: 18px; accent-color: var(--eh-primary); cursor: pointer; }

/* 9. TABLES */
.eh-table-wrapper { background: var(--eh-surface); border: 1px solid var(--eh-border); border-radius: var(--eh-table-radius); overflow: hidden; box-shadow: var(--eh-card-shadow); }
.eh-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.eh-table thead th { background: var(--eh-table-header-bg); color: var(--eh-table-header-color); font-size: var(--eh-font-size-sm); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; padding: 12px 16px; border-bottom: 1px solid var(--eh-table-border); text-align: left; white-space: nowrap; }
.eh-table tbody tr { transition: var(--eh-transition-fast); }
.eh-table tbody tr:hover { background: var(--eh-table-hover); }
.eh-table tbody td { padding: 12px 16px; border-bottom: 1px solid var(--eh-table-border); font-size: var(--eh-font-size-base); color: var(--eh-text-primary); vertical-align: middle; }
.eh-table tbody tr:last-child td { border-bottom: none; }

/* 10. BADGES */
.eh-badge { display: inline-flex; align-items: center; padding: 3px 10px; font-size: var(--eh-font-size-xs); font-weight: 600; border-radius: var(--eh-radius-full); line-height: 1.4; white-space: nowrap; }
.eh-badge-success { background: var(--eh-success-light); color: #15803D; }
.eh-badge-warning { background: var(--eh-warning-light); color: #B45309; }
.eh-badge-danger { background: var(--eh-danger-light); color: #B91C1C; }
.eh-badge-info { background: var(--eh-info-light); color: #1D4ED8; }
.eh-badge-primary { background: var(--eh-primary-light); color: var(--eh-primary); }
.eh-badge-neutral { background: #F1F5F9; color: #475569; }

/* 11. MODALS */
.eh-modal .modal-content { border: none; border-radius: var(--eh-radius-xl); box-shadow: var(--eh-shadow-xl); overflow: hidden; }
.eh-modal .modal-header { padding: 20px 24px 0; border: none; }
.eh-modal .modal-body { padding: 20px 24px; }
.eh-modal .modal-footer { padding: 16px 24px 20px; border-top: 1px solid var(--eh-divider); gap: 8px; }
.eh-modal .modal-title { font-size: var(--eh-font-size-xl); font-weight: 600; }
.eh-modal .btn-close { background: transparent; border: none; font-size: 20px; color: var(--eh-text-secondary); cursor: pointer; padding: 4px; border-radius: var(--eh-radius-sm); transition: var(--eh-transition-fast); }
.eh-modal .btn-close:hover { background: var(--eh-surface-secondary); color: var(--eh-text-primary); }

/* 12. DROPDOWNS */
.eh-dropdown .dropdown-menu { border: 1px solid var(--eh-border); border-radius: var(--eh-radius-lg); box-shadow: var(--eh-shadow-lg); padding: 6px; background: var(--eh-surface); }
.eh-dropdown .dropdown-item { border-radius: var(--eh-radius-sm); padding: 8px 12px; font-size: var(--eh-font-size-base); color: var(--eh-text-primary); transition: var(--eh-transition-fast); }
.eh-dropdown .dropdown-item:hover { background: var(--eh-surface-secondary); color: var(--eh-primary); }
.eh-dropdown .dropdown-item i, .eh-dropdown .dropdown-item .material-symbols-rounded { font-size: 18px; margin-right: 8px; color: var(--eh-text-secondary); }

/* 13. KANBAN */
.eh-kanban-container { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 16px; height: calc(100vh - 240px); scrollbar-width: thin; scrollbar-color: #D1D5DB transparent; }
.eh-kanban-container::-webkit-scrollbar { height: 6px; }
.eh-kanban-container::-webkit-scrollbar-thumb { background: #D1D5DB; border-radius: 10px; }
.eh-kanban-column { background: var(--eh-kanban-column-bg); border-radius: var(--eh-kanban-column-radius); min-width: 300px; max-width: 300px; display: flex; flex-direction: column; border: 1px solid var(--eh-border); }
.eh-kanban-header { padding: 14px 16px; border-radius: var(--eh-kanban-column-radius) var(--eh-kanban-column-radius) 0 0; display: flex; align-items: center; justify-content: space-between; }
.eh-kanban-header h5 { font-size: var(--eh-font-size-base); font-weight: 600; color: #fff; margin: 0; display: flex; align-items: center; gap: 8px; }
.eh-kanban-count { background: rgba(255,255,255,0.2); color: #fff; font-size: var(--eh-font-size-xs); font-weight: 700; padding: 2px 8px; border-radius: var(--eh-radius-full); min-width: 22px; text-align: center; }
.eh-kanban-items { padding: 12px; flex: 1; overflow-y: auto; min-height: 100px; }
.eh-kanban-card { background: var(--eh-surface); border-radius: var(--eh-kanban-card-radius); padding: 12px 14px; margin-bottom: 10px; box-shadow: var(--eh-kanban-card-shadow); border: 1px solid var(--eh-border); cursor: grab; transition: var(--eh-transition-fast); }
.eh-kanban-card:hover { box-shadow: var(--eh-shadow-md); border-color: #D6E0F5; }
.eh-kanban-card:active { cursor: grabbing; }
.eh-kanban-card .card-title { font-size: var(--eh-font-size-base); font-weight: 500; color: var(--eh-text-primary); margin-bottom: 4px; }
.eh-kanban-card .card-subtitle { font-size: var(--eh-font-size-sm); color: var(--eh-text-secondary); }

/* 14. SCROLLBAR */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #D1D5DB; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #9CA3AF; }

/* 15. UTILITIES */
.eh-text-primary { color: var(--eh-text-primary) !important; }
.eh-text-secondary { color: var(--eh-text-secondary) !important; }
.eh-text-disabled { color: var(--eh-text-disabled) !important; }
.eh-text-brand { color: var(--eh-primary) !important; }
.eh-text-success { color: var(--eh-success) !important; }
.eh-text-warning { color: var(--eh-warning) !important; }
.eh-text-danger { color: var(--eh-danger) !important; }
.eh-bg-primary { background: var(--eh-primary-light) !important; }
.eh-bg-success { background: var(--eh-success-light) !important; }
.eh-bg-warning { background: var(--eh-warning-light) !important; }
.eh-bg-danger { background: var(--eh-danger-light) !important; }
.eh-bg-info { background: var(--eh-info-light) !important; }
.eh-gap-xs { gap: var(--eh-space-xs); }
.eh-gap-sm { gap: var(--eh-space-sm); }
.eh-gap-md { gap: var(--eh-space-md); }
.eh-gap-lg { gap: var(--eh-space-lg); }
.eh-gap-xl { gap: var(--eh-space-xl); }
.eh-flex-center { display: flex; align-items: center; justify-content: center; }
.eh-flex-between { display: flex; align-items: center; justify-content: space-between; }
.eh-flex-col { display: flex; flex-direction: column; }
.eh-truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 16. PAGE SPECIFIC */
.eh-cadastro-page { min-height: 100vh; background: var(--eh-bg); }
.eh-cadastro-card { background: var(--eh-surface); border-radius: var(--eh-radius-xl); box-shadow: var(--eh-shadow-xl); padding: 40px; border: 1px solid var(--eh-border); }

/* 17. RESPONSIVE */
@media (max-width: 1199.98px) {
  .eh-sidebar { transform: translateX(-100%); }
  .eh-sidebar.open { transform: translateX(0); }
  .eh-main { margin-left: 0; }
  .eh-search { width: 280px; }
}
@media (max-width: 767.98px) {
  :root { --eh-content-padding: 16px; --eh-card-padding: 16px; }
  .eh-search { width: 200px; }
  .eh-stat-card { padding: 16px; }
  .eh-kanban-column { min-width: 260px; max-width: 260px; }
}
@media (max-width: 575.98px) {
  .eh-search { display: none; }
  .eh-content { padding: 12px; }
}

/* =========================================================
   MÓDULOS NÃO CONTRATADOS
   ========================================================= */

.eh-sidebar-nav a.eh-sidebar-item.eh-module-offer {
    display: grid !important;
    grid-template-columns: 30px minmax(0,1fr) 22px !important;
    gap: 8px !important;
    align-items: center !important;

    width: 100%;
    max-width: 100%;
    box-sizing: border-box;

    padding-left: 14px !important;
    padding-right: 10px !important;

    color: #8996aa !important;
    opacity: 1 !important;

    border: 1px solid transparent;
    border-radius: 9px;

    text-decoration: none !important;

    transition:
        background .18s ease,
        color .18s ease;
}


/* TEXTO COMPLETO EM CINZA */

.eh-sidebar-nav a.eh-sidebar-item.eh-module-offer
.sidebar-text,
.eh-sidebar-nav a.eh-sidebar-item.eh-module-offer
.eh-module-offer-label {
    min-width: 0;

    color: #8996aa !important;

    font-weight: 500 !important;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* CADEADO, DOURADO MUITO DISCRETO */

.eh-sidebar-nav a.eh-sidebar-item.eh-module-offer
.eh-module-offer-icon {
    display: inline-flex !important;
    width: 30px !important;

    align-items: center;
    justify-content: center;

    margin: 0 !important;

    color: #aa945f !important;
    opacity: .72 !important;

    font-size: 18px !important;
}


/* SETA, MESMO TOM DO TEXTO */

.eh-sidebar-nav a.eh-sidebar-item.eh-module-offer
.eh-module-offer-arrow {
    display: inline-flex !important;

    width: 22px !important;

    align-items: center;
    justify-content: center;

    margin: 0 !important;

    color: #77869d !important;
    opacity: .65 !important;

    font-size: 20px !important;

    transition:
        color .18s ease,
        opacity .18s ease,
        transform .18s ease;
}


/* HOVER DISCRETO */

.eh-sidebar-nav a.eh-sidebar-item.eh-module-offer:hover {
    background: rgba(255,255,255,.035) !important;
    color: #aab4c4 !important;
}

.eh-sidebar-nav a.eh-sidebar-item.eh-module-offer:hover
.sidebar-text,
.eh-sidebar-nav a.eh-sidebar-item.eh-module-offer:hover
.eh-module-offer-label {
    color: #aab4c4 !important;
}

.eh-sidebar-nav a.eh-sidebar-item.eh-module-offer:hover
.eh-module-offer-icon {
    color: #b5a06b !important;
    opacity: .82 !important;
}

.eh-sidebar-nav a.eh-sidebar-item.eh-module-offer:hover
.eh-module-offer-arrow {
    color: #9ba7b9 !important;
    opacity: .9 !important;
    transform: translateX(2px);
}


/* NÃO USAMOS MAIS O BADGE CONHECER */

.eh-module-offer-hint {
    display: none !important;
}


/* EVITA SCROLL HORIZONTAL */

.eh-sidebar-nav {
    overflow-x: hidden;
}


/* Módulo não contratado atualmente selecionado */

.eh-sidebar-nav
a.eh-sidebar-item.eh-module-offer.active {
    background: var(--eh-sidebar-active) !important;
    border-color: transparent !important;
}

/* Texto fica mais legível dentro do azul */

.eh-sidebar-nav
a.eh-sidebar-item.eh-module-offer.active,
.eh-sidebar-nav
a.eh-sidebar-item.eh-module-offer.active
.sidebar-text,
.eh-sidebar-nav
a.eh-sidebar-item.eh-module-offer.active
.eh-module-offer-label {
    color: #d8deea !important;
}

/* Cadeado continua dourado discreto */

.eh-sidebar-nav
a.eh-sidebar-item.eh-module-offer.active
.eh-module-offer-icon {
    color: #c0a466 !important;
    opacity: .9 !important;
}

/* Seta clareia um pouco */

.eh-sidebar-nav
a.eh-sidebar-item.eh-module-offer.active
.eh-module-offer-arrow {
    color: #b7c2d5 !important;
    opacity: .9 !important;
}



