        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background: #f7fafc;
            min-height: 100vh;
            color: #2d3748;
        }

        .container {
            max-width: 1600px;
            margin: 0 auto;
            padding: 20px;
        }

        /* Header */
        .header {
            background: white;
            border-radius: 12px;
            padding: 20px 30px;
            margin-bottom: 20px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
        }

        .header h1 {
            font-size: 24px;
            color: #667eea;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .header-buttons {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        /* Alert Banner */
        .alert-banner {
            background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
            color: #ffffff !important;
            padding: 15px 30px;
            border-radius: 12px;
            margin-bottom: 20px;
            display: none;
            align-items: flex-start;
            gap: 15px;
            box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
            animation: pulse 2s infinite;
        }
        
        .alert-banner.alert-atrasado {
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
            animation: pulseStrong 1.5s infinite;
            border: 2px solid rgba(220, 38, 38, 0.3);
            box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3);
        }
        
        @keyframes pulseStrong {
            0%, 100% { 
                opacity: 1; 
                transform: scale(1);
            }
            50% { 
                opacity: 0.96; 
                transform: scale(1.001);
            }
        }

        .alert-banner.show {
            display: flex;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.94; }
        }

        .alert-banner > i {
            font-size: 24px;
            margin-top: 2px;
            color: #ffffff !important;
        }

        .alert-content {
            flex: 1;
        }

        .alert-title {
            font-weight: 700;
            font-size: 16px;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
            color: #ffffff !important;
        }
        
        .alert-title i {
            color: #ffffff !important;
        }
        
        .alert-title strong {
            color: #ffffff !important;
        }

        .alert-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .alert-item {
            background: rgba(255, 255, 255, 0.18);
            padding: 10px 15px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            gap: 12px;
            transition: all 0.2s;
            border: 1px solid rgba(255, 255, 255, 0.25);
            color: #ffffff !important;
        }

        .alert-item:hover {
            background: rgba(255, 255, 255, 0.28);
            transform: translateX(5px);
            border-color: rgba(255, 255, 255, 0.4);
        }

        .alert-item.alert-critica {
            background: rgba(255, 255, 255, 0.22);
            border: 1px solid rgba(255, 255, 255, 0.35);
            font-weight: 600;
        }

        .alert-item.alert-critica:hover {
            background: rgba(255, 255, 255, 0.32);
        }

        .alert-item i {
            font-size: 16px;
            opacity: 0.95;
            color: #ffffff !important;
        }

        .alert-item span {
            flex: 1;
            font-size: 14px;
            line-height: 1.4;
            color: #ffffff !important;
        }
        
        .alert-item span strong {
            color: #ffffff !important;
        }

        .alert-desc {
            font-size: 13px;
            opacity: 0.9;
            color: #ffffff !important;
        }

        /* Tabs */
        .tabs {
            display: flex;
            gap: 10px;
            background: white;
            border-radius: 12px;
            padding: 10px;
            margin-bottom: 20px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            flex-wrap: wrap;
        }

        .tab {
            padding: 12px 24px;
            border-radius: 8px;
            border: none;
            background: transparent;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s;
            color: #4a5568;
        }

        .tab.active {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }

        .tab:hover:not(.active) {
            background: #f7fafc;
        }

        /* Toolbar */
        .toolbar {
            background: white;
            border-radius: 12px;
            padding: 15px 20px;
            margin-bottom: 20px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            align-items: center;
        }

        /* Buttons */
        .btn {
            padding: 10px 20px;
            border-radius: 8px;
            border: none;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
        }

        .btn-primary {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
        }

        .btn-secondary {
            background: #e2e8f0;
            color: #4a5568;
        }

        .btn-secondary:hover {
            background: #cbd5e0;
        }

        .btn-success {
            background: #48bb78;
            color: white;
        }

        .btn-success:hover {
            background: #38a169;
        }

        .btn-danger {
            background: #f56565;
            color: white;
        }

        .btn-danger:hover {
            background: #e53e3e;
        }

        .btn-info {
            background: #4299e1;
            color: white;
        }

        .btn-info:hover {
            background: #3182ce;
        }

        .btn-warning {
            background: #ed8936;
            color: white;
        }

        .btn-warning:hover {
            background: #dd6b20;
        }

        /* Input/Select */
        input, select, textarea {
            padding: 10px 15px;
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            font-size: 14px;
            transition: all 0.3s;
            background: white;
            color: #2d3748;
        }

        input:focus, select:focus, textarea:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        .search-box {
            flex: 1;
            min-width: 250px;
            position: relative;
        }

        .search-box input {
            width: 100%;
            padding-left: 40px;
        }

        .search-box i {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #a0aec0;
        }

        /* Content Areas */
        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
        }

        /* Board Sections */
        .board-section {
            background: white;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 30px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }

        .board-section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 3px solid #e2e8f0;
        }

        .board-section-title {
            font-size: 20px;
            font-weight: 700;
            color: #2d3748;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .board-section-badge {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 700;
        }

        .weekly-board-badge {
            background: linear-gradient(135deg, #f6ad55 0%, #ed8936 100%);
        }

        /* Kanban Board */
        .kanban-board {
            display: flex;
            gap: 20px;
            overflow-x: auto;
            padding-bottom: 20px;
        }

        .kanban-column {
            min-width: 320px;
            background: white;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            position: relative;
        }

        .kanban-column.drag-over {
            background: #edf2f7;
            border: 2px dashed #667eea;
            box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
            transform: scale(1.02);
        }

        .weekly-board .kanban-column {
            background: #fffaf0;
            border: 2px solid #fbd38d;
        }

        .column-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 2px solid #e2e8f0;
        }

        .column-title {
            font-weight: 700;
            font-size: 16px;
            display: flex;
            align-items: center;
            gap: 10px;
            color: #2d3748;
        }

        .column-count {
            background: #edf2f7;
            padding: 4px 12px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 700;
            color: #4a5568;
        }

        .weekly-board .column-count {
            background: #feebc8;
            color: #9c4221;
        }

        .column-content {
            min-height: 120px;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        /* Task Cards */
        .task-card {
            background: white;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            padding: 12px;
            cursor: move;
            transition: all 0.3s;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }

        .task-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 16px rgba(0,0,0,0.1);
            border-color: #667eea;
        }

        .weekly-board .task-card {
            border-color: #fbd38d;
            background: #fffbf0;
        }

        .task-card.dragging {
            opacity: 0.5;
            cursor: grabbing;
            transform: rotate(5deg);
        }

        .task-card[draggable="true"] {
            cursor: grab;
        }

        .card-tags {
            display: flex;
            gap: 6px;
            margin-bottom: 10px;
            flex-wrap: wrap;
        }

        .tag {
            padding: 4px 10px;
            border-radius: 6px;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
        }

        .tag-service {
            background: #bee3f8;
            color: #2c5282;
        }

        .tag-priority-high {
            background: #fed7d7;
            color: #9b2c2c;
        }

        .tag-priority-medium {
            background: #feebc8;
            color: #9c4221;
        }

        .tag-priority-low {
            background: #c6f6d5;
            color: #276749;
        }

        .tag-weekly {
            background: #fbd38d;
            color: #7c2d12;
        }

        .card-title {
            font-weight: 700;
            font-size: 14px;
            margin-bottom: 6px;
            color: #2d3748;
            line-height: 1.4;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }

        .card-desc {
            font-size: 12px;
            color: #718096;
            margin-bottom: 8px;
            line-height: 1.5;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            max-height: 4.5em;
        }

        .card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 8px;
            border-top: 1px solid #e2e8f0;
            font-size: 12px;
            color: #a0aec0;
        }

        .card-meta {
            display: flex;
            gap: 12px;
        }

        .avatar {
            height: 28px;
            padding: 0 10px;
            border-radius: 14px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            font-weight: 700;
            white-space: nowrap;
        }

        .add-card-btn {
            width: 100%;
            padding: 12px;
            background: #f7fafc;
            border: 2px dashed #cbd5e0;
            border-radius: 8px;
            color: #a0aec0;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-weight: 600;
        }

        .add-card-btn:hover {
            background: #edf2f7;
            border-color: #667eea;
            color: #667eea;
        }

        /* Modal */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 1000;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .modal.active {
            display: flex;
        }

        .modal-content {
            background: white;
            border-radius: 16px;
            width: 100%;
            max-width: 600px;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            animation: modalSlide 0.3s ease;
        }

        @keyframes modalSlide {
            from {
                transform: translateY(-50px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .modal-header {
            padding: 25px 30px;
            border-bottom: 2px solid #e2e8f0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modal-title {
            font-size: 22px;
            font-weight: 700;
            color: #2d3748;
        }

        .close-btn {
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: #a0aec0;
            padding: 5px 10px;
            border-radius: 6px;
            transition: all 0.2s;
        }

        .close-btn:hover {
            background: #edf2f7;
            color: #2d3748;
        }

        .modal-body {
            padding: 30px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-label {
            display: block;
            font-weight: 600;
            margin-bottom: 8px;
            color: #2d3748;
            font-size: 14px;
        }

        .form-input, .form-textarea, .form-select {
            width: 100%;
        }

        .form-textarea {
            min-height: 100px;
            resize: vertical;
            font-family: inherit;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }

        .modal-footer {
            padding: 20px 30px;
            border-top: 2px solid #e2e8f0;
            display: flex;
            justify-content: flex-end;
            gap: 10px;
        }

        /* Analytics */
        .analytics-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }

        .stat-card {
            background: white;
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            text-align: center;
        }

        .stat-card h3 {
            font-size: 14px;
            color: #718096;
            margin-bottom: 10px;
            text-transform: uppercase;
            font-weight: 600;
        }

        .stat-value {
            font-size: 36px;
            font-weight: 700;
            color: #2d3748;
        }

        .chart-container {
            background: white;
            border-radius: 12px;
            padding: 30px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            margin-bottom: 30px;
        }

        .chart-container canvas {
            max-height: 400px;
        }

        /* Inventory */
        .inventory-table {
            width: 100%;
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }

        .inventory-table table {
            width: 100%;
            border-collapse: collapse;
        }

        .inventory-table th,
        .inventory-table td {
            padding: 15px;
            text-align: left;
            border-bottom: 1px solid #e2e8f0;
        }

        .inventory-table th {
            background: #f7fafc;
            font-weight: 700;
            color: #4a5568;
            text-transform: uppercase;
            font-size: 12px;
        }

        .inventory-table tr:last-child td {
            border-bottom: none;
        }

        .status-badge {
            padding: 6px 12px;
            border-radius: 6px;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
        }

        .status-badge.owned {
            background: #c6f6d5;
            color: #276749;
        }

        .status-badge.rented {
            background: #feebc8;
            color: #9c4221;
        }

        .status-badge.alert {
            background: #fed7d7;
            color: #9b2c2c;
            animation: blink 1s infinite;
        }

        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }

        .status-badge.pago {
            background: #c6f6d5;
            color: #276749;
        }

        .status-badge.pendente {
            background: #feebc8;
            color: #9c4221;
        }

        .status-badge.vencido {
            background: #fed7d7;
            color: #9b2c2c;
        }

        /* Cards Vencidos */
        .task-card.overdue {
            border-left: 4px solid #f56565;
            background: #fff5f5;
        }

        .task-card.overdue .card-title {
            color: #c53030;
        }

        .overdue-badge {
            background: #f56565;
            color: white;
            padding: 4px 8px;
            border-radius: 6px;
            font-size: 11px;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

        /* Cronograma */
        .cronograma-wrapper {
            padding: 30px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }
        
        .cronograma-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .cronograma-header h2 {
            color: #2d3748;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .cronograma-dashboard {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }
        
        .crono-card {
            padding: 25px;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            color: white;
            display: flex;
            align-items: center;
            gap: 20px;
            transition: transform 0.3s;
        }
        
        .crono-card:hover {
            transform: translateY(-5px);
        }
        
        .crono-card.info {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        
        .crono-card.success {
            background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
        }
        
        .crono-card.warning {
            background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
        }
        
        .crono-card.danger {
            background: linear-gradient(135deg, #f56565 0%, #c53030 100%);
        }
        
        .crono-icon {
            font-size: 36px;
            opacity: 0.9;
        }
        
        .crono-label {
            font-size: 12px;
            text-transform: uppercase;
            opacity: 0.9;
            font-weight: 600;
            margin-bottom: 8px;
        }
        
        .crono-value {
            font-size: 28px;
            font-weight: 700;
        }
        
        .crono-sub {
            font-size: 11px;
            opacity: 0.8;
            margin-top: 5px;
        }
        
        .crono-progress-section {
            background: white;
            padding: 25px;
            border-radius: 12px;
            margin-bottom: 30px;
            border: 2px solid #e2e8f0;
        }
        
        .crono-progress-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .crono-progress-header h3 {
            margin: 0;
            color: #2d3748;
        }
        
        .crono-progress-percent {
            font-size: 24px;
            font-weight: 700;
            color: #667eea;
        }
        
        .crono-progress-wrapper {
            background: #e2e8f0;
            border-radius: 50px;
            height: 40px;
            overflow: hidden;
            position: relative;
        }
        
        .crono-progress-fill {
            background: linear-gradient(90deg, #48bb78 0%, #667eea 100%);
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            font-size: 14px;
            transition: width 1s ease;
            min-width: 60px;
        }
        
        .gantt-wrapper {
            overflow-x: auto;
            background: white;
            border-radius: 12px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
        .gantt-table {
            width: 100%;
            border-collapse: collapse;
            min-width: 1000px;
        }
        
        .gantt-table thead {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }
        
        .gantt-table th {
            padding: 15px;
            text-align: left;
            font-weight: 600;
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .gantt-table tbody tr {
            border-bottom: 1px solid #e2e8f0;
            transition: background 0.2s;
        }
        
        .gantt-table tbody tr:hover {
            background: #f7fafc;
        }
        
        .gantt-table td {
            padding: 12px 15px;
            font-size: 14px;
            color: #2d3748;
        }
        
        .gantt-bar {
            height: 24px;
            border-radius: 12px;
            position: relative;
            min-width: 30px;
        }
        
        .gantt-bar-fill {
            height: 100%;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 11px;
            font-weight: 600;
            transition: width 0.5s ease;
        }
        
        .gantt-bar.completed .gantt-bar-fill {
            background: linear-gradient(90deg, #48bb78 0%, #38a169 100%);
        }
        
        .gantt-bar.in-progress .gantt-bar-fill {
            background: linear-gradient(90deg, #4299e1 0%, #3182ce 100%);
        }
        
        .gantt-bar.pending .gantt-bar-fill {
            background: linear-gradient(90deg, #a0aec0 0%, #718096 100%);
        }
        
        .gantt-bar.overdue .gantt-bar-fill {
            background: linear-gradient(90deg, #f56565 0%, #c53030 100%);
        }
        
        .btn-icon {
            background: none;
            border: none;
            cursor: pointer;
            padding: 6px 10px;
            border-radius: 6px;
            transition: all 0.2s;
            font-size: 14px;
            color: #667eea;
        }
        
        .btn-icon:hover {
            background: #e3e8ff;
            color: #5568d3;
        }
        
        .btn-icon-danger {
            background: none;
            border: none;
            cursor: pointer;
            padding: 6px 10px;
            border-radius: 6px;
            transition: all 0.2s;
            font-size: 14px;
            color: #f56565;
        }
        
        .btn-icon-danger:hover {
            background: #fff5f5;
            color: #c53030;
        }
        
        .empty-state {
            text-align: center;
            padding: 60px 20px;
            color: #a0aec0;
        }
        
        .empty-state i {
            font-size: 64px;
            margin-bottom: 20px;
            opacity: 0.5;
        }
        
        .empty-state h3 {
            font-size: 20px;
            margin-bottom: 10px;
            color: #718096;
        }
        
        .empty-state p {
            font-size: 14px;
            margin-bottom: 20px;
        }
        
        .servico-stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }
        
        .servico-stat-card {
            background: white;
            border-radius: 12px;
            padding: 20px;
            border-left: 5px solid;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            transition: transform 0.2s;
        }
        
        .servico-stat-card:hover {
            transform: translateY(-3px);
        }
        
        .servico-stat-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .servico-stat-name {
            font-weight: 700;
            font-size: 16px;
            color: #2d3748;
        }
        
        .servico-stat-percent {
            font-size: 24px;
            font-weight: 700;
        }
        
        .servico-progress-bar {
            height: 8px;
            background: #e2e8f0;
            border-radius: 4px;
            overflow: hidden;
            margin-bottom: 12px;
        }
        
        .servico-progress-fill {
            height: 100%;
            border-radius: 4px;
            transition: width 0.5s ease;
        }
        
        .servico-stat-details {
            display: flex;
            justify-content: space-between;
            font-size: 13px;
            color: #718096;
        }

        .week-info {
            background: linear-gradient(135deg, #fbd38d 0%, #f6ad55 100%);
            color: #7c2d12;
            padding: 12px 20px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        /* Financial Styles */
        .finance-summary {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }

        .finance-card {
            padding: 25px;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            color: white;
            transition: transform 0.3s;
        }

        .finance-card:hover {
            transform: translateY(-5px);
        }

        .finance-card.blue {
            background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
        }

        .finance-card.green {
            background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
        }

        .finance-card.red {
            background: linear-gradient(135deg, #f56565 0%, #c53030 100%);
        }

        .finance-card.purple {
            background: linear-gradient(135deg, #9f7aea 0%, #805ad5 100%);
        }

        .finance-card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .finance-card-icon {
            font-size: 32px;
            opacity: 0.9;
        }

        .finance-card-label {
            font-size: 13px;
            opacity: 0.9;
            text-transform: uppercase;
            font-weight: 600;
        }

        .finance-card-value {
            font-size: 32px;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .finance-card-sub {
            font-size: 12px;
            opacity: 0.8;
        }

        .finance-table {
            width: 100%;
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }

        .finance-table table {
            width: 100%;
            border-collapse: collapse;
        }

        .finance-table th,
        .finance-table td {
            padding: 15px;
            text-align: left;
            border-bottom: 1px solid #e2e8f0;
        }

        .finance-table th {
            background: #f7fafc;
            font-weight: 700;
            color: #4a5568;
            text-transform: uppercase;
            font-size: 12px;
        }

        .finance-table tr:last-child td {
            border-bottom: none;
        }

        .categoria-badge {
            padding: 6px 12px;
            border-radius: 6px;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .kanban-board {
                flex-direction: column;
            }

            .kanban-column {
                min-width: 100%;
            }
            
            /* CARDS COMPACTOS MOBILE */
            .task-card {
                padding: 8px;
                margin-bottom: 8px;
            }
            
            .card-title {
                font-size: 13px;
                margin-bottom: 4px;
                -webkit-line-clamp: 2;
            }
            
            .card-desc {
                font-size: 11px;
                margin-bottom: 6px;
                line-height: 1.4;
                -webkit-line-clamp: 2;
                max-height: 3em;
            }
            
            .card-tags {
                margin-bottom: 6px;
                gap: 4px;
            }
            
            .tag {
                font-size: 10px;
                padding: 3px 8px;
            }
            
            .card-footer {
                font-size: 11px;
                padding-top: 6px;
            }
            
            .card-progress {
                height: 4px;
            }

            .form-row {
                grid-template-columns: 1fr;
            }

            .header {
                flex-direction: column;
                align-items: flex-start;
            }

            .toolbar {
                flex-direction: column;
                gap: 0.5rem;
                padding: 0.75rem;
            }

            .search-box {
                width: 100%;
            }
            
            /* Kanban columns mobile */
            .kanban-column-header {
                padding: 10px;
            }
            
            .kanban-column-title {
                font-size: 14px;
            }
            
            .kanban-column-count {
                padding: 3px 8px;
                font-size: 11px;
            }
        }

        ::-webkit-scrollbar {
            width: 10px;
            height: 10px;
        }

        ::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }

        ::-webkit-scrollbar-thumb {
            background: #667eea;
            border-radius: 10px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: #764ba2;
        }

        /* ANIMAÇÕES PARA INDICADOR DE LOADING */
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(100px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideOutRight {
            from {
                opacity: 1;
                transform: translateX(0);
            }
            to {
                opacity: 0;
                transform: translateX(100px);
            }
        }
