    
        /* EpulseMart Modern Theme - Orders Page (from previous response) */
        :root {
            --font-base-size: 60%; /* Base 10px for rem units */
            --color-primary: #007BFF; /* Bright Blue */
            --color-primary-dark: #0056b3;
            --color-secondary: #6c757d; /* Grey */
            --color-success: #28a745; /* Green */
            --color-warning: #ffc107; /* Yellow */
            --color-info: #17a2b8;    /* Teal */
            --color-danger: #dc3545;  /* Red (for potential use) */
            --color-light: #f8f9fa;
            --color-dark: #343a40;
            --color-text: #212529;
            --color-text-muted: #6c757d;
            --color-background: #FFFFFF;
            --border-radius-standard: 20px; /* Increased for a softer look */
            --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.07);
            --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
            --transition-default: all 0.3s ease-in-out;
        }

        html {
            font-size: var(--font-base-size);
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-family-sans-serif);
            font-size: 1.6rem; /* Default to 16px */
            line-height: 1.6;
            color: var(--color-text);
            background-color: var(--color-background); /* Slightly off-white for body */
            margin: 0;
            padding: 0;
        }

        h1, h2, h3, h4, h5, h6 {
            margin-top: 0;
            margin-bottom: 1rem;
            font-weight: 600; 
            line-height: 1.3;
        }

        .page-main-title {
            font-size: 3.2rem;
            color: var(--color-dark);
            text-align: center;
            margin-bottom: 3rem;
            padding-top: 2rem;
        }

        p { margin-bottom: 1rem; }

        a {
            color: var(--color-primary);
            text-decoration: none;
            transition: var(--transition-default);
        }
        a:hover {
            color: var(--color-primary-dark);
            text-decoration: underline;
        }

        .user-orders-section {
            padding: 2rem 1.5rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .order-list-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); /* Slightly wider cards */
            gap: 2.5rem;
        }

        .order-summary-card {
            background-color: var(--color-background); /* White cards */
            border-radius: var(--border-radius-standard);
            padding: 2.5rem 2rem;
            box-shadow: var(--shadow-soft);
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInSlideUp 0.5s forwards;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid #e0e0e0; /* Subtle border */
        }
        .order-summary-card:hover {
            transform: translateY(-5px) scale(1.01);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        }

        .order-info-item {
            margin-bottom: 1rem;
            font-size: 1.5rem;
        }
        .order-info-item strong {
            color: var(--color-dark);
            margin-right: 0.5rem;
        }
        .order-info-item span { color: var(--color-text-muted); }
        
        .delivery-location-text { color: var(--color-text-muted); }

        .order-products-heading {
            font-size: 1.8rem;
            font-weight: 600;
            color: var(--color-dark);
            margin-top: 2rem;
            margin-bottom: 1rem;
            border-top: 1px solid #e0e0e0;
            padding-top: 1.5rem;
        }

        .order-product-list {
            margin-bottom: 1.5rem;
            padding-left: 0;
        }
        
        .order-product-item-detail {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.8rem;
            padding: 0.8rem 0.5rem; /* Added padding */
            border-bottom: 1px solid #f0f0f0; /* Lighter separator */
            font-size: 1.45rem;
        }
        .order-product-item-detail:last-child { border-bottom: none; }

        .product-quick-view-link {
            font-weight: 500;
            transition: var(--transition-default);
        }
        .product-quick-view-link:hover {
            color: var(--color-primary-dark);
            transform: translateX(3px);
            display: inline-block;
        }

        .product-rating-action { margin-left: 1rem; }

        .rate-item-btn {
            padding: 0.7rem 1.5rem; /* Slightly adjusted padding */
            font-size: 1.35rem; /* Slightly adjusted font size */
            background-color: var(--color-info); /* Teal for rate button */
            color: #fff;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            transition: var(--transition-default);
        }
        .rate-item-btn:hover {
            background-color: var(--color-primary-dark); /* Darker blue on hover */
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .existing-rating-display .fa-star {
            color: var(--color-warning);
            font-size: 1.6rem; /* Slightly larger stars */
            margin-right: 0.3rem;
        }
        .existing-rating-display .fa-comment-alt {
            color: var(--color-primary);
            font-size: 1.6rem;
            margin-left: 0.8rem; /* More space for comment icon */
            cursor: pointer;
        }
        .existing-rating-display .fa-comment-alt:hover { color: var(--color-primary-dark); }


        .order-total-price {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--color-dark);
            margin-top: 1.5rem;
            padding-top: 1.5rem;
            border-top: 1px solid #e0e0e0;
        }
        .order-total-price span { color: var(--color-success); }

        .payment-status-container {
            margin-top: 1rem;
            margin-bottom: 1.5rem;
            font-size: 1.5rem;
        }
        .payment-status-label {
            font-weight: 600;
            color: var(--color-dark);
        }
        .status-indicator-pill {
            padding: 0.5rem 1.2rem;
            border-radius: 50px;
            font-size: 1.3rem;
            font-weight: 500;
            color: #fff;
            text-align: center;
            display: inline-block;
        }
        .status-indicator-pill.status-not-delivered { background-color: var(--color-warning); color: var(--color-dark); }
        .status-indicator-pill.status-processing { background-color: var(--color-info); }
        .status-indicator-pill.status-received,
        .status-indicator-pill.status-delivered { background-color: var(--color-success); }
        .status-indicator-pill.status-pending { background-color: var(--color-secondary); }

        .action-button-pill {
            display: inline-block;
            background-color: var(--color-primary);
            color: #fff;
            padding: 1rem 2.5rem;
            border: none;
            border-radius: 50px;
            font-size: 1.5rem;
            font-weight: 600;
            text-align: center;
            cursor: pointer;
            transition: var(--transition-default);
            box-shadow: var(--shadow-soft);
        }
        .action-button-pill:hover, .action-button-pill:focus {
            background-color: var(--color-primary-dark);
            box-shadow: 0 6px 20px rgba(0, 123, 255, 0.25);
            outline: none;
        }
        .order-confirmation-form { margin-top: 1.5rem; }

        .message-empty-state {
            text-align: center;
            font-size: 1.8rem;
            color: var(--color-text-muted);
            padding: 4rem 1rem;
            background-color: var(--color-light);
            border-radius: var(--border-radius-standard);
            box-shadow: var(--shadow-soft);
        }
        
        /* Modal Styles */
        .epulse-modal, .epulse-comment-modal {
            display: none; 
            position: fixed; 
            z-index: 1000; 
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto; 
            background-color: rgba(0,0,0,0.6); 
            padding-top: 60px;
        }

        .epulse-modal-content, .epulse-comment-modal-content {
            background-color: #fff;
            margin: 5% auto;
            padding: 25px 30px; /* More padding */
            border: none; /* Remove border, rely on shadow */
            width: 90%;
            max-width: 550px; /* Slightly wider modal */
            border-radius: var(--border-radius-standard);
            box-shadow: 0 5px 20px rgba(0,0,0,0.2);
            position: relative;
            animation: slideDownModal 0.4s ease-out;
        }
        @keyframes slideDownModal {
            from { transform: translateY(-50px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }


        .epulse-modal-close, .epulse-comment-modal-close {
            color: #aaa;
            position: absolute; /* Position close button */
            top: 15px;
            right: 20px;
            font-size: 28px;
            font-weight: bold;
        }
        .epulse-modal-close:hover, .epulse-modal-close:focus,
        .epulse-comment-modal-close:hover, .epulse-comment-modal-close:focus {
            color: var(--color-danger); /* Red hover for close */
            text-decoration: none;
            cursor: pointer;
        }

        #rateItemModalTitle, #viewCommentModal h3 {
            text-align: center;
            font-size: 2.2rem; /* Larger modal title */
            color: var(--color-dark);
            margin-bottom: 2rem;
        }

        .epulse-form-group {
            margin-bottom: 2rem; /* More space between form groups */
        }
        .epulse-form-group label {
            display: block;
            margin-bottom: 0.8rem; /* Space below label */
            font-weight: 500; /* Medium weight label */
            color: var(--color-text-muted);
        }
        
        .epulse-star-rating-input { text-align: center; margin-bottom: 1.5rem;}
        .epulse-star-rating-input .fa-star {
            font-size: 2.8rem; /* Larger stars for rating */
            color: #e0e0e0; /* Lighter default star color */
            cursor: pointer;
            margin: 0 0.4rem;
            transition: color 0.2s ease-in-out, transform 0.2s ease;
        }
        .epulse-star-rating-input .fa-star:hover {
             transform: scale(1.1); /* Slight scale on hover */
        }
        .epulse-star-rating-input .fa-star.selected,
        .epulse-star-rating-input .fa-star.hovered {
            color: var(--color-warning);
        }
        
        #review_text {
            width: 100%;
            padding: 12px 15px; /* More padding in textarea */
            border: 1px solid #ccc;
            border-radius: 10px; /* Softer textarea corners */
            box-sizing: border-box;
            font-size: 1.5rem;
            min-height: 100px; /* Minimum height */
        }
        #review_text:focus {
            border-color: var(--color-primary);
            box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
            outline: none;
        }

        #rateItemForm .action-button-pill { /* Center submit button */
            display: block;
            width: 60%;
            margin: 1.5rem auto 0; /* Add top margin */
        }

        #commentModalText {
            margin-top: 1rem;
            font-size: 1.6rem; /* Larger comment text */
            line-height: 1.7;
            color: var(--color-text-muted);
            background-color: var(--color-light); /* Light background for comment */
            padding: 1.5rem;
            border-radius: 10px;
            white-space: pre-wrap; 
        }


        @media (max-width: 768px) {
            .page-main-title { font-size: 2.8rem; margin-bottom: 2rem; }
            .order-summary-card { padding: 2rem 1.5rem; }
            .order-list-container { grid-template-columns: 1fr; gap: 2rem; }
            .epulse-modal-content, .epulse-comment-modal-content { width: 90%; margin-top: 10%;}
        }
        @media (max-width: 480px) {
            body { font-size: 1.5rem; }
            .page-main-title { font-size: 2.4rem; }
            .order-info-item, .order-product-list-item, .payment-status-container { font-size: 1.4rem; }
            .order-total-price { font-size: 1.6rem; }
            .action-button-pill { font-size: 1.4rem; padding: 0.8rem 2rem; }
            .status-indicator-pill { font-size: 1.2rem; padding: 0.4rem 1rem; }
             #rateItemModalTitle, #viewCommentModal h3 { font-size: 2rem; }
            .epulse-star-rating-input .fa-star { font-size: 2.4rem; }
            #rateItemForm .action-button-pill { width: 80%; }
        }

        @keyframes fadeInSlideUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
    
