        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Microsoft YaHei", sans-serif;
        }
        
        .container {
            width: 210mm;
            height: 99mm;
            margin: 0 auto;
            padding: 5mm;
            border: 1px solid #ddd;
            position: relative;
        }
        
        .header {
            text-align: center;
            margin-bottom: 3mm;
            border-bottom: 2px solid #333;
            padding-bottom: 2mm;
        }
        
        .header h1 {
            font-size: 7mm;
            color: #333;
        }
        
        .receipt-info {
            display: flex;
            justify-content: space-between;
            margin-bottom: 2mm;
            font-size: 3.5mm;
        }
        
        .details-table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 2mm;
            font-size: 3.5mm;
        }
        
        .details-table th, .details-table td {
            border: 1px solid #333;
            padding: 1mm;
            text-align: center;
        }
        
        .details-table th {
            background-color: #f0f0f0;
        }
        
        .total-section {
            display: flex;
            justify-content: space-between;
            margin-bottom: 2mm;
            font-size: 4mm;
            font-weight: bold;
        }
        
        .signature-section {
            display: flex;
            justify-content: space-between;
            margin-top: 3mm;
            font-size: 3.5mm;
        }
        
        .signature-box {
            width: 40mm;
            border-top: 1px solid #333;
            text-align: center;
            padding-top: 1mm;
        }
        
        .footer {
            text-align: center;
            font-size: 3mm;
            color: #666;
            margin-top: 2mm;
        }
        
        .print-btn {
            position: absolute;
            top: 5mm;
            right: 5mm;
            padding: 2mm 4mm;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 3mm;
            cursor: pointer;
            font-size: 3.5mm;
        }
        
        .print-btn:hover {
            background-color: #45a049;
        }
        
        @media print {
            @page {
                size: 210mm 99mm; /* 设置纸张尺寸 */
                margin: 0; /* 移除默认边距 */
            }
            
            body, html {
                width: 210mm;
                height: 99mm;
                margin: 0;
                padding: 0;
            }
            
            .container {
                width: 210mm;
                height: 99mm;
                margin: 0;
                padding: 5mm;
                border: none;
                box-shadow: none;
            }
            
            .print-btn {
                display: none;
            }
        }
        
        .room-info {
            cursor: pointer;
        }