
        /* Base Styles & Variables */
        :root {
            --primary-color: #4CAF50; /* Green */
            --secondary-color: #FFC107; /* Amber */
            --text-dark: #333;
            --text-light: #666;
            --background-light: #f8f9fa;
            --card-background: #ffffff;
            --soft-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            --border-radius-card: 20px;
            --border-radius-pill: 50px;
            --border-color: #e0e0e0;
            --success-color: #28a745;
            --pending-color: #ffc107;
            --cancelled-color: #dc3545;
            --completed-color: #17a2b8;
        }
        
        /* Base HTML Font Size for Scalable Typography (60% of 16px = 9.6px) */
        html {
            font-size: 60%; /* Base 10px roughly */
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Poppins', sans-serif; /* Modern, clean font */
            line-height: 1.6;
            color: var(--text-dark);
            background-color: var(--background-light);
            margin: 0;
            padding: 0;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        
        *, *::before, *::after {
            box-sizing: inherit;
        }
        
        /* Headings */
        h1, h2, h3, h4, h5, h6 {
            font-weight: 700; /* Bold typography */
            color: var(--text-dark);
            margin-top: 0;
            margin-bottom: 1.5rem;
        }
        
        h1 { font-size: 3.8rem; } /* Roughly 38px */
        h2 { font-size: 3.2rem; }
        h3 { font-size: 2.6rem; }
        p { font-size: 1.6rem; margin-bottom: 1rem; }
        
        /* Links & Buttons */
        a {
            color: var(--primary-color);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        a:hover {
            color: var(--text-dark);
        }
        
        .action-button {
            display: inline-block;
            padding: 1.2rem 2.5rem;
            font-size: 1.6rem;
            font-weight: 600;
            text-align: center;
            border: none;
            cursor: pointer;
            border-radius: var(--border-radius-pill); /* Pill-shaped */
            transition: all 0.3s ease;
            box-shadow: var(--soft-shadow);
            text-transform: capitalize;
        }
        
        .primary-button {
            background-color: var(--primary-color);
            color: #fff;
        }
        .primary-button:hover {
            background-color: #43A047; /* Slightly darker green */
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
        }
        
        .secondary-button {
            background-color: var(--secondary-color);
            color: var(--text-dark);
        }
        .secondary-button:hover {
            background-color: #FFB300; /* Slightly darker amber */
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
        }
        
        .use-location-button {
            background-color: #f0f0f0;
            color: var(--text-dark);
            border: 1px solid var(--border-color);
            padding: 1rem 2rem;
            margin-top: 1rem;
            width: auto;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.8rem;
            font-size: 1.5rem;
        }
        .use-location-button:hover {
            background-color: #e0e0e0;
        }
        .use-location-button:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            background-color: #f0f0f0;
        }
        
        /* Forms */
        .form-group {
            margin-bottom: 1.5rem;
        }
        
        .form-label {
            display: block;
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: var(--text-dark);
        }
        
        .form-input,
        .form-select,
        .form-textarea {
            width: 100%;
            padding: 1.2rem 1.5rem;
            font-size: 1.6rem;
            border: none;
            border-radius: 10px; /* Slightly rounded corners for inputs */
            box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08); /* Subtle inner shadow */
            background-color: var(--background-light);
            color: var(--text-dark);
            transition: all 0.3s ease;
        }
        
        .form-input:focus,
        .form-select:focus,
        .form-textarea:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2); /* Primary color focus ring */
        }
        
        /* Specific select styling */
        .form-select {
            appearance: none; /* Remove default arrow */
            -webkit-appearance: none;
            -moz-appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666' width='18px' height='18px'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E"); /* Custom arrow */
            background-repeat: no-repeat;
            background-position: right 1rem center;
            background-size: 1.5rem;
            cursor: pointer;
        }
        
        /* Notification Message */
        .notification-message {
            background-color: var(--primary-color);
            color: #fff;
            padding: 1.5rem;
            text-align: center;
            font-size: 1.8rem;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: var(--soft-shadow);
            border-bottom-left-radius: 10px;
            border-bottom-right-radius: 10px;
            animation: fadeInDown 0.5s ease-out;
        }
        .notification-message span {
            display: block;
        }
        
        /* Keyframe for subtle animations */
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Section specific styling */
        .order-management {
            padding: 3rem 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .page-title {
            text-align: center;
            margin-bottom: 4rem;
            font-size: 4.5rem;
            color: var(--primary-color);
            position: relative;
            padding-bottom: 1.5rem;
        }
        .page-title::after {
            content: '';
            position: absolute;
            left: 50%;
            bottom: 0;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background-color: var(--secondary-color);
            border-radius: 2px;
        }
        
        .order-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 3rem;
        }
        
        .order-card {
            background-color: var(--card-background);
            border-radius: var(--border-radius-card); /* 20px rounded corners */
            box-shadow: var(--soft-shadow);
            padding: 3rem;
            display: flex;
            flex-direction: column;
            animation: fadeInUp 0.6s ease-out forwards;
            opacity: 0; /* Hidden initially for animation */
        }
        .order-card:nth-child(even) { animation-delay: 0.1s; }
        .order-card:nth-child(odd) { animation-delay: 0.2s; }
        .order-card:nth-child(3n) { animation-delay: 0.3s; }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .order-detail {
            font-size: 1.6rem;
            color: var(--text-light);
            margin-bottom: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: baseline;
        }
        .order-detail span.order-value {
            font-weight: 600;
            color: var(--text-dark);
            flex-shrink: 0; /* Prevent value from shrinking too much */
            text-align: right;
        }
        .order-detail span.price {
            color: var(--primary-color);
            font-weight: 700;
            font-size: 1.8rem;
        }
        
        .delivery-summary {
            border-top: 1px solid var(--border-color);
            padding-top: 2rem;
            margin-top: 2rem;
        }
        .delivery-status-info {
            font-size: 1.5rem;
            color: var(--text-light);
            margin-bottom: 0.8rem;
            display: flex;
            justify-content: space-between;
        }
        .delivery-status-value {
            font-weight: 600;
            color: var(--text-dark);
            text-align: right;
        }
        .delivery-status-value.price {
            font-size: 1.6rem;
            color: var(--primary-color);
            font-weight: 700;
        }
        
        /* Status Badges */
        .status-badge {
            display: inline-block;
            padding: 0.6rem 1.2rem;
            border-radius: var(--border-radius-pill);
            font-size: 1.4rem;
            font-weight: 700;
            color: #fff;
            text-transform: capitalize;
            text-align: center;
            min-width: 80px; /* Ensure consistent width */
        }
        .status-pending { background-color: var(--pending-color); }
        .status-completed { background-color: var(--success-color); }
        .status-delivered { background-color: var(--completed-color); }
        .status-cancelled { background-color: var(--cancelled-color); }
        
        /* Delivery Method Form */
        .delivery-method-form {
            margin-top: 2rem;
            border-top: 1px solid var(--border-color);
            padding-top: 2rem;
        }
        
        .logistics-calculator-section {
            background-color: #fcfcfc;
            border: 1px solid var(--border-color);
            border-radius: var(--border-radius-card);
            padding: 2.5rem;
            margin-top: 2rem;
            box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.05);
        }
        
        .location-instructions {
            margin-bottom: 2rem;
            background-color: #e6ffe6; /* Light green background */
            padding: 1.5rem;
            border-radius: 10px;
            border: 1px solid #c8e6c9;
        }
        .instruction-heading {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }
        .instruction-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .instruction-list li {
            font-size: 1.5rem;
            color: var(--text-light);
            margin-bottom: 0.5rem;
        }
        
        .address-input-group {
            display: flex;
            flex-direction: column; /* Stack input and button */
            gap: 1rem;
            margin-bottom: 2rem;
        }
        
        .map-container {
            position: relative;
            height: 300px;
            width: 100%;
            background-color: #e0e0e0;
            border-radius: 15px;
            overflow: hidden;
            margin-bottom: 2rem;
            box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
        }
        
        .map {
            height: 100%;
            width: 100%;
            border-radius: 15px;
        }
        
        .map-overlay {
            position: absolute;
            bottom: 1.5rem;
            left: 50%;
            transform: translateX(-50%);
            width: calc(100% - 3rem); /* Adjusted width */
            max-width: 350px;
            background-color: rgba(255, 255, 255, 0.95);
            border-radius: var(--border-radius-card); /* Soft corners */
            padding: 1.5rem;
            box-shadow: var(--soft-shadow);
            z-index: 10;
        }
        
        .price-breakdown-card {
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
        }
        .price-breakdown-card .fee-item {
            display: flex;
            justify-content: space-between;
            font-size: 1.5rem;
            color: var(--text-dark);
            margin: 0;
        }
        .price-breakdown-card .fee-value {
            font-weight: 600;
            color: var(--primary-color);
        }
        .price-breakdown-card .total-fee {
            font-size: 1.8rem;
            font-weight: 700;
            border-top: 1px dashed var(--border-color);
            padding-top: 1rem;
            margin-top: 0.5rem;
        }
        .price-breakdown-card .total-fee .fee-value {
            color: var(--text-dark);
        }
        
        .joint-logistics-input-group {
            margin-top: 2rem;
        }
        
        .empty-state {
            text-align: center;
            font-size: 2rem;
            color: var(--text-light);
            padding: 5rem 0;
            background-color: var(--card-background);
            border-radius: var(--border-radius-card);
            box-shadow: var(--soft-shadow);
            margin: 3rem auto;
            max-width: 600px;
        }
        
        /* Loading spinner for buttons */
        .spinner {
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-top: 3px solid #fff;
            border-radius: 50%;
            width: 16px;
            height: 16px;
            animation: spin 1s linear infinite;
            display: inline-block;
            vertical-align: middle;
            margin-right: 0.5rem;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        /* Responsive Adjustments */
        @media (max-width: 768px) {
            html {
                font-size: 55%; /* Slightly smaller base font for tablets */
            }
            .order-grid {
                grid-template-columns: 1fr; /* Single column on smaller screens */
            }
            .order-card {
                padding: 2rem;
            }
            .page-title {
                font-size: 3.5rem;
            }
            .map-container {
                height: 250px;
            }
            .map-overlay {
                width: calc(100% - 2rem);
                padding: 1rem;
            }
        }
        
        @media (max-width: 480px) {
            html {
                font-size: 50%; /* Even smaller base font for mobile */
            }
            .order-management {
                padding: 2rem 1rem;
            }
            .page-title {
                font-size: 3rem;
                margin-bottom: 3rem;
            }
            .action-button {
                padding: 1rem 2rem;
                font-size: 1.4rem;
            }
            .use-location-button {
                font-size: 1.3rem;
                padding: 0.8rem 1.5rem;
            }
            .notification-message {
                padding: 1.2rem;
                font-size: 1.6rem;
            }
        }