* {
    margin: 0;
    padding: 0;
}
body {
    background: #222;
    color: white;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.mainContainer {
    width: 80%;
    margin: auto;
    padding: 15px;
}
.head {
    text-align: center;
    margin: 15px 0;
    letter-spacing: 1px;
    color: #f1f1f1;
}

/* inputs */
input {
    width: 100%;
    height: 30px;
    outline: none;
    border: none;
    background: #111;
    margin: 4px 0;
    border-radius: 4px;
    padding: 4px;
    color: rgb(236, 235, 233);
    transition: 0.3s ease-in-out;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.6);
}
input:focus {
    background: #000;
    transform: scale(1.05);
    box-shadow: 0 0 5px #0f0;
}
.details input {
    width: 20%;
}

/* total price */
#totalprice {
    background: red;
    padding: 5px 2px;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
    min-width: 50px;
    text-align: center;
    transition: 0.3s;
}

/* buttons */
button {
    width: 100%;
    height: 32px;
    border: none;
    cursor: pointer;
    background: brown;
    color: white;
    transition: all 0.3s ease;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}
button:hover {
    background: darkred;
    letter-spacing: 1px;
    transform: scale(1.1);
}

/* search buttons */
.btnSearch {
    display: flex;
    justify-content: space-between;
}
.btnSearch button {
    width: 45%;
}

/* table */
table {
    width: 100%;
    text-align: center;
    margin: 10px 0;
    border-collapse: collapse;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    overflow: hidden;
    border-radius: 6px;
}
th, td {
    padding: 8px;
    border-bottom: 1px solid #333;
}
th {
    background: #333;
    color: #eee;
    font-size: 14px;
}

/* category select */
#category {
    background: #111;
    color: rgb(152, 148, 148);
    width: 100%;
    border: none;
    padding: 5px 2px;
    border-radius: 4px;
    transition: 0.3s;
}
#category:focus {
    background: #000;
    color: #fff;
}

/* delete all container */
#deleteall {
    margin: 15px 0;
    text-align: right;
}

.btn-edit{
    background: #0d6efd;
}
.btn-edit:hover{
    background: #073170;
    transform: scale(1.1);
}