:root {
    --ah-primary: #194185;
    --ah-primary-light: #1570EF;
    --ah-text: #1D2939;
    --ah-text-secondary: #475467;
    --ah-border: #EAECF0;
    --ah-border-strong: #D0D5DD;
    --ah-radius: 14px;
    --ah-transition: 0.25s ease;
}

#listProducts {
    display: none;

    >div {
        margin-bottom: 1.75rem;
    }

    .no_data {
        display: flex;
        align-items: center;
        justify-self: center;
        flex-direction: column;
        min-height: 318px;
        justify-content: center;

        img {
            width: 128px;
            height: 128px;
        }

        h5 {
            text-align: center;
            color: var(--ah-text);
            font-weight: 400;
            font-size: 16px;
        }

        p {
            text-align: center;
            color: var(--ah-text-secondary);
            font-weight: 300;
            font-size: 16px;
            margin-top: 0px;
        }

        a {
            background-color: var(--ah-primary);
            color: white;
            margin-top: 1rem;
            padding: 0;
            border-radius: 999px;
            transition: transform 0.2s ease, box-shadow var(--ah-transition);
        }

        a:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px -8px rgba(25, 65, 133, 0.5);
        }
    }

    .box-imge {
        position: relative;
        flex: 1;
        border-radius: var(--ah-radius);
        overflow: hidden;
        border: 1px solid var(--ah-border);
        transition: box-shadow var(--ah-transition), border-color var(--ah-transition);

        img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            transition: transform 0.4s ease;
        }
    }

    >div:hover .box-imge {
        box-shadow: 0 16px 28px -14px rgba(16, 24, 40, 0.2);
        border-color: transparent;
    }

    >div:hover .box-imge img {
        transform: scale(1.06);
    }

    .box-imge>.d-flex {
        position: absolute;
        top: 10px;
        left: 10px;
        right: 10px;
        gap: 6px !important;
        flex-wrap: wrap;
    }

    .box-imge>.d-flex>.status-product,
    .box-imge>.d-flex>.status-time-product {
        font-size: 11px;
        font-weight: 500;
        letter-spacing: 0.02em;
        background-color: #1570EF;
        color: white;
        margin-left: 0px;
        border-radius: 20px;
        padding: 4px 10px;
        box-shadow: 0 1px 2px rgba(16, 24, 40, 0.18);
    }

    .box-imge>.d-flex>.status-time-product {
        background-color: #DC6803;
    }

    .title_product {
        color: var(--ah-text);
        font-size: 16px;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: 400;
        white-space: nowrap;
        padding-top: 12px;
    }

    .pirce_product {
        color: var(--ah-text-secondary);
        font-size: 16px;
        font-weight: 300;
        padding: 6px 0 10px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .btnNomal {
        width: 100%;
        color: var(--ah-primary);
        font-weight: 400;
        background-color: unset;
        border: 1px solid var(--ah-border-strong);
        border-radius: 8px;
        box-shadow: unset;
        font-size: 14px;
        transition: background-color var(--ah-transition), border-color var(--ah-transition), transform 0.15s ease;
    }

    .btnNomal:hover {
        background-color: var(--ah-primary) !important;
        border-color: var(--ah-primary) !important;
        color: #fff !important;
    }

    .btnNomal:active {
        transform: scale(0.98);
    }

    .help_tool {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        min-height: 27.8px;
        margin-top: 4px;
    }
}

#filter_footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.5rem;

    .select_page {
        display: flex;
        align-items: center;

        .select-wrapper input.select-dropdown {
            max-width: 60px;
            padding-left: 10px;
            border-bottom: 1px solid var(--ah-border-strong);
            font-size: 16px;
            font-weight: 300;
        }
    }

    .pagination li {
        vertical-align: middle;
        border: 1px solid transparent;
        border-radius: 8px;
        transition: border-color var(--ah-transition), background-color var(--ah-transition);
    }

    .pagination li a {
        font-size: 14px;
        font-weight: 300;
        vertical-align: middle;
    }

    .pagination li i {
        font-size: 14px;
        font-weight: 300;
        vertical-align: initial;
    }

    .pagination li:not(.disabled):not(.active):hover {
        border-color: var(--ah-border-strong);
    }

    .pagination li.active {
        background-color: unset;
        border: 1px solid var(--ah-border-strong);
    }

    .pagination li.active a {
        color: var(--ah-primary) !important;
    }
}

@media only screen and (max-width: 600px) {
    #listProducts {
        .header {
            padding: 1rem 1rem 1rem 0.75rem !important;
        }

        #favorites {
            padding: 0px;
        }

        .card .card-content {
            padding: 24px 0;
        }
    }
}

.status-blue,
.status-proxy,
.status-not-approved,
.status-approved {
    cursor: pointer;
    padding: 4px 10px;
    font-weight: 400;
    font-size: 12px;
    border-radius: 20px;
    border: 1px solid transparent;
    transition: transform 0.15s ease;
}

.status-blue:hover,
.status-proxy:hover,
.status-not-approved:hover,
.status-approved:hover {
    transform: translateY(-1px);
}

.status-blue {
    color: #1570EF;
    border-color: #1570EF;
    background: #1570EF14;
}

.status-proxy {
    color: #026AA2;
    border-color: #026AA2;
    background: #026AA214;
}

.status-not-approved {
    color: #DC6803;
    border-color: #DC6803;
    background: #DC680314;
}

.status-approved {
    color: #039855;
    border-color: #039855;
    background: #03985514;
}
