/* Coffees received card — shared by the profile and dedicated coffee pages. */

.coffees-received {
    max-width: 600px;
    margin: 0 auto 35px;
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: hidden;
}

.coffees-received .coffees-received-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.coffees-received .coffees-received-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 218, 185, 0.15);
    color: var(--off-yellow);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.coffees-received .coffees-received-titles {
    flex: 1;
    min-width: 0;
}

.coffees-received .coffees-received-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--off-white);
}

.coffees-received .coffees-received-subtitle {
    margin: 4px 0 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.coffees-received .coffees-received-count {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--off-yellow);
    line-height: 1;
    padding-left: 8px;
}

.coffees-received .coffees-received-empty {
    padding: 32px 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    line-height: 1.5;
}

.coffees-received .coffees-received-list {
    list-style: none;
    margin: 0;
    padding: 6px 0;
}

.coffees-received .coffees-received-row {
    margin: 0;
}

.coffees-received .coffees-received-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.15s ease;
}

.coffees-received .coffees-received-link:hover {
    background: rgba(255, 255, 255, 0.04);
}

.coffees-received .coffees-received-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.2);
}

.coffees-received .coffees-received-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coffees-received .coffees-received-info {
    flex: 1;
    min-width: 0;
}

.coffees-received .coffees-received-username {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--off-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.coffees-received .coffees-received-time {
    margin-top: 2px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.coffees-received .coffees-received-badge {
    font-size: 18px;
    color: var(--off-yellow);
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .coffees-received {
        max-width: 700px;
    }
}
