* {
    padding: 0px;
    margin: 0px;
    font-family: Arial, Helvetica, sans-serif;
    user-select: none;
}

.container {
    display: flex;
    flex-direction: column;
}

nav {
    display: flex;
    align-items: center;
    padding-left: 30px;
    background: #e4dbdb;
    position: sticky;
    top: 0;
    z-index: 2;
}

nav img {
    width: 35px;
    padding: 10px;
}

.main {
    display: grid;
    grid-template-columns: 0.7fr 4fr;
}

.main img {
    width: 30px;
}

.main .aside-left {
    height: 100vh;
    padding: 10px;
    background: #fff;
}


.main .aside-left ul {
    display: flex;
    flex-direction: column;
    color: #fff;
    gap: 10px;
}

.main .aside-left ul li {
    display: flex;
    align-items: center;
    list-style: none;
    background: orange;
    height: 40px;
    padding: 10px;
    border-radius: 5px;
}

.main .aside-left ul li:hover {
    background: #fff;
    box-shadow: 1px 1px 1px 1px orange;
    transition-duration: 0.5s;
}

.main .aside-left ul li:hover a{
    color: orange;
}

.main .aside-left ul li a {
    width: 100%;
    color: #fff;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.aside-right {
    padding: 10px 20px;
}

.aside-right {
    padding: 10px 20px;
}

.aside-right .tool {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tool button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 130px;
    height: 35px;
    outline: none;
    border-radius: 5px;
    border: none;
    background: orange;
    color: white;
}

.tool .fitter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
}

#search {
    border-radius: 5px;
    border: 1px solid orange;
    outline: none;
    padding: 3px;
    font-size: 16px;
    width: 300px;
    font-size: 16px;
    height: 27px;
}

#search:hover,
button:hover {
    box-shadow: 0px 0px 3px 2px orange;
    background: #fff;
    color: orange;
}

input:hover {
    box-shadow: 0px 0px 3px 2px orange;
    background: #fff;
}

table {
    margin-top: 40px;
    border-collapse: collapse;
}

th,
td {
    border: 1px solid black;
    width: 21rem;
    height: 40px;
    padding-left: 20px;
}

table th {
    background: orange;
    color: #fff;
}

th,
td {
    border: 1px solid orange;
    height: 40px;
    text-align: center;
}

tbody tr:hover {
    box-shadow: 0px 0px 4px 2px orange;
}

tr:nth-child(even) {
    background: rgb(236, 228, 214);
}

td:hover {
    color: orange;
    font-size: 18px;
}

.action {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

td button {
    display: flex;
    align-items: center;
    width: 40%;
    height: 30px;
    border: none;
    font-size: 16px;
    border-radius: 5px;
    color: #000;
    box-shadow: 1px 1px 1px 1px orange;
}

button .icons-color {
    height: 30px;
    width: 40px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    background: orange;
    color: white;
    margin-right: 30px;
}

#addCategory,
#catDetail {
    position: fixed;
    top: 0px;
    left: 0;
    height: 100vh;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 10;
}

form {
    position: fixed;
    top: 40px;
    background: #fff;
    box-shadow: 0px 0px 5px 1px orange;
    border-radius: 10px;
    gap: 20px;
    display: flex;
    flex-direction: column;
    height: 400px;
    width: 40%;
    padding: 10px;
    left: 30%;
}

form #logo {
    height: 100px;
    width: 100px;
    margin-left: 44%;
    margin-top: 3%;
}

form label {
    width: 25%;
    margin-left: 50px;
}

form div {
    display: flex;
    align-items: center;
}

form h3 {
    text-align: center;
    color: orange;
}

form input {
    width: 60%;
    height: 30px;
    padding: 5px;
    font-size: 17px;
    outline: none;
    border: none;
    border-radius: 4px;
    border: 1px solid orange;
}

form button {
    height: 40px;
    font-size: 17px;
    padding: 10px;
    background: orange;
    border: none;
    border-radius: 4px;
}

#back {
    width: 20%;
    margin-left: 6%;
}

#save-category {
    margin-left: 45px;
    width: 61%;
}



.showDetail {
    background: #fff;
    height: 300px;
    border-radius: 10px;
    box-shadow: 0px 1px 3px 2px orange;
    position: fixed;
    width: 25%;
    top: 100px;
    left: 37%;
    background: #ffffff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 20px;
}

.showDetail img {
    width: 90px;
    height: 90px;
    margin-left: 37%;
}

.showDetail button {
    float: left;
    font-size: 16px;
    color: #fff;
    width: 100px;
    height: 35px;
    background: orange;
    border: none;
    border-radius: 5px;
    padding: 5px;
    margin-left: 75%;
}