.container {
            padding: 20px;
            max-width: 100%;
            overflow-x: auto;
        }
        
        table {
            width: 100%;
            border-collapse: collapse;
            min-width: 600px;
            border-radius: 10px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }
        
        th, td {
            padding: 16px 12px;
            text-align: left;
            border-bottom: 1px solid #e9ecef;
        }
        
        th {
            background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
            color: white;
            font-weight: 600;
            text-transform: uppercase;
            font-size: 13px;
            letter-spacing: 0.5px;
            position: sticky;
            top: 0;
        }
        
         td {
            font-size: 14px;
            transition: background-color 0.2s ease;
        }
        
        tbody tr:hover {
            background-color: #f8f9ff;
        }

        tbody tr:nth-child(even) {
            background-color: #fafbfc;
        }

        tbody tr:nth-child(even):hover {
            background-color: #f0f1ff;
        }
        
        .total-row {
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
            color: white !important;
            font-weight: bold;
        }
        
        .total-row:hover {
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
        }
        
        /* Mobile */
        @media (max-width: 768px) {
            th, td {
                padding: 8px 5px;
                font-size: 14px;
            }
            
            th:nth-child(2), td:nth-child(2) {
                display: none;
            }
        }

        :root {
            --primary-color: #2c3e50;
            --secondary-color: #3498db;
            --accent-color: #e74c3c;
            --light-bg: #f8f9fa;
            --dark-text: #2c3e50;
        }

        * {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--dark-text);
        }

        /* Header fixo */
        .header {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 1rem 0;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .header h1 {
            margin: 0;
            font-size: 1.5rem;
            font-weight: 600;
        }

        /* Sidebar */
        .sidebar {
            position: fixed;
            top: 80px;
            left: 0;
            width: 280px;
            height: calc(100vh - 80px);
            background: white;
            border-right: 1px solid #dee2e6;
            overflow-y: auto;
            z-index: 999;
            box-shadow: 2px 0 5px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }

        .sidebar.hidden {
            transform: translateX(-100%);
        }

        .sidebar-content {
            padding: 1.5rem;
        }

        .module-section {
            margin-bottom: 1.5rem;
        }

        .module-title {
            color: var(--primary-color);
            font-weight: 600;
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
            padding: 0.5rem;
            background: var(--light-bg);
            border-radius: 5px;
            border-left: 4px solid var(--secondary-color);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s ease;
        }

        .module-title:hover {
            background: #e9ecef;
            transform: translateX(2px);
        }

        .module-title i {
            transition: transform 0.3s ease;
        }

        .module-title.collapsed i {
            transform: rotate(-90deg);
        }

        .module-items {
            max-height: 1000px;
            overflow: hidden;
            transition: max-height 0.3s ease-out;
        }

        .module-items.collapsed {
            max-height: 0;
        }

        .nav-item {
            display: block;
            padding: 0.5rem 1rem;
            color: #6c757d;
            text-decoration: none;
            border-radius: 4px;
            margin-bottom: 0.25rem;
            transition: all 0.3s ease;
            font-size: 0.9rem;
        }

        .nav-item:hover {
            background: var(--light-bg);
            color: var(--secondary-color);
            text-decoration: none;
            transform: translateX(5px);
        }

        .nav-item.active {
            background: var(--secondary-color);
            color: white;
        }

        /* Main content */
        .main-content {
            margin-left: 280px;
            margin-top: 80px;
            padding: 2rem;
            min-height: calc(100vh - 80px);
            transition: margin-left 0.3s ease;
        }

        .main-content.expanded {
            margin-left: 0;
        }

        /* Toggle button no header */
        .toggle-sidebar-btn {
            background: rgba(255, 255, 255, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: white;
            transition: all 0.3s ease;
        }

        .toggle-sidebar-btn:hover {
            background: rgba(255, 255, 255, 0.3);
            color: white;
            transform: scale(1.05);
        }

        /* Cards dos módulos */
        .module-card {
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            margin-bottom: 3rem;
            overflow: hidden;
            border: 1px solid #e9ecef;
        }

        .module-header {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 1.5rem;
            font-size: 1.3rem;
            font-weight: 600;
        }

        .item-card {
            margin: 1.5rem;
            border: 1px solid #e9ecef;
            border-radius: 8px;
            overflow: hidden;
            background: white;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }

        .item-header {
            background: var(--light-bg);
            padding: 1rem;
            border-bottom: 1px solid #e9ecef;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .item-number {
            background: var(--secondary-color);
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 0.9rem;
        }

        .item-title {
            font-weight: 600;
            color: var(--primary-color);
            margin: 0;
            flex-grow: 1;
            margin-left: 1rem;
        }

        .regional-badge {
            background: var(--accent-color);
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
        }

        .item-content {
            padding: 1.5rem;
            color: #495057;
            line-height: 1.7;
        }

        /* Botões */
        .btn-export {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: var(--accent-color);
            color: white;
            border: none;
            border-radius: 50px;
            padding: 15px 20px;
            font-size: 1rem;
            box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
            transition: all 0.3s ease;
            z-index: 1001;
        }

        .btn-export:hover {
            background: #c0392b;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
        }

        .btn-top {
            position: fixed;
            bottom: 90px;
            right: 20px;
            background: var(--secondary-color);
            color: white;
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
            transition: all 0.3s ease;
            z-index: 1001;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
        }

        .btn-top:hover {
            background: #2980b9;
            transform: translateY(-2px);
            color: white;
        }

        .btn-top.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        /* Loading */
        .loading {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 2000;
            background: rgba(255, 255, 255, 0.9);
            padding: 2rem;
            border-radius: 10px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.2);
        }

        .loading.show {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .loading-text {
            margin-top: 1rem;
            color: var(--primary-color);
            font-weight: 600;
        }

        .spinner {
            width: 50px;
            height: 50px;
            border: 5px solid #f3f3f3;
            border-top: 5px solid var(--secondary-color);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Responsivo */
        @media (max-width: 768px) {
            .sidebar {
                width: 100%;
                height: auto;
                position: relative;
                top: 0;
                transform: none;
            }

            .sidebar.hidden {
                display: none;
            }

            .main-content {
                margin-left: 0;
                margin-top: 0;
                padding: 1rem;
            }

            .header {
                position: relative;
            }

            .module-header {
                font-size: 1.1rem;
                padding: 1rem;
            }
        }

        /* Destaque para desenvolvimento */
        .development-note {
            background: #fff3cd;
            border: 1px solid #ffeaa7;
            border-radius: 5px;
            padding: 1rem;
            margin: 1rem 0;
            color: #856404;
            font-style: italic;
        }

        /* Estilos específicos para PDF */
        .pdf-content {
            background: white;
            padding: 2rem;
            margin: 0;
        }

        .pdf-header {
            text-align: center;
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid var(--primary-color);
        }

        .pdf-header h1 {
            color: var(--primary-color);
            font-size: 2rem;
            margin-bottom: 0.5rem;
        }

        .pdf-header p {
            color: #666;
            margin: 0;
        }

        /*estilos para conteudo Organização do backlog de Melhorias do SIG*/

        .table-custom {
            border: 2px solid #17a2b8;
            border-radius: 12px;
            overflow: hidden;
        }
        .table-custom thead th {
            background-color: #17a2b8;
            color: white;
            border: 1px solid #17a2b8;
            text-align: center;
            font-weight: 600;
            padding: 12px 8px;
        }
        .table-custom tbody tr:nth-child(odd) td {
            background-color: #f8f9fa;
            border: 1px solid #dee2e6;
            text-align: center;
            padding: 10px 8px;
            color: #333;
        }
        .table-custom tbody tr:nth-child(even) td {
            background-color: #e9ecef;
            border: 1px solid #dee2e6;
            text-align: center;
            padding: 10px 8px;
            color: #333;
        }
        .table-custom tbody tr:last-child td {
            background-color: #6c757d !important;
            color: white;
            font-weight: bold;
        }
        .container-custom {
            max-width: 1200px;
            margin: 30px auto;
            padding: 20px;
        }

        /**/
        .module-header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-radius: 10px 10px 0 0;
        }
        .status-retirado {
            background-color: #f8d7da;
            border-left: 4px solid #dc3545;
        }
        .status-vinculado {
            background-color: #d1ecf1;
            border-left: 4px solid #17a2b8;
        }
        .item-card {
            transition: transform 0.2s ease-in-out;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        .item-card:hover {
            transform: translateY(-5px);
        }
        .estado-badge {
            font-size: 0.85rem;
            font-weight: 600;
        }

        /* Seções coloridas para cards 2026 */
        .content-section {
            border-radius: 8px;
            padding: 16px 20px;
            margin-bottom: 12px;
        }
        .content-section h6 {
            font-weight: 600;
            margin-bottom: 10px;
            color: #2c3e50;
        }
        .content-section-descricao {
            background-color: #e8f4fd;
            border-left: 4px solid #2196F3;
        }
        .content-section-melhoria {
            background-color: #e8f5e9;
            border-left: 4px solid #4CAF50;
        }

        /* Accordion chevron nos cards 2026 */
        .item-header[data-bs-toggle="collapse"] .fa-chevron-down {
            transition: transform 0.3s;
        }
        .item-header[data-bs-toggle="collapse"]:not(.collapsed) .fa-chevron-down {
            transform: rotate(0deg);
        }
        .item-header[data-bs-toggle="collapse"].collapsed .fa-chevron-down {
            transform: rotate(-90deg);
        }

        /* Sortable table headers */
        th.sortable {
            cursor: pointer;
            user-select: none;
            padding-right: 24px !important;
        }
        th.sortable::after {
            content: '\f0dc';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            right: 6px;
            opacity: 0.4;
            font-size: 12px;
        }
        th.sortable.asc::after {
            content: '\f0de';
            opacity: 1;
        }
        th.sortable.desc::after {
            content: '\f0dd';
            opacity: 1;
        }
        thead th.sortable:hover {
            background: linear-gradient(180deg, #7a8eee 0%, #8a5bb2 100%) !important;
        }