*{
    margin: 0;
    padding: 0;
}
body{
    background-color: #222;
    color: aliceblue;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.crud{
    width: 80%;
    margin: auto;
}
.head{
    text-align: center;
    text-transform: uppercase;
    margin: 10px 0;
}
h2{
    color: skyblue;
}
.span{
    color: wheat;
}
.span2{
    color: orange;
}
input{
    width: 100%;
    height: 30px;
    outline: none;
    border: none;
    padding: 5px;
    margin: 5px 0;
    border-radius: 5px;
    color: black;
}
input:focus{ 
    background-color: rgb(253, 238, 221);
    transform: scale(1.1);
}
.price input{
    width: 20%;
}
#total{
    background-color: rgb(36, 108, 253);
    border-radius: 5px;
    padding: 6px 3px;
}
#total::before{
    content: "Total :";
}
#deleteall{
    margin: 20px 0;
}
button{
    width: 100%;
    height: 30px;
    background-color: blue;
    color: aliceblue;
    border-radius: 15px;
    outline: none;
    border: none;
    cursor: pointer;
    transition: 0.5s;
}
button:hover{
    background-color: rgb(1, 83, 214);
    letter-spacing: 2px;
}
.btnsearch{
    display: flex;
    justify-content: space-between;
}
.btnsearch button{
    width: 45%;
}
table{
    width: 100%;
    text-align: center;
    margin: 10px 0;
}
table th{
    text-transform: uppercase;
}
td,th{
    padding: 5px;
}
#btnscroll{
    width: 40px;
    height: 40px;
    border: none;
    background-color: gray;
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right:  20px;
    display: none;
}
#toggle-theme{
    width: 40px;
    height: 40px;
    border: none;
    cursor: pointer;
    position: fixed;
    top: 20px;
    right:  20px;
    margin-top:10px; 
    font-size:24px;
    background:none; 

}
#toggle-theme {
    transition: transform 0.5s ease;
}

#toggle-theme.rotate {
    transform: rotate(360deg) scale(1.3);
}
.light-mode {
    background-color: #ffffff;
    color: #222;
}
.light-mode input {
    color: white;
    background-color:black;
}
.light-mode button {
    background-color: #007bff;
    color: white;
}
.light-mode button:hover {
    background-color: #0056b3;
}
.light-mode #btnscroll {
    background-color: #888;
}
