/*Animations*/
@keyframes slideInFromLeft {
    from {
        scale: 0;
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        scale: 1;
        opacity: 100%;
        transform: translateX(0);
    }
}

.moveIn {
    animation: slideInFromLeft 1s ease-in-out;
    display: flex;
    flex-direction: column;
}

@keyframes apearFromBottom{
    from{
        opacity: 0;
        transform: scale(0);
        clip-path: inset(100%, 100%, 0, 0);
    }
    to{
        opacity: 1;
        transform: scale(100%);
        clip-path: inset(0,0,0,0);
    }
}

.block{
    animation-name: apearFromBottom;
    animation-timeline: view();
    animation-range: entry 0% cover 35%;
}

@keyframes modalApear{
    from{
        opacity: 0;
        transform: scale(0);
    }
    to{
        opacity: 1;
        transform: scale(1);
    }
}

.custom-modal{
    animation-name: modalApear;
    animation-timing-function: ease-in-out;
    animation-duration: 400ms;
    animation-iteration-count: 1;
}


/*CSS*/
.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: auto;
    max-width: 170px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    box-shadow: 10px 0 5px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    text-align: center;
}

.side-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 100%;
    margin-top: 31px;
}

.side-menu ul li{
    padding: 0;
    margin-top: 10px;
    margin-bottom: 10px;
}

.side-menu ul li a{
    color: white;
    text-decoration: none;
    padding-top: 5px;
    padding-bottom: 5px;
}

.side-menu ul li:hover{
    background-color: white;
}

.side-menu ul li:hover a {
    color: black;
}

/* Active category */
.side-menu ul li.actives a {
    background-color: white;
    color: black;
}

.headText{
    font-weight: bold;
    font-size: 20px;
}

/*Main Content*/
.main-content {
    transition: margin-left 0.3s ease;
}

.custom-cat{
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.custom-items{
    background-color: whitesmoke;
}


/*------------------------------------------------------------------------*/

.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    margin-top: 0;
    box-shadow: 10px 0 5px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    z-index: 1000;
}

.table-wrapper-scroll-y {
    overflow-x: auto;
}

.td_cat {
    vertical-align: middle; /* Center-aligns content vertically within the cell */
    height: 100px; /* Set a fixed height for demonstration; adjust as needed */
}

.custom-button {
    display: flex;
    justify-content: center; /* Center-aligns content horizontally */
    align-items: center; /* Center-aligns content vertically */
    width: 100px;
    height: 100%;
    text-align: center;
    border-radius: 50%;
    background: linear-gradient(rgb(90, 98, 104), rgb(167, 181, 192));
    color: white;
    font-weight: bold;
}

/* Optional: Adjust button padding for better visual appearance */
.btn-secondary {
    padding: 10px;
}

/*------------------------------------------------------------------------*/

/*Rating*/
.stars {
    font-size: 1.5rem;
    color: gold;
}

.star {
    display: inline-block;
    font-size: 1.5rem;
    position: relative;
}

.star.half:before {
    content: "\f005";
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 50%;
    color: gold;
    font-family: "Font Awesome 5 Free";
}

.star.filled {
    color: gold;
}

.star:not(.filled):not(.half) {
    color: lightgray;
}

/* user rating */
.stars {
    display: flex;
    font-size: 2rem;
    color: lightgray;
}

.star {
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

.star.full {
    color: gold;
}

.star.hover {
    color: darkgoldenrod;
}

.star.selected {
    color: gold;
}