        :root {
            --primary-color: #00C896;
            --primary-dark: #00A67D;
            --warning-color: #ffc107;
            --info-color: #17a2b8;
            --purple-color: #6f42c1;
            --success-color: #28a745;
            --danger-color: #dc3545;
        }

        body {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        .tracking-container {
            max-width: 900px;
            margin: 120px auto 50px;
            padding: 0 20px;
        }

        .page-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .page-title {
            font-size: 2.8rem;
            font-weight: 800;
            color: #2c3e50;
            margin-bottom: 15px;
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .page-subtitle {
            font-size: 1.1rem;
            color: #6c757d;
            max-width: 600px;
            margin: 0 auto;
        }

        /* Formulario de búsqueda */
        .search-section {
            background: white;
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            margin-bottom: 30px;
            border: 1px solid rgba(0, 200, 150, 0.1);
        }

        .search-form {
            max-width: 500px;
            margin: 0 auto;
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-label {
            display: block;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 10px;
            font-size: 1.1rem;
        }

        .form-input {
            width: 100%;
            padding: 15px 20px;
            border: 2px solid #e9ecef;
            border-radius: 12px;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            background: #f8f9fa;
            text-transform: uppercase;
        }

        .form-input:focus {
            outline: none;
            border-color: var(--primary-color);
            background: white;
            box-shadow: 0 0 0 3px rgba(0, 200, 150, 0.1);
        }

        .form-help {
            font-size: 0.9rem;
            color: #6c757d;
            margin-top: 8px;
        }

        .search-btn {
            width: 100%;
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 12px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .search-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: left 0.6s;
        }

        .search-btn:hover::before {
            left: 100%;
        }

        .search-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 200, 150, 0.4);
        }

        /* Mensajes de error */
        .error-message {
            background: linear-gradient(135deg, #ffe6e6, #ffcccc);
            color: var(--danger-color);
            padding: 20px;
            border-radius: 12px;
            border-left: 4px solid var(--danger-color);
            margin-bottom: 30px;
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .error-icon {
            font-size: 1.5rem;
            flex-shrink: 0;
        }

        /* Resultados del seguimiento */
        .tracking-results {
            background: white;
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            border: 1px solid rgba(0, 200, 150, 0.1);
            animation: fadeInUp 0.6s ease;
        }

        .result-header {
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
            color: white;
            padding: 30px;
            text-align: center;
        }

        .order-code {
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 10px;
        }

        .order-date {
            opacity: 0.9;
            font-size: 1.1rem;
        }

        /* Status del pedido */
        .status-section {
            padding: 40px;
            text-align: center;
        }

        .progress-container {
            max-width: 700px;
            margin: 0 auto;
        }

        .progress-steps {
            display: flex;
            justify-content: space-between;
            position: relative;
            margin-bottom: 40px;
        }

        .progress-line {
            position: absolute;
            top: 30px;
            left: 50px;
            right: 50px;
            height: 4px;
            background: #e9ecef;
            z-index: 1;
            border-radius: 2px;
        }

        .progress-line-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
            transition: width 1s ease;
            border-radius: 2px;
        }

        .step {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 15px;
            flex: 1;
        }

        .step-circle {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: #e9ecef;
            color: #6c757d;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.2rem;
            transition: all 0.5s ease;
            border: 4px solid white;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .step.completed .step-circle {
            background: var(--success-color);
            color: white;
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
        }

        .step.active .step-circle {
            background: var(--primary-color);
            color: white;
            transform: scale(1.2);
            box-shadow: 0 8px 25px rgba(0, 200, 150, 0.5);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {

            0%,
            100% {
                box-shadow: 0 8px 25px rgba(0, 200, 150, 0.5);
            }

            50% {
                box-shadow: 0 8px 25px rgba(0, 200, 150, 0.8);
            }
        }

        .step-label {
            font-size: 0.95rem;
            font-weight: 600;
            color: #6c757d;
            text-align: center;
            max-width: 100px;
            line-height: 1.3;
        }

        .step.completed .step-label,
        .step.active .step-label {
            color: var(--primary-color);
            font-weight: 700;
        }

        .current-status {
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            padding: 30px;
            border-radius: 15px;
            margin-top: 30px;
        }

        .status-badge {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            padding: 15px 25px;
            border-radius: 30px;
            font-weight: 700;
            font-size: 1.2rem;
            margin-bottom: 15px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .status-1 {
            background: linear-gradient(135deg, var(--warning-color), #ffb347);
            color: white;
        }

        .status-2 {
            background: linear-gradient(135deg, var(--info-color), #17a2b8);
            color: white;
        }

        .status-3 {
            background: linear-gradient(135deg, var(--purple-color), #8e44ad);
            color: white;
        }

        .status-4 {
            background: linear-gradient(135deg, var(--success-color), #2ecc71);
            color: white;
        }

        .status-description {
            color: #6c757d;
            line-height: 1.6;
            font-size: 1rem;
        }

        /* Información del pedido */
        .order-info {
            padding: 40px;
            border-top: 1px solid #f0f0f0;
        }

        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
        }

        .info-card {
            background: #f8f9fa;
            padding: 25px;
            border-radius: 15px;
            border-left: 4px solid var(--primary-color);
            transition: all 0.3s ease;
        }

        .info-card:hover {
            background: white;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transform: translateY(-2px);
        }

        .info-card h4 {
            color: var(--primary-color);
            font-weight: 600;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.1rem;
        }

        .info-card p {
            color: #6c757d;
            margin-bottom: 8px;
            line-height: 1.5;
        }

        .info-card .highlight {
            color: #2c3e50;
            font-weight: 600;
        }

        /* Acciones */
        .actions-section {
            padding: 30px 40px;
            background: #f8f9fa;
            text-align: center;
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .action-btn {
            padding: 12px 25px;
            border: none;
            border-radius: 10px;
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
            color: white;
        }

        .btn-secondary {
            background: #6c757d;
            color: white;
        }

        .action-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .tracking-container {
                margin-top: 100px;
                padding: 0 15px;
            }

            .page-title {
                font-size: 2.2rem;
            }

            .search-section,
            .status-section,
            .order-info {
                padding: 25px 20px;
            }

            .progress-steps {
                flex-direction: column;
                gap: 30px;
                align-items: center;
            }

            .progress-line {
                top: 30px;
                left: 50%;
                right: auto;
                width: 4px;
                height: calc(100% - 120px);
                transform: translateX(-50%);
            }

            .step-circle {
                width: 50px;
                height: 50px;
                font-size: 1rem;
            }

            .step-label {
                max-width: 150px;
            }

            .info-grid {
                grid-template-columns: 1fr;
            }

            .actions-section {
                flex-direction: column;
                align-items: center;
            }

            .action-btn {
                width: 100%;
                max-width: 300px;
                justify-content: center;
            }
        }

        @media (max-width: 480px) {
            .page-title {
                font-size: 1.8rem;
            }

            .order-code {
                font-size: 1.5rem;
            }

            .status-badge {
                font-size: 1rem;
                padding: 12px 20px;
            }
        }

        /* Animaciones */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }