﻿.default_item {
    display: flex;
    /* margin-bottom: 20px; */
}

    .default_item .default_item-details {
        border-top: 1px solid rgba(0, 0, 0, 0.30);
        /* padding-top: 10px; */
        padding-left: 5px;
    }

h1.search_h1 {
    font-family: MetaProRegular;
    font-weight: 700;
    font-size: 20px !important;
}

    h1.search_h1 a {
        color: #1558d6;
    }

.search_h1 a:hover {
    text-decoration: underline !important;
}

.search_bodytext {
    font-family: Roboto;
    font-size: 18px;
    margin-bottom: 10px;
}

.resultInfo {
    font-weight: 700;
    font-family: Roboto;
    font-style: normal;
    font-size: clamp(0.5rem, 3vw, 1rem);
    padding-left: 8px;
}

.mb-10 {
    margin-bottom: 10px;
}

table.default_items-list {
    margin-bottom: 60px;
    width: 100%;
}

    table.default_items-list tbody td {
        width: 100%;
    }

table tbody tr:nth-child(even) {
    background-color: #FFF;
}

.default_item-details-category {
    color: #007bff;
    font-family: Roboto;
    font-size: 15px;
}

    .default_item-details-category a {
        color: #007bff;
    }

.truncate-text {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: break-spaces;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.noResultMsg {
    color: #F44336;
    font-size: 24px;
    font-family: 'metaProBold';
}

.search-noresult-title {
    font-family: 'metaProBold';
    font-size: 35px;
}

.font-size-lg {
    font-size: 45px;
}

.noResultSearchbox {
    display: flex;
}

    .noResultSearchbox .searchTips {
        padding-left: 10px;
        cursor: pointer;
    }

.search_noluck {
    height: 200px;
}

.default_item .default_item-img {
    text-align: left;
}

img.item-list-image {
    width: 20% !important;
}

.price-edit {
    display: flex;
    align-items: center;
    justify-content: end;
}

.pl-0 {
    padding-left: 0 !important;
}

@media (max-width: 479px) {
    .default_item {
        flex-direction: column-reverse;
    }

    .search-input {
        margin-left: 25px;
        width: 100% !important;
    }

    #search-defaulticon, .search-logoicon {
        left: 10px;
    }

    .searchboxContainer {
        display: inline-block;
        width: 80%;
    }

    .noResultSearchbox .searchTips {
        display: inline-block;
        width: 20%;
    }

    #dialogSearchTips .mdc-dialog__surface {
        width: 90%;
    }

    h1.search_h1 {
        margin-bottom: 3px;
    }

    img.item-list-image {
        width: 40% !important;
    }
}

.close-icon {
    border: 1px solid transparent;
    background-color: transparent;
    display: inline-block;
    vertical-align: middle;
    outline: 0;
    cursor: pointer;
}

    .close-icon:after {
        content: "X";
        display: block;
        width: 15px;
        height: 15px;
        position: absolute;
        background-color: #FA9595;
        z-index: 1;
        right: 35px;
        top: 0;
        bottom: 0;
        margin: auto;
        padding: 2px;
        border-radius: 50%;
        text-align: center;
        color: white;
        font-weight: normal;
        font-size: 12px;
        box-shadow: 0 0 2px #E50F0F;
        cursor: pointer;
    }

.search-box:not(:valid) ~ .close-icon {
    display: none;
}

/* Make the row pointer and hover work */
.clickable-row {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    /* Hover effect */
    .clickable-row:hover td {
        background-color: rgba(0, 0, 0, 0.06); /* light gray/darken effect */
    }

    .clickable-row td > div {
        background-color: transparent;
    }

    .clickable-row td .search_h1 {
        color: #007bff; /* blue like link */
    }

@media (max-width: 300px) {
    .search-input {
        width: 200px !important;
    }
}