
.button-section {
    display: inline-grid;;
    align-items: center;
    margin-left: auto;
}



/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}


#filters-section {
    flex-direction: column; /* Stack filters vertically */
    align-items: flex-start; /* Align items to the left */
    gap: 10px; /* Add spacing between filter groups */
}



.btn-group-filter {
    display: block;
    gap: 5px;
}

/* Button Styles */
.filter-btn {
    font-size: 14px;
    padding: 6px 12px;
    border: 1px solid #42445A;
    border-radius: 5px;
    background-color: #ffffff;
    color: #42445A;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 3px;
}

.filter-btn:hover {
    background-color: #42445A;
    color: #ffffff;
}

.filter-btn.active {
    background-color: #42445A;
    color: #ffffff;
    font-weight: bold;
}


/* Button Styles */
.filter-input {
    font-size: 14px;
    padding: 6px 12px;
    border: 1px solid #42445A;
    border-radius: 5px;
    background-color: #ffffff;
    color: #42445A;
    transition: all 0.2s ease;
}

.filter-input.active {
    background-color: #42445A;
    color: #ffffff;
    font-weight: bold;
}


.asset-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: all 0.3s ease;
}
.asset-link {
    color: inherit;
    text-decoration: none;
}






/* ------------------------------------------------------------------ */


/* General Styles */
.asset-info-container {
    font-family: Arial, sans-serif;
    width: 100%;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    margin: 20px auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding-bottom: 100px;
}


.asset-info-details {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
/* Scores Section */
.div-section {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.div-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #222;
    text-align: center;
}

/* Scores Grid */
.scores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 5px;
}

.score-item {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-size: 14px;
    color: #333;
    text-align: center; 
    vertical-align: middle;
}

.score-value {
    font-size: 18px; /* Emphasize the rating */
    font-weight: bold;
    color: #222;
    margin: 0;
    padding: 2px;
}
.score-item strong {
    display: block;
    font-size: 14px;
    color: #444;
    margin-bottom: 5px;
}



.info-icon {
    display: inline-block;
    margin-left: 5px;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    position: relative;
}

.info-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%; /* above the icon */
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 8px 10px;
    border-radius: 4px;
    white-space: pre-wrap;
    font-size: 12px;
    width: max-content;
    max-width: 250px;
    text-align: left;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.info-icon:hover::after,
.info-icon:focus::after {
    opacity: 1;
}

.info-icon.tooltip-visible::after {
    opacity: 1 !important;
}

/* Additional Info Section */
.additional-info-section h3 {
    font-size: 18px;
    color: #444;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.additional-info-section p {
    margin: 5px 0;
}



.filter-item {
    display: flex;
    align-items: center;
    padding: 5px;
    gap: 5px; /* Space between label and input/select */
}


.filter-item select,
.filter-item input {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 12px;
}






/* General Highlight Section */
.highlight-section {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    width: 100%;
}

/* Asset Image */
.asset-image {
    width: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    max-width: 180px;
}

/* Asset Details */
.asset-details {
    flex: 1;
}

.asset-name {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 10px;
    color: #222;
}

/* Meta Information */
.asset-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;

}

.meta-item-link,.meta-item-sub {
    font-weight: normal;
    color: #333;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none; 

}


.meta-item {
    font-weight: normal;
    color: #333;
    font-weight: bold;
    
}

.meta-separator {
    color: #ccc;
    font-size: 16px;
}
/* Collectible Rating Container */
.collectible-rating {
    font-size: 16px;
    color: #333;
    margin: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 5px; /* Spacing between the label and the rating line */
}



.asset-btn-section-btn-class {
    padding: 6px 10px;
    font-size: 0.7rem;
    font-weight: bold;
    color: #fff;
    background-color: #42445A;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap; 
    flex-shrink: 0; 
    margin-top: 3px;
}

.asset-btn-section-btn-class:hover {
    background-color: #005bb5;
}
/* Rating Line Styling */
.rating-line {
    display: flex;
    align-items: center; /* Aligns the rating and /10 vertically */
    gap: 5px; /* Spacing between the rating value and /10 */

}

.rating-value {
    font-size: 28px; /* Emphasize the rating */
    font-weight: bold;
    color: #222;
    margin: 0;
}

.rating-line span {
    font-size: 20px; /* Slightly smaller font for /10 */
    color: #555;
}


.ebay-listing-card, .ebay-listing-card-highlight {
    display: flex;
    flex-direction: row;  /* Align image on the left, text on the right */
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;  /* Full width of the parent container */
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ebay-listing-card-highlight {
    background-color: #eae5d2;
}


.ebay-listing-card:hover, .ebay-listing-card-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.ebay-listing-image {
    width: 150px;  /* Fixed width for the image */
    height: 150px;  /* Fixed height */
    display: flex;
    justify-content: center;
    align-items: center;
}

.ebay-listing-thumbnail {
    margin-top: 5px;
    width: 150px;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    max-width: 100%;  /* Make sure the image is responsive */
}

.ebay-listing-info {
    padding: 10px;
    text-align: left;
    flex-grow: 1;  /* Let text content grow and fill remaining space */
}

.ebay-listing-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;  /* Allow title to wrap */
}

.ebay-listing-price {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 6px;
}

.ebay-buying-option {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 6px;
}

.ebay-listing-location {
    font-size: 12px;
    color: #777;
    margin-bottom: 6px;
}

.ebay-seller-info {
    font-family: "Market Sans", Arial, sans-serif;
    font-size: 12px;
    color: #555;
    margin-top: 4px;
}

















/* Responsive Design */
@media (max-width: 768px) {
    .highlight-section {
        align-items: flex-start;
    }

    .asset-image {
        width: 20%;
        height: auto;
        max-width: 180px;

    }
    .scores-grid {
        grid-template-columns: 1fr;
    }

   

    .ebay-listing-image {
        width: 150px ;
        height: auto;
    }

    .ebay-listing-info {
        padding: 10px;
        width: 70%;
    }


    .highlight-section {
        align-items: flex-start;
    }

    .asset-image {
        width: 150px;
        height: auto;
        max-width: 180px;

    }
    .scores-grid {
        grid-template-columns: 1fr;
    }


}




/* Responsive Design */
@media (max-width: 550px) {
    .highlight-section {
         width: 100%;  
         display: block;  
    }
    .meta-item-link {
        font-size: 1.2rem;
    }
    .asset-image {
        width: 100px;
        height: auto;
    }

    .meta-item-sub {
        font-size: 0.8rem;
    }



    .ebay-listing-image 
    {width: 100%;
        height: 80%;
    }
    .ebay-listing-card-highlight {
        display: block;
    }
    .ebay-listing-card {
        display: block;
    }

        .button-section{
        display: contents;
    }
}







