    :root {
        --primary-color: #20b2aa;
        --success-color: #28a745;
        --info-color: #17a2b8;
        --warning-color: #ffc107;
        --danger-color: #dc3545;
        --light-bg: #f8f9fa;
        --border-radius: 12px;
        --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
        --gradient-primary: linear-gradient(135deg, var(--primary-color), #17a2b8);
    }

    .package-hero {
        background: var(--gradient-primary);
        color: white;
        padding: 3rem 0;
        position: relative;
        overflow: hidden;
    }

    .package-hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
        opacity: 0.3;
    }

    .package-hero .container {
        position: relative;
        z-index: 2;
    }

    .breadcrumb {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 25px;
        padding: 0.5rem 1rem;
    }

    .breadcrumb-item a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
    }

    .breadcrumb-item.active {
        color: white;
    }

    .status-badge {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
        border-radius: 25px;
        font-weight: 600;
        backdrop-filter: blur(10px);
    }

    .price-display {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        border-radius: var(--border-radius);
        padding: 1.5rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .price-amount {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    /* Enhanced Route Visual */
    .route-visual {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 20px;
        padding: 2rem;
        margin: 2rem 0;
        position: relative;
        overflow: hidden;
    }

    .route-visual::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
        animation: shimmer 3s infinite;
    }

    @keyframes shimmer {
        0% { transform: translateX(-100%); }
        100% { transform: translateX(100%); }
    }

    .route-container {
        position: relative;
        z-index: 2;
    }

    .route-points {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        min-height: 120px;
    }

    .route-point {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        flex: 1;
        max-width: 200px;
        position: relative;
        z-index: 3;
    }

    .route-icon {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        color: white;
        margin-bottom: 1rem;
        position: relative;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
    }

    .route-icon::before {
        content: "";
        position: absolute;
        top: -3px;
        left: -3px;
        right: -3px;
        bottom: -3px;
        border-radius: 50%;
        background: linear-gradient(45deg, rgba(255, 255, 255, 0.3), transparent);
        z-index: -1;
    }

    .route-icon.origin {
        background: linear-gradient(135deg, #28a745, #20c997);
        animation: pulse-origin 2s infinite;
    }

    .route-icon.destination {
        background: linear-gradient(135deg, #17a2b8, #6f42c1);
        animation: pulse-destination 2s infinite 0.5s;
    }

    @keyframes pulse-origin {
        0%, 100% { transform: scale(1); box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3); }
        50% { transform: scale(1.05); box-shadow: 0 12px 35px rgba(40, 167, 69, 0.5); }
    }

    @keyframes pulse-destination {
        0%, 100% { transform: scale(1); box-shadow: 0 8px 25px rgba(23, 162, 184, 0.3); }
        50% { transform: scale(1.05); box-shadow: 0 12px 35px rgba(23, 162, 184, 0.5); }
    }

    .route-location {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        padding: 1rem 1.5rem;
        color: #333;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        min-width: 160px;
    }

    .route-city {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 0.25rem;
        color: #333;
    }

    .route-country {
        font-size: 0.9rem;
        color: #6c757d;
        font-weight: 500;
    }

    .route-path {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #28a745, #20b2aa, #17a2b8);
        transform: translateY(-50%);
        z-index: 1;
        border-radius: 2px;
        overflow: hidden;
    }

    .route-path::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
        animation: travel 3s infinite;
    }

    @keyframes travel {
        0% { left: -100%; }
        100% { left: 100%; }
    }

    .route-arrow {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
        background: white;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: var(--primary-color);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        animation: bounce 2s infinite;
    }

    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% { transform: translate(-50%, -50%) translateY(0); }
        40% { transform: translate(-50%, -50%) translateY(-10px); }
        60% { transform: translate(-50%, -50%) translateY(-5px); }
    }

    .route-stats {
        display: flex;
        justify-content: space-around;
        margin-top: 2rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .route-stat {
        text-align: center;
        color: white;
    }

    .route-stat-value {
        font-size: 1.5rem;
        font-weight: 700;
        display: block;
        margin-bottom: 0.25rem;
    }

    .route-stat-label {
        font-size: 0.9rem;
        opacity: 0.8;
    }

    /* Enhanced Cards */
    .enhanced-card {
        border: none;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow);
        transition: all 0.3s ease;
        overflow: hidden;
    }

    .enhanced-card:hover {
        box-shadow: var(--shadow-hover);
        transform: translateY(-2px);
    }

    .card-header-enhanced {
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: white;
        border: none;
        padding: 1.5rem;
    }

    .match-button {
        background: linear-gradient(135deg, #28a745, #20c997);
        border: none;
        color: white;
        padding: 1rem 2rem;
        border-radius: 25px;
        font-weight: 600;
        font-size: 1.1rem;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .match-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    }

    .match-button:disabled {
        opacity: 0.7;
        cursor: not-allowed;
        transform: none;
    }

    .match-button.loading {
        pointer-events: none;
    }

    .loading-spinner {
        display: none;
        width: 20px;
        height: 20px;
        border: 2px solid transparent;
        border-top: 2px solid white;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin-right: 0.5rem;
    }

    .match-button.loading .loading-spinner {
        display: inline-block;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    .btn-enhanced {
        border-radius: 25px;
        padding: 0.75rem 2rem;
        font-weight: 600;
        transition: all 0.3s ease;
        border: none;
    }

    .btn-enhanced:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow);
    }

    /* Mobile & Tablet Responsive */
    @media (max-width: 1200px) {
        .route-visual {
            padding: 1.5rem;
        }
        
        .route-icon {
            width: 70px;
            height: 70px;
            font-size: 1.8rem;
        }
        
        .route-location {
            min-width: 140px;
            padding: 0.8rem 1.2rem;
        }
    }

    @media (max-width: 992px) {
        .package-hero {
            padding: 2rem 0;
        }

        .price-amount {
            font-size: 2rem;
        }

        .route-visual {
            margin: 1.5rem 0;
            padding: 1.5rem 1rem;
        }

        .route-points {
            min-height: 100px;
        }

        .route-icon {
            width: 60px;
            height: 60px;
            font-size: 1.5rem;
        }

        .route-location {
            min-width: 120px;
            padding: 0.7rem 1rem;
        }

        .route-city {
            font-size: 1rem;
        }

        .route-country {
            font-size: 0.8rem;
        }

        .route-arrow {
            width: 40px;
            height: 40px;
            font-size: 1.2rem;
        }

        .route-stats {
            margin-top: 1.5rem;
            padding-top: 1rem;
        }

        .route-stat-value {
            font-size: 1.2rem;
        }
    }

    @media (max-width: 768px) {
        .package-hero {
            padding: 1.5rem 0;
        }

        .route-visual {
            padding: 1rem;
            margin: 1rem 0;
        }

        .route-points {
            flex-direction: column;
            gap: 1.5rem;
            min-height: auto;
        }

        .route-point {
            max-width: 100%;
            width: 100%;
        }

        .route-icon {
            width: 70px;
            height: 70px;
            font-size: 1.6rem;
        }

        .route-location {
            min-width: 200px;
            width: 100%;
            max-width: 280px;
        }

        .route-path {
            display: none;
        }

        .route-arrow {
            position: static;
            transform: rotate(90deg);
            margin: 1rem 0;
            background: rgba(255, 255, 255, 0.9);
            animation: bounce-vertical 2s infinite;
        }

        @keyframes bounce-vertical {
            0%, 20%, 50%, 80%, 100% { transform: rotate(90deg) translateY(0); }
            40% { transform: rotate(90deg) translateY(-10px); }
            60% { transform: rotate(90deg) translateY(-5px); }
        }

        .route-stats {
            flex-direction: column;
            gap: 1rem;
            margin-top: 1rem;
        }

        .route-stat {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(255, 255, 255, 0.1);
            padding: 0.8rem 1rem;
            border-radius: 10px;
        }

        .route-stat-value {
            font-size: 1.1rem;
            margin-bottom: 0;
        }

        .btn-enhanced {
            width: 100%;
            margin-bottom: 0.5rem;
        }

        .price-amount {
            font-size: 1.8rem;
        }
    }

    @media (max-width: 576px) {
        .route-visual {
            padding: 0.8rem;
            border-radius: 15px;
        }

        .route-icon {
            width: 60px;
            height: 60px;
            font-size: 1.4rem;
        }

        .route-location {
            padding: 0.6rem 0.8rem;
            min-width: 180px;
        }

        .route-city {
            font-size: 0.95rem;
        }

        .route-country {
            font-size: 0.75rem;
        }

        .route-arrow {
            width: 35px;
            height: 35px;
            font-size: 1rem;
        }

        .route-stat {
            padding: 0.6rem 0.8rem;
        }

        .route-stat-value {
            font-size: 1rem;
        }

        .route-stat-label {
            font-size: 0.8rem;
        }
    }

    /* Additional responsive utilities */
    @media (max-width: 480px) {
        .route-visual {
            margin: 0.5rem -15px;
            border-radius: 0;
        }

        .route-location {
            min-width: 160px;
        }

        .route-points {
            gap: 1rem;
        }
    }

    /* Landscape tablet */
    @media (max-width: 1024px) and (orientation: landscape) {
        .route-visual {
            padding: 1.2rem;
        }

        .route-points {
            min-height: 90px;
        }

        .route-icon {
            width: 65px;
            height: 65px;
            font-size: 1.6rem;
        }
    }

    /* High DPI displays */
    @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
        .route-visual::before {
            background-size: 200px 200px;
        }
    }

    /* Dark mode support */
    @media (prefers-color-scheme: dark) {
        .route-location {
            background: rgba(0, 0, 0, 0.8);
            color: white;
        }

        .route-city {
            color: white;
        }

        .route-country {
            color: #adb5bd;
        }
    }

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
        .route-icon,
        .route-arrow,
        .route-path::before,
        .route-visual::before {
            animation: none;
        }
    }

    /* Rest of the existing styles remain the same */
    .detail-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .detail-item {
        background: var(--light-bg);
        padding: 1.5rem;
        border-radius: var(--border-radius);
        border-left: 4px solid var(--primary-color);
    }

    .detail-item h6 {
        color: var(--primary-color);
        font-weight: 600;
        margin-bottom: 1rem;
    }

    .info-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .info-list li {
        padding: 0.5rem 0;
        border-bottom: 1px solid #e9ecef;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .info-list li:last-child {
        border-bottom: none;
    }

    .info-label {
        font-weight: 500;
        color: #6c757d;
    }

    .info-value {
        font-weight: 600;
        color: #333;
    }

    .carrier-card {
        border: 2px solid #e9ecef;
        border-radius: var(--border-radius);
        padding: 1.5rem;
        margin-bottom: 1rem;
        transition: all 0.3s ease;
    }

    .carrier-card:hover {
        border-color: var(--primary-color);
        box-shadow: var(--shadow);
    }

    .carrier-card.matched {
        border-color: var(--success-color);
        background: rgba(40, 167, 69, 0.05);
    }

    .user-avatar {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--primary-color), var(--info-color));
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        color: white;
        font-weight: 700;
        margin: 0 auto 1rem;
    }

    .rating-display {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .rating-stars {
        color: #ffc107;
    }

    .verification-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        border-radius: 25px;
        font-size: 0.9rem;
        font-weight: 600;
    }

    .timeline-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
        background: white;
        border-radius: var(--border-radius);
        margin-bottom: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .timeline-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.2rem;
    }

    .timeline-icon.pickup {
        background: var(--warning-color);
    }

    .timeline-icon.delivery {
        background: var(--success-color);
    }

    .image-gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
        margin-top: 1rem;
    }

    .package-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: var(--border-radius);
        transition: transform 0.3s ease;
    }

    .package-image:hover {
        transform: scale(1.05);
    }

    .cost-breakdown {
        background: var(--light-bg);
        border-radius: var(--border-radius);
        padding: 1.5rem;
    }

    .cost-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 0;
        border-bottom: 1px solid #dee2e6;
    }

    .cost-item:last-child {
        border-bottom: 2px solid var(--primary-color);
        font-weight: 700;
        font-size: 1.1rem;
        margin-top: 0.5rem;
        padding-top: 1rem;
    }

    .empty-state {
        text-align: center;
        padding: 3rem 1rem;
        color: #6c757d;
    }

    .empty-state i {
        font-size: 4rem;
        margin-bottom: 1rem;
        opacity: 0.5;
    }

