        .nav-tab {
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .nav-tab.active {
            background: linear-gradient(135deg, #007aff 0%, #079ee8 100%);
            color: white;
        }

        .tab-content {
            display: none;
            animation: fadeIn 0.5s;
        }

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

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        #createMap,
        #routesMap {
            height: 500px;
            border: 2px solid #dee2e6;
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .card {
            border: none;
            border-radius: 12px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
        }

        .stats-card {
            background: linear-gradient(135deg, #007aff 0%, #079ee8 100%);
            color: white;
            border-radius: 16px;
        }

        .priority-urgent {
            border-left: 4px solid #dc3545;
        }

        .priority-alta {
            border-left: 4px solid #fd7e14;
        }

        .priority-normal {
            border-left: 4px solid #28a745;
        }

        .priority-baixa {
            border-left: 4px solid #6c757d;
        }

        .btn-gradient {
            background: linear-gradient(135deg, #007aff 0%, #079ee8 100%);
            border: none;
            color: white;
            transition: all 0.3s ease;
        }

        .btn-gradient:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 122, 255, 0.4);
            color: white;
        }

        /* === ESTILOS PARA DRAG AND DROP === */
        .draggable-card {
            transition: all 0.3s ease;
        }

        .draggable-card.dragging {
            opacity: 0.8;
            transform: rotate(3deg) scale(1.05);
            z-index: 1000;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
        }

        .drop-zone-active {
            transition: all 0.2s ease;
        }

        .drop-zone-active.drop-over {
            background-color: rgba(102, 126, 234, 0.05) !important;
            border: 2px dashed #667eea !important;
            transform: scale(1.01);
        }

        .drag-placeholder {
            animation: dragPlaceholderPulse 1s ease-in-out infinite;
        }

        @keyframes dragPlaceholderPulse {

            0%,
            100% {
                opacity: 0.6;
            }

            50% {
                opacity: 1;
            }
        }

        .drag-handle {
            transition: all 0.2s ease;
        }

        .drag-handle:hover {
            color: #667eea !important;
            transform: scale(1.1);
        }

        /* Feedback visual para pendentes */
        #pendingCallsContainer.drop-zone-active {
            border: 2px dashed #ffc107 !important;
            background-color: rgba(255, 193, 7, 0.1) !important;
            transform: scale(1.02);
            transition: all 0.2s ease;
        }

        /* === ESTILOS PARA COLUNAS VAZIAS === */
        .empty-column {
            transition: all 0.3s ease;
        }

        .empty-column .empty-state {
            transition: all 0.2s ease;
        }

        .empty-column.drop-over .empty-state {
            transform: scale(1.05) !important;
            background: rgba(102, 126, 234, 0.05) !important;
            border: 1px dashed #667eea !important;
            border-radius: 8px;
        }

        .empty-state {
            user-select: none;
            pointer-events: none;
        }

        .empty-column:hover {
            opacity: 1;
            transform: translateY(-2px);
        }

        .selected-location {
            background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
            border: 2px solid #28a745;
            border-radius: 12px;
            padding: 15px;
            margin-top: 15px;
        }

        .loading-spinner {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid #f3f3f3;
            border-top: 3px solid #3498db;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

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

            100% {
                transform: rotate(360deg);
            }
        }

        /* === HOVER STATES AVANÇADOS PARA CARDS KANBAN === */
        .kanban-card {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .kanban-card:hover {
            transform: translateY(-4px) scale(1.02);
            box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1);
            z-index: 10;
        }

        .kanban-card:hover::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
            pointer-events: none;
            opacity: 1;
            transition: opacity 0.3s ease;
        }

        .kanban-card:active {
            transform: translateY(-2px) scale(1.01);
            transition: all 0.1s ease;
        }

        /* === INDICADORES DE PROGRESSO POR TÉCNICO === */
        .progress-indicator {
            position: relative;
            height: 6px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 3px;
            overflow: hidden;
            margin: 8px 0;
        }

        .progress-bar {
            height: 100%;
            background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
            border-radius: 3px;
            transition: width 0.6s ease;
            position: relative;
        }

        .progress-bar.overloaded {
            background: linear-gradient(90deg, #dc3545 0%, #fd7e14 100%);
        }

        .progress-bar::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
            animation: progressShimmer 2s infinite;
        }

        @keyframes progressShimmer {
            0% {
                left: -100%;
            }

            100% {
                left: 100%;
            }
        }

        /* === TOOLTIPS INFORMATIVOS === */
        [title] {
            position: relative;
        }

        [title]:hover::after {
            content: attr(title);
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(33, 37, 41, 0.95);
            color: white;
            padding: 8px 12px;
            border-radius: 6px;
            font-size: 12px;
            white-space: nowrap;
            z-index: 1000;
            pointer-events: none;
            opacity: 0;
            animation: tooltipFadeIn 0.3s ease forwards;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        [title]:hover::before {
            content: '';
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%) translateY(1px);
            border: 4px solid transparent;
            border-top-color: rgba(33, 37, 41, 0.95);
            z-index: 1000;
            pointer-events: none;
            opacity: 0;
            animation: tooltipFadeIn 0.3s ease forwards;
        }

        @keyframes tooltipFadeIn {
            from {
                opacity: 0;
                transform: translateX(-50%) translateY(4px);
            }

            to {
                opacity: 1;
                transform: translateX(-50%) translateY(0);
            }
        }

        /* === MELHOR FEEDBACK VISUAL PARA DRAG & DROP === */
        .kanban-cards-container {
            transition: all 0.2s ease;
            position: relative;
        }

        .kanban-cards-container.drag-over {
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
            border: 2px dashed #667eea;
            border-radius: 8px;
            transform: scale(1.01);
        }

        .kanban-cards-container.drag-over::before {
            content: '📥 Solte aqui';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(102, 126, 234, 0.9);
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            z-index: 100;
            animation: dropZonePulse 1s ease-in-out infinite;
        }

        @keyframes dropZonePulse {

            0%,
            100% {
                transform: translate(-50%, -50%) scale(1);
            }

            50% {
                transform: translate(-50%, -50%) scale(1.05);
            }
        }

        /* === INDICADOR DE STATUS VISUAL === */
        .status-indicator {
            position: absolute;
            top: 8px;
            right: 8px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #28a745;
            border: 2px solid white;
            animation: statusPulse 2s ease-in-out infinite;
        }

        .status-indicator.urgent {
            background: #dc3545;
        }

        .status-indicator.high {
            background: #fd7e14;
        }

        @keyframes statusPulse {

            0%,
            100% {
                transform: scale(1);
                opacity: 1;
            }

            50% {
                transform: scale(1.2);
                opacity: 0.8;
            }
        }

        /* === MELHORIAS PARA CARDS COM POSICIONAMENTO TEMPORAL === */
        .service-card-vertical {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
            border-left: 4px solid;
            margin-bottom: 0 !important;
        }

        .service-card-vertical:hover {
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
            z-index: 100 !important;
        }

        .kanban-cards-container {
            position: relative;
            min-height: 1200px;
            background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
        }

        .kanban-cards-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 60px;
            right: 0;
            height: 100%;
            background-image:
                repeating-linear-gradient(0deg,
                    transparent,
                    transparent 49px,
                    #e9ecef 49px,
                    #e9ecef 50px);
            pointer-events: none;
            z-index: 1;
        }

        /* === INDICADORES DE HORÁRIO MELHORADOS === */
        .time-indicator {
            position: absolute;
            top: -25px;
            left: 0;
            right: 0;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            font-size: 11px;
            padding: 4px 8px;
            border-radius: 4px;
            text-align: center;
            font-weight: bold;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
            z-index: 15;
        }

        /* === CARDS DE TRAJETO MELHORADOS === */
        .travel-card {
            background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%) !important;
            border: 2px dashed #f39c12 !important;
            opacity: 0.9;
            transition: all 0.2s ease;
        }

        .travel-card:hover {
            opacity: 1;
            transform: scale(1.02);
        }

        /* === RESPONSIVIDADE MELHORADA === */
        @media (max-width: 768px) {
            .kanban-card:hover {
                transform: none;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            }

            .progress-indicator {
                height: 4px;
            }

            [title]:hover::after,
            [title]:hover::before {
                display: none;
            }

            .service-card-vertical {
                width: 90% !important;
                left: 5% !important;
            }
        }

        /* === ESTILOS PARA TABELA DE TÉCNICOS === */
        #techniciansTable {
            border-collapse: collapse;
            border-spacing: 0;
        }

        #techniciansTable thead {
            background: linear-gradient(135deg, #007aff 0%, #079ee8 100%);
        }

        #techniciansTable thead tr {
            box-shadow: 0 2px 4px rgba(0, 122, 255, 0.1);
        }

        #techniciansTable thead th {
            color: white;
            font-weight: 600;
            padding: 16px;
            border: none;
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            text-align: left;
        }

        #techniciansTable tbody tr {
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            transition: background-color 0.2s ease;
        }

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

        #techniciansTable tbody tr:nth-child(odd) {
            background-color: #ffffff;
        }

        #techniciansTable tbody tr:hover {
            background-color: #e7f3ff;
        }

        #techniciansTable tbody tr:last-child {
            border-bottom: none;
        }

        #techniciansTable tbody td {
            padding: 12px 16px;
            border: none;
            vertical-align: middle;
        }

        /* === ESTILOS PARA BOTÕES DE VISUALIZAÇÃO DE TÉCNICOS === */
        .tech-view-btn.active {
            background: linear-gradient(135deg, #007aff 0%, #079ee8 100%);
            color: white;
            border-color: #007aff;
        }

        .tech-view-btn.active:hover {
            background: linear-gradient(135deg, #0066dd 0%, #0688cc 100%);
            color: white;
            border-color: #0066dd;
        }

        /* === ESTILOS PARA CONTEXT MENU === */
        .context-menu {
            position: fixed;
            background: white;
            border: 1px solid rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
            padding: 4px 0;
            min-width: 200px;
            z-index: 10000;
            animation: contextMenuFadeIn 0.15s ease-out;
            overflow: hidden;
        }

        @keyframes contextMenuFadeIn {
            from {
                opacity: 0;
                transform: scale(0.95) translateY(-8px);
            }
            to {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }

        .context-menu-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 16px;
            cursor: pointer;
            transition: all 0.15s ease;
            font-size: 14px;
            color: #2c3e50;
            user-select: none;
        }

        .context-menu-item:hover:not(.disabled) {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }

        .context-menu-item.disabled {
            opacity: 0.5;
            cursor: not-allowed;
            font-weight: 600;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: #6c757d;
            background: #f8f9fa;
        }

        .context-menu-item.danger:hover:not(.disabled) {
            background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
        }

        .context-menu-item i {
            width: 18px;
            text-align: center;
            flex-shrink: 0;
        }

        .context-menu-item span:first-of-type {
            flex-grow: 1;
        }

        .context-menu-shortcut {
            font-size: 11px;
            color: #95a5a6;
            opacity: 0.8;
        }

        .context-menu-separator {
            height: 1px;
            background: rgba(0, 0, 0, 0.08);
            margin: 4px 0;
        }

        /* === ESTILOS PARA MODAL DE IMPORTAÇÃO === */
        .modal-backdrop.show {
            backdrop-filter: blur(8px);
            background-color: rgba(0, 0, 0, 0.7) !important;
            opacity: 1 !important;
        }

