body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f0f0;
    padding: 0px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    font-size: 10px;
}

/* --- Header Xe Con Gấu --- */
.store-header {
    text-align: center;
    margin-bottom: 10px;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
}

.store-name {
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    color: #d32f2f; /* Màu đỏ tạo điểm nhấn */
    margin: 0;
}

.store-info {
    font-size: 13px;
    margin: 5px 0;
    color: #333;
}

.store-info-italic {
    font-style: italic;
}

/* --- Thông tin khách hàng --- */
.customer-info {
    margin-bottom: 20px;
    gap: 20px;
}

.input-group {
    padding: 0px;
    vertical-align: bottom;
}

.input-group label {
    margin: 0px;
}

.input-group input {
    /* padding: 0px; */
    /* border: 1px solid #ccc;
    border-radius: 4px; */
    border: none;
    outline: none;
    font-weight: bold;
    height: 20px;
}

/* --- Bảng --- */
table {
    width: 100%;
    border-collapse: collapse;
    /* font-size: 15px; */
}

th, td {
    border: 1px solid #000;
    padding: 5px 5px;
    vertical-align: middle;
}

thead th {
    background-color: #bfbfbf;
    font-weight: bold;
    text-align: center;
    font-size: 10px;
}

.category-col {
    background-color: #ffff00;
    font-weight: bold;
    text-align: center;
    width: 80px;
    font-size: 10px;
}

.component-col {
    background-color: #fff;
    font-weight: 500;
    width: 150px;
    font-size: 10px;
}

/* Dropdown và Input */
select.table-select, input.table-input  {
    width: 100%;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: inherit;
    background: transparent;
    padding: 0px 0;
    height: 20px;
    
}

select.table-select { cursor: pointer; }

/* Input giá tiền: Căn phải, đậm */
input.price-input {
    text-align: right;
    font-weight: bold;
}

/* Ẩn nút tăng giảm (spinner) của input number */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}

/* Tổng cộng */
.total-row td {
    font-weight: bold;
    background-color: #fff;
    color: #d32f2f;
}

/* Nút điều khiển */
.controls {
    margin-top: 20px;
    text-align: right;
}

button {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    margin-left: 10px;
}

.btn-add { background-color: #4CAF50; color: white; }
.btn-pdf { background-color: #dc3545; color: white; }

/* @media print {
    .controls { display: none; }
    body { background-color: white; padding: 0; }
    .container { box-shadow: none; padding: 0; border: none; }
} */