*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, sans-serif;
}

body{
background:#f4f6fb;
display:flex;
justify-content:center;
align-items:center;
height:100vh;
}

.app{
width:100%;
max-width:380px;
background:#ffffff;
padding:25px;
border-radius:12px;
box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

h1{
text-align:center;
margin-bottom:20px;
font-size:22px;
color:#333;
}

.input-box input{
width:100%;
padding:14px;
font-size:18px;
border:1px solid #ddd;
border-radius:8px;
margin-bottom:15px;
}

.select-box select{
width:100%;
padding:12px;
border-radius:8px;
border:1px solid #ddd;
margin-bottom:15px;
font-size:16px;
}

.button-group{
display:grid;
grid-template-columns:1fr 1fr;
gap:10px;
margin-bottom:20px;
}

button{
padding:12px;
border:none;
border-radius:8px;
color:white;
font-size:15px;
cursor:pointer;
}

.add{
background:#28a745;
}

.remove{
background:#dc3545;
}

.clear{
background:#6c757d;
grid-column:span 2;
}

button:hover{
opacity:0.9;
}

.result-card{
background:#f7f8fc;
padding:15px;
border-radius:10px;
}

.row{
display:flex;
justify-content:space-between;
padding:8px 0;
font-size:16px;
border-bottom:1px solid #eee;
}

.row:last-child{
border-bottom:none;
}

.total{
font-weight:bold;
font-size:18px;
color:#007bff;
}

@media (max-width:480px){

.app{
border-radius:0;
height:100vh;
max-width:100%;
}

}