*{box-sizing:border-box;font-family:Arial,sans-serif}
body{margin:0;background:#f4f6f8}

.layout{display:flex;min-height:100vh}

/* SIDEBAR */
.sidebar{
width:250px;
background:#ff7a00;
padding:25px;
color:white;
display:flex;
flex-direction:column;
}

.logoBox{
text-align:center;
margin-bottom:30px;
}

.logoBox img{
width:180px;
}

.btn{
display:block;
background:white;
color:#ff7a00;
text-decoration:none;
padding:12px;
border-radius:8px;
margin-bottom:12px;
font-weight:bold;
text-align:center;
transition:.2s;
}

.btn:hover{
background:#fff3e6;
}

.red{
background:#ff4d4d;
color:white;
}

/* CONTENT */
.content{
flex:1;
padding:40px;
}

h1{
color:#ff7a00;
margin-top:0;
}

.grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:20px;
}

.card{
background:white;
padding:25px;
border-radius:12px;
box-shadow:0 8px 20px rgba(0,0,0,.08);
margin-bottom:20px;
}

input,select{
padding:10px;
border-radius:8px;
border:1px solid #ddd;
margin:5px 0;
width:100%;
}

button{
background:#ff7a00;
color:white;
border:none;
padding:12px;
border-radius:8px;
cursor:pointer;
font-weight:bold;
}

button:hover{
background:#e66d00;
}

table{
width:100%;
border-collapse:collapse;
margin-top:10px;
}

th{
background:#ff7a00;
color:white;
padding:10px;
}

td{
padding:8px;
border-bottom:1px solid #eee;
}

.saleRow{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:10px;
}
.deleteBtn{
color:red;
font-weight:bold;
text-decoration:none;
margin-left:10px;
font-size:18px;
}
.table {
    width:100%;
    border-collapse: collapse;
}

.table th, .table td {
    padding:10px;
    border-bottom:1px solid #ddd;
}

.inlineForm input {
    margin-right:10px;
}

.card {
    background:white;
    padding:20px;
    margin-bottom:20px;
    border-radius:8px;
}

.deleteBtn {
    color:red;
    text-decoration:none;
    font-weight:bold;
}
.saleHeader,
.saleRow {
    display: grid;
    grid-template-columns: 160px 1fr 180px 60px;
    align-items: center;
    gap: 15px;
}

.saleHeader {
    font-weight: bold;
    border-bottom: 2px solid #ddd;
    padding-bottom: 8px;
    margin-bottom: 10px;
}

.saleRow {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

/* фикс ширины колонок */
.colPrice { width:160px; }
.colQty { width:180px; }

/* формы */
.priceForm,
.qtyForm {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* инпуты */
.priceInput {
    width: 80px;
}

.qtyInput {
    width: 100px;
}

/* название */
.dishName {
    font-weight: 500;
    word-break: break-word;
}

/* кнопки */
.saveBtn {
    padding: 4px 6px;
    cursor: pointer;
}

.deleteBtn {
    text-decoration: none;
    color: red;
    font-weight: bold;
}