@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500&display=swap');

:root {
    --color-primary: #4B0082;  /* Dark Purple */
    --color-secondary: #7B68EE;  /* Medium Slate Blue */
    --color-accent: #FF8C00;  /* Dark Orange */
    --color-bg: #E3E8F6;  /* Ghost White */
    --color-text: #333;  /* Dark Slate Gray */
}

/*  Our Global styles */
html,
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    height: 100%;
    background-color: var(--color-bg);
    overflow-y: hidden;
    overflow-x:hidden ;
}

body{
    height: 100%;
    margin: 0px ;
    padding: 0px;
    display: flex;
    flex-direction: row;

}

html{
    height: 100%;
}

.content{
    margin-left: 40px;
    margin-right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

::-webkit-scrollbar {
    width: 3px;
    right: 20px;
}

::-webkit-scrollbar-track{
    width: 2px;
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #afaeae;
    border-radius: 20px;
}


.asideMenuList {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    height: 100%;
    overflow-y: auto;
    align-self: center;
    width: 100%;
    margin-bottom: 10px;
    overflow-x: hidden;
    list-style-type: none;
    padding: 10px;
}


.asideMenuButtons {
    margin-top: auto;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
}

.asideMenuButtons a {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
    border-radius: 5px;
    color: white;
    background-color: transparent;
    text-decoration: none;
    align-self: center;
}

.crudActions {
    position: relative;
    align-content: normal;
    align-self: flex-start;
    font-size: 15px;
    padding: 4px;
    width: 80px;
    cursor: pointer;
    font-family: Inter;
    font-weight: 300;
    color: #ffffff;
}

.crudActions::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    border-radius: 4px;
    background-color: white;
    bottom: 0;
    left: 0;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .3s ease-in-out;
}

.crudActions:hover::before {
    transform-origin: left;
    transform: scaleX(1);
}

.asideMenuList a {
    text-decoration: none;
}

.aside {
    background-color: #52688F;
    height: 100%;
    width: 80%;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.homeButton{
    padding: 20px;
    margin-bottom: auto;
    width: 100%;
    color: #333;
    background-color: #E3E8F6;
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: transform 0.2s ease-in-out;

}

.homeButton:hover{
    transform: scale(0.97);
}

.imageAndLink{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.beLast{
    align-self: flex-end;
    margin-bottom: 22px;
}

.asideMenuHeader{
    width: 100%;
    align-self: center;
    text-align: center;
}

.iconHome {
    width: 5px;
}

.asideMenuListItem{
    width: 90%;
    height: 10%;
    background: #E3E7F1;
    border-radius: 12px;
    display: flex;
    gap: 10px;
    flex-direction: row;
    align-items: center;
    transition: box-shadow 0.1s ease-in-out,
    transform 0.2s ease-in-out;
}

.asideMenuListItem:hover {
    cursor: pointer;
    box-shadow: inset -5px -5px 9px rgba(255, 255, 255, 0.45), inset 5px 5px 9px rgba(94, 104, 121, 0.3);
    transform: scale(0.95);
}

.active {
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    transform: scale(1.05);
    font-weight: 500;
    background: white;
}

.asideMenuLink{
    text-align: center;
    font-family: Inter;
    font-weight: 400;
    text-decoration: none;
    color: black;
}

.categoryIcon{
    width: 30px;
    height: 30px;
    padding: 10px;
    background: #B3C1DB;
    border-radius: 12px;
}

.homeIcon{
    width: 40px;
    height: 40px;
    padding: 12px;
}

.homeText{
    font-size: 20px;
    font-weight: 800;
}
