/* General Body & Layout */ body { font-family: 'Inter', sans-serif; background-color: #f8f9fa; transition: margin-left .3s; } .wrapper { display: flex; width: 100%; } /* Sidebar Styles */ #sidebar { width: 280px; position: fixed; top: 0; left: 0; height: 100vh; z-index: 999; background: #4C5958; color: #fff; transition: all 0.3s; padding-bottom: 0; /* Allow profile to stick to bottom */ display: flex; flex-direction: column; } #sidebar.mini { width: 80px; } #sidebar.mini .sidebar-header h3, #sidebar.mini .menu-item-text, #sidebar.mini .profile-text, #sidebar.mini .dropdown-toggle::after { display: none; } #sidebar.mini .menu-item .lucide { margin-right: 0; } #sidebar.mini .profile-section .lucide-user-circle { margin: 0 auto; } .sidebar-header { padding: 20px; background: #4C5958; text-align: center; border-bottom: 1px solid #5a6867; flex-shrink: 0; /* Prevent header from shrinking */ } .sidebar-header h3 { color: white; font-weight: 700; margin-bottom: 0; font-size: 1.5rem; white-space: nowrap; } /* Profile Section */ .profile-section { padding: 15px 20px; border-top: 1px solid #5a6867; /* Moved from bottom */ color: white; flex-shrink: 0; /* Prevent profile from shrinking */ } .profile-section .dropdown-toggle { color: white; text-decoration: none; display: flex; align-items: center; padding: 5px 0; } .profile-section .lucide-user-circle { width: 40px; height: 40px; margin-right: 10px; } .profile-section .profile-text span { display: block; white-space: nowrap; } .profile-section .profile-text .username { font-weight: bold; } .profile-section .dropdown-menu { background-color: #3f4a49; border: none; } .profile-section .dropdown-item { color: #e0e0e0; } .profile-section .dropdown-item:hover { background-color: #5a6867; color: white; } /* Menu List Styles */ .menu-list { list-style: none; padding: 10px 0; margin: 0; flex-grow: 1; /* Allow menu to fill space */ overflow-y: auto; /* Add scroll if needed */ } .menu-list a { display: flex; align-items: center; padding: 12px 20px; text-decoration: none; transition: background 0.2s; font-size: 0.95rem; white-space: nowrap; } .menu-list .lucide { margin-right: 15px; width: 20px; height: 20px; flex-shrink: 0; } /* Top Level Items */ .menu-section > a { color: #DBF227; font-weight: 500; letter-spacing: 0.5px; } .menu-section > a:hover { background: #3f4a49; } /* Sub Items (Level 2) */ .sub-menu { list-style: none; padding-left: 0; background: rgba(0,0,0,0.1); } .sub-menu a { /* NOTE: Using white for better contrast against the dark sidebar. The requested #10403B is too dark for this background. */ color: #FFFFFF; font-size: 0.9rem; padding-left: 35px; } .sub-menu a:hover { background: #3f4a49; } .sub-menu .lucide { width: 18px; height: 18px; } /* Sub-Sub Items (Level 3) */ .sub-sub-menu { list-style: none; padding-left: 0; background: rgba(0,0,0,0.15); } .sub-sub-menu a { color: #e0e0e0; /* Slightly dimmer white */ font-size: 0.85rem; padding-left: 55px; } .sub-sub-menu a:hover { background: #3f4a49; } /* Dropdown Arrow for collapsible menus */ .dropdown-toggle::after { display: inline-block; margin-left: auto; vertical-align: .255em; content: ""; border-top: .3em solid; border-right: .3em solid transparent; border-bottom: 0; border-left: .3em solid transparent; transition: transform .2s ease-in-out; } .dropdown-toggle[aria-expanded="true"]::after { transform: rotate(-180deg); } /* Badge for notifications */ .badge-notification { background-color: #dc3545; color: white; border-radius: 50%; padding: 0.2em 0.5em; font-size: 0.7rem; margin-left: auto; margin-right: 10px; } /* Main Content Area */ #content { width: 100%; padding: 20px; min-height: 100vh; transition: all 0.3s; margin-left: 280px; } #content.full-width { margin-left: 80px; } .content-header { display: flex; align-items: center; margin-bottom: 20px; } #sidebar-toggle { background: none; border: none; font-size: 1.5rem; color: #333; cursor: pointer; } /* Login Form Styles (keep existing) */ .login-container { min-height: 100vh; display: flex; align-items: center; justify-content: center; } .login-card { max-width: 450px; width: 100%; padding: 2rem; border: none; border-radius: 0.5rem; box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1); } /* Responsive */ @media (max-width: 768px) { #sidebar { left: -280px; } #sidebar.active { left: 0; } #content { margin-left: 0; } #content.full-width { margin-left: 0; } body.sidebar-open { overflow: hidden; } } /* Sidebar Logo */ .sidebar-logo { max-width: 80%; height: auto; display: block; margin: 0 auto 1rem; } #sidebar.mini .sidebar-logo { display: none; /* Oculta o logo quando o menu está minimizado */ } #sidebar.mini .sidebar-header { padding: 10px 0; } /* Adiciona um ícone para substituir o logo quando minimizado */ #sidebar.mini .sidebar-header::before { content: ''; display: block; width: 32px; height: 32px; margin: 0 auto; background-image: url('../pasted-20251029-150345-2b427067.png'); background-size: contain; background-repeat: no-repeat; background-position: center; } /* * Macro Áreas Module Styles * -------------------------------------------------- */ body { background-color: #eeeeee; } /* Titles and Text */ .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 { color: #10403B; } /* Primary Buttons */ .btn-primary { background-color: #005C53; border-color: #005C53; color: #FFFFFF; } .btn-primary:hover { background-color: #00443e; border-color: #00443e; } .btn-primary .fas { color: #FFFFFF; } /* Card Styles */ .card { border: 1px solid #005C53; } .card-header { background-color: #8AA6A3; color: #FFFFFF; } .card-header .m-0.font-weight-bold { color: #FFFFFF; } /* Table Styles */ .table thead th { background-color: #8AA6A3; color: #FFFFFF; border-color: #8AA6A3; } /* Badge Styles */ .badge-status-ativo { background-color: #8AA6A3; color: #FFFFFF; } .badge-status-arquivado { background-color: #f0f0f0; /* gray-100 */ color: #333; /* gray-800 */ } /* Action Icons */ .table .btn .fas { color: #4C5958; } /* * Macro Áreas Modal Form Styles * -------------------------------------------------- */ #macroAreaModal .modal-content { background-color: #eeeeee; border: 1px solid #10403B; } #macroAreaModal .modal-header, #macroAreaModal .modal-body label { color: #10403B; font-weight: 500; } #macroAreaModal .modal-header { border-bottom: 1px solid #dcdcdc; /* Lighter separator */ } #macroAreaModal .modal-title { color: #10403B; } #macroAreaModal .form-control { color: #4C5958; border: 1px solid #b0b6b5; } #macroAreaModal .form-control:focus { border-color: #10403B; box-shadow: 0 0 0 0.2rem rgba(16, 64, 59, 0.25); } #macroAreaModal .form-control::placeholder { color: #8AA6A3; opacity: 1; } #macroAreaModal .modal-footer { border-top: 1px solid #dcdcdc; /* Lighter separator */ } /* Modal Buttons */ #macroAreaModal .modal-footer .btn-secondary { background-color: #8AA6A3; border-color: #8AA6A3; color: #FFFFFF; } #macroAreaModal .modal-footer .btn-secondary:hover { background-color: #799592; border-color: #799592; opacity: 0.9; } #macroAreaModal .modal-footer .btn-primary { background-color: #10403B; border-color: #10403B; color: #FFFFFF; } #macroAreaModal .modal-footer .btn-primary:hover { background-color: #0a2926; border-color: #0a2926; opacity: 0.9; } /* Custom Switch for "Ativo" field */ .form-switch { padding-left: 2.5em; cursor: pointer; } .form-switch .form-check-input { width: 2em; height: 1.25em; margin-left: -2.5em; background-color: #8AA6A3; border-color: #8AA6A3; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: left center; border-radius: 2em; transition: background-position .15s ease-in-out; } .form-switch .form-check-input:checked { background-position: right center; background-color: #10403B; border-color: #10403B; } .form-switch .form-check-label { padding-top: 2px; }