        .voucher-wrapper {
            background: #f5f5f5;
            min-height: 100vh;
            font-family: 'Arial', sans-serif;
            padding: 20px 0;
        }

        .fuel-voucher {
            background: white;
            display: flex;
            max-width: 800px;
            margin: 0 auto;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            border-radius: 0;
            overflow: hidden;
            position: relative;
            min-height: 300px;
        }

        /* Left Red Section */
        .voucher-left {
            background: #405689;
            width: 180px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 1px 1px; /* slightly increased for breathing room */
            color: white;
            position: relative;
        }

        .brand-section {
            text-align: center;
            margin-bottom: 12px;
        }

        .logo-coupons-container {
            width: 60px;
            height: 60px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 10px;
        }

        .logo-coupons-container i {
            font-size: 24px;
            color: #405689;
        }

        .company-name {
            font-size: 14px;
            font-weight: bold;
            line-height: 1.2;
            text-align: center;
        }

        .qr-section {
            text-align: center;
            margin: 12px 0 8px; /* tighter spacing to align visually */
        }

        .qr-container {
            background: white;
            padding: 8px; /* quiet zone, improves scan without enlarging QR */
            border-radius: 8px;
            display: inline-block;
            margin-bottom: 8px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.08);
        }

        #qr-code {
            display: block;
        }

        .qr-label {
            font-size: 12px;
            font-weight: bold;
            letter-spacing: 1px;
            margin-top: 4px;
        }

        .bottom-logo {
            text-align: center;
            margin-top: 10px;
        }

        .logo-mini {
            width: 40px;
            height: 40px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 8px;
        }

        .logo-mini i {
            font-size: 16px;
            color: #405689;
        }

        .company-name-small {
            font-size: 10px;
            font-weight: bold;
            line-height: 1.2;
        }

        /* Main White Section */
        .voucher-main {
            flex: 1;
            padding: 20px;
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .voucher-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 20px;
        }

        .batch-info {
            font-size: 14px;
            color: #333;
        }

        .batch-info .label {
            font-weight: normal;
        }

        .batch-info .value {
            font-weight: bold;
            margin-left: 5px;
        }

        .decorative-pattern {
            position: relative;
            width: 100px;
            height: 50px;
            opacity: 0.1;
            overflow: hidden;
        }

        .sunburst {
            position: absolute;
            top: 0;
            right: 0;
            width: 100px;
            height: 100px;
            background: repeating-conic-gradient(
                from 0deg at 50% 50%,
                #405689 0deg 2deg,
                transparent 2deg 4deg
            );
            border-radius: 50%;
        }
        .flower {
            position: absolute;
            inset: 0;
            border-radius: 50%;
            background: conic-gradient(
                #3b82f6 0deg 15deg,   /* blue petal */
                #1d4ed8 15deg 30deg   /* darker blue petal */
            );
            -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
            mask-image: radial-gradient(circle, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
        }
        .voucher-content {
            display: flex;
            flex: 1;
            gap: 20px;
        }

        .content-left {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .field-group {
            margin-bottom: 20px;
        }

        .field {
            margin-bottom: 15px;
        }

        .field-label {
            font-size: 11px;
            font-weight: bold;
            color: #333;
            margin-bottom: 3px;
            text-transform: uppercase;
        }

        .field-value {
            font-size: 13px;
            color: #333;
            font-weight: bold;
        }

        .field-line {
            border-bottom: 1px solid #ccc;
            height: 20px;
            min-width: 150px;
        }

        .terms-section {
            margin-top: auto;
        }

        .terms-text {
            font-size: 9px;
            color: #666;
            line-height: 1.3;
            margin-bottom: 10px;
        }

        .usage-info, .expiry-info {
            font-size: 10px;
            color: #405689;
            font-weight: bold;
            margin-top: 10px;
        }

        .content-right {
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 150px;
        }

        .volume-display {
            text-align: center;
            color: #333;
        }

        .volume-number {
            font-size: 72px;
            font-weight: bold;
            line-height: 0.8;
            color: #405689;
        }

        .volume-unit {
            font-size: 18px;
            font-weight: bold;
            letter-spacing: 2px;
            margin-top: 5px;
        }

        .expiry-section {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #eee;
        }

        .expiry-label {
            font-size: 11px;
            font-weight: bold;
            color: #666;
        }

        .expiry-date {
            font-size: 13px;
            font-weight: bold;
            color: #405689;
        }

        /* Right Red Tab */
        .voucher-right {
            background: #405689;
            width: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .vertical-text {
            writing-mode: vertical-rl;
            text-orientation: mixed;
            color: white;
            text-align: center;
        }

        .coupon-text {
            font-size: 16px;
            font-weight: bold;
            letter-spacing: 3px;
            margin-bottom: 20px;
        }

        .product-text {
            font-size: 12px;
            font-weight: bold;
            letter-spacing: 2px;
        }

        /* Status Overlay */
        .status-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
        }

        .status-stamp {
            background: rgba(220, 38, 38, 0.9);
            color: white;
            padding: 15px 30px;
            font-size: 24px;
            font-weight: bold;
            letter-spacing: 3px;
            transform: rotate(-15deg);
            border: 3px solid white;
            border-radius: 10px;
        }

        .status-used .status-stamp {
            background: rgba(59, 130, 246, 0.9);
        }

        .status-expired .status-stamp {
            background: rgba(245, 158, 11, 0.9);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .fuel-voucher {
                flex-direction: column;
                max-width: 400px;
            }

            .voucher-left {
                width: 100%;
                flex-direction: row;
                justify-content: space-around;
                align-items: center;
                padding: 15px;
            }

            .voucher-main {
                padding: 15px;
            }

            .voucher-content {
                flex-direction: column;
                gap: 15px;
            }

            .content-right {
                min-width: auto;
            }

            .volume-number {
                font-size: 48px;
            }

            .voucher-right {
                width: 100%;
                height: 60px;
                writing-mode: initial;
            }

            .vertical-text {
                writing-mode: initial;
                display: flex;
                justify-content: space-between;
                width: 100%;
                padding: 0 20px;
            }

            .coupon-text {
                margin-bottom: 0;
            }
        }

        /* Print Styles */
        @media print {
            .voucher-wrapper {
                background: white;
                padding: 0;
            }

            .fuel-voucher {
                box-shadow: none;
                max-width: none;
                width: 100%;
            }
        }
