/* Card Components */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Special Word Badge */
.home-page-special-word-badge {
    background: #005081;
    color: white;
    padding: 3px 6px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
    align-self: flex-start;
    border-bottom-left-radius: 0;
}

.company-details {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.5rem;
}

.company-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-left: 6px;
    object-fit: cover;
}

.company-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Auction Bid Section Updates */
.auction-bid-section {
    display: flex;
    flex-direction: column;
    margin: 0.2rem 0;
    padding: 0.6rem 0;
    border-radius: 12px;
    gap: 0.5rem;
}

/* Location Section - Top */
.bid-section-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
    width: 100%;
}

#my-all-auctions-history-content .bid-section-top,
#favorites-content .bid-section-top {
    padding-bottom: 0;
    border-bottom: none;
}

.bid-section-top .location-wrapper {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-direction: row-reverse;
}

.bid-section-top .property-card-location-icon {
    color: #05762f !important;
    width: 18px;
    height: 18px;
    margin: 0;
    flex-shrink: 0;
}

.bid-section-top .property-card-heart-icon {
    width: 20px;
    height: 20px;
    margin: 0;
    flex-shrink: 0;
}

.bid-section-top .location-wrapper span {
    font-size: 0.9rem;
    color: #333;
    font-weight: 600;
    text-align: right;
    line-height: 1.5;
    word-break: break-word;
    flex: 1;
}

/* Countdown Section - Bottom */
.bid-section-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    gap: 0.75rem;
}

.bid-section-bottom .remaining-time-label {
    font-size: 0.75rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    margin: 0;
}

.bid-section-bottom .remaining-time-counter {
    width: 100%;
    min-width: 0;
}

/* Responsive adjustments for auction bid section */
@media (max-width: 768px) {
    .bid-section-top .location-wrapper span {
        font-size: 0.85rem;
    }

    .bid-section-top .property-card-location-icon {
        width: 16px;
        height: 16px;
    }

    .bid-section-top .property-card-heart-icon {
        width: 18px;
        height: 18px;
    }

    .bid-section-bottom .remaining-time-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .bid-section-top .location-wrapper span {
        font-size: 0.8rem;
    }

    .bid-section-top .property-card-location-icon {
        width: 16px;
        height: 16px;
    }

    .bid-section-top .property-card-heart-icon {
        width: 18px;
        height: 18px;
    }

    .bid-section-bottom .remaining-time-label {
        font-size: 0.65rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .company-name {
        font-size: 0.75rem;
    }

    .home-page-special-word-badge {
        font-size: 0.7rem;
        padding: 2px 8px;
    }
}