﻿/* Header with star aligned to the right */
.listing-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .listing-head .listing-title {
        /* let the title truncate while the star stays on the right */
        flex: 1;
        min-width: 0;
        margin: 0 0 4px 0;
    }

/* Simple watch button (inline, outside the image) */
.watch-btn {
    border: none;
    background: transparent;
    padding: 6px;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

    .watch-btn i {
        font-size: 18px;
        color: #9CA3AF; /* gray when inactive */
    }

    .watch-btn.is-active i {
        color: #F5B301; /* gold when active */
    }

    .watch-btn:focus-visible {
        outline: 2px solid rgba(0,0,0,.2);
        outline-offset: 2px;
        border-radius: 999px;
    }

/* Visually hidden for accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Footer divider line */
.listing-row--actions {
    gap: 12px;
    border-top: 1px solid rgba(0,0,0,0.06);
    margin-top: 8px;
    padding-top: 12px;
}

/* Time text in black and bold like the price */
.time-left {
    margin: 0;
    color: #222;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

    .time-left span {
        font-weight: 700;
    }

.icon-clock {
    width: 16px;
    height: 16px;
    display: inline-block;
}

/* If the title and star need to be more compact on small screens */
@media (max-width: 420px) {
    .watch-btn i {
        font-size: 16px;
    }
}
