*{
    box-sizing:border-box;
    margin:0;
    padding:0;
    font-family:"Laila";
    }
    
    body{
    background:#b67b7b;
    overflow:hidden;
    }
    
    .container{
    height:100vh;
    display:flex;
    flex-direction:column;
    }
    
    .main{
    flex:1;
    display:flex;
    }
    
    .top-bar{
    background:#d64949;
    color:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 20px;
    font-weight:bold;
    height:10vh;
    }
    
    .sidebar{
    width:30%;
    background:#d6a3a3;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    border-right:4px solid red;
    }
    
    .total{
    padding:15px;
    font-size:22px;
    font-weight:bold;
    }
    
    .order-list{
    flex:1;
    padding:10px;
    overflow:hidden;
    }
    
    .order-item{
    overflow:hidden;
    max-height:none;
    }
    
    .order-header,
    .order-row{
    display:grid;
    grid-template-columns:60px 1fr 80px;
    width:100%;
    }
    
    .order-row span:last-child,
    .order-header span:last-child{
    text-align:right;
    }
    
    .keypad{
    background:linear-gradient(to bottom right,darkred,limegreen);
    padding:10px;
    height:32vh;
    }
    
    .numbers{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:5px;
    }
    
    .numbers button{
    padding:10px;
    font-size:16px;
    background:#eee;
    border:none;
    border-radius:5px;
    cursor:pointer;
    height:7vh;
    }
    
    .actions{
    display:flex;
    margin-top:10px;
    }
    
    .actions button{
    flex:1;
    padding:15px;
    font-weight:bold;
    border:none;
    cursor:pointer;
    }
    
    .clear{background:gold;}
    .print{background:orange;}
    .pay{background:limegreen;}
    
    .content{
    width:70%;
    display:flex;
    flex-direction:column;
    }
    
    .categories{
    background:red;
    padding:10px;
    display:flex;
    gap:10px;
    height:8vh;
    align-items:center;
    }
    
    .categories button{
    background:crimson;
    border:none;
    padding:8px 15px;
    color:white;
    border-radius:10px;
    cursor:pointer;
    }
    
    .products{
    flex:1;
    padding:30px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    }
    
    .card{
    background:#f09c9c;
    border:2px solid red;
    padding:20px;
    text-align:center;
    font-size:22px;
    font-weight:bold;
    cursor:pointer;
    transition:0.2s;
    display:flex;
    flex-direction:column;
    gap:10px;
    }
    
    .card span{
    font-size:18px;
    font-weight:normal;
    color:#222;
    }
    
    .card:active{
    transform:scale(0.95);
    background:#ffb3b3;
    }
    
    .tables{
    background:red;
    padding:10px;
    display:flex;
    gap:10px;
    height:8vh;
    align-items:center;
    }
    
    .tables button{
    padding:10px 20px;
    border:none;
    border-radius:10px;
    background:darkred;
    color:white;
    cursor:pointer;
    }
    
    .tables .add{
    background:black;
    }
    
    .payment-popup{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.6);
    display:none;
    align-items:center;
    justify-content:center;
    }
    
    .payment-box{
    background:rgb(138, 38, 38);
    padding:30px;
    border-radius:10px;
    text-align:center;
    width:300px;
    }
    
    .payment-buttons button{
    margin:10px;
    padding:10px 20px;
    font-size:16px;
    background-color:#d6a3a3;
    }
    
    .logo{
    position:absolute;
    top:10px;
    right:20px;
    width:65px;
    }
    
    .logo img{
    width:100%;
    }